Bug#814967: wayland-protocols: FTBFS during dh_autoreconf

2016-02-17 Thread Michael Tautschnig
Package: wayland-protocols
Version: 1.0-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
 debian/rules build
dh build  --with autoreconf
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
Makefile.am:18: error: 'noarch_pkgconfig_DATA' is used but 
'noarch_pkgconfigdir' is undefined
autoreconf: automake failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael


wayland-protocols-build-log.txt.gz
Description: application/gunzip


signature.asc
Description: PGP signature


Bug#814982: [xwayland] Reproducible segmentation fault when pluggin new screen

2016-02-17 Thread Anthony Callegaro
Package: xwayland
Version: 2:1.18.1-1
Severity: important

--- Please enter the report below this line. ---

Hello dear maintainer,

I have been using sid as my main OS since 2001 and over the last couple
of years there has been so few breakage that I didn't even notice that
gnome-session switched to XWayland :) Great work !

I have been experiencing some segmentation faults lately that I thought
were due to Xorg which seems actually  linked to the recent upgrade to
XWayland 1.18.1-1.

When plugging a HDMI screen I get the following segmentation fault :

(EE) Backtrace:
(EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x4e) [0x55cbedb20b0e]
(EE) 1: /usr/bin/Xwayland (0x55cbed986000+0x19ee99) [0x55cbedb24e99]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3c5e83000+0x33590)
[0x7fa3c5eb6590]
(EE) 3: /usr/bin/Xwayland (MakeAtom+0x30) [0x55cbedad92f0]
(EE) 4: /usr/bin/Xwayland (0x55cbed986000+0xe7cd8) [0x55cbeda6dcd8]
(EE) 5: /usr/bin/Xwayland (0x55cbed986000+0xe8739) [0x55cbeda6e739]
(EE) 6: /usr/bin/Xwayland (0x55cbed986000+0xe8d5b) [0x55cbeda6ed5b]
(EE) 7: /usr/bin/Xwayland (0x55cbed986000+0x164dcf) [0x55cbedaeadcf]
(EE) 8: /usr/bin/Xwayland (0x55cbed986000+0x168de3) [0x55cbedaeede3]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0)
[0x7fa3c5ea3870]
(EE) 10: /usr/bin/Xwayland (_start+0x29) [0x55cbed9bf019]
(EE)
(EE) Segmentation fault at address 0x20
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting

I installed libwayland-server0-dbg but it doesn't seems to yield more
information in the backtrace.

(see attached syslog for full event log there doesn't seems to be more
info in journalctl)

This is always reproducible by either plugging/unplugging the cable or
hitting the Super+P shortcut to switch through xrandr possibilities.

I worked around the issue by downgrading xwayland (and only this
package) to 1.18.0-3.

I also experienced a crash by pluggin an Mini-displayport adapter which
resulted in an intel driver exception see syslog.1 (don't know if it's
relevant just saying if it can help)

Let me know what information you will need to troubelshoot this further.

Thanks a lot in advance
Cheers
LeTic

--- System information. ---
Architecture: amd64
Kernel: Linux 4.3.0-1-amd64

Debian Release: stretch/sid
600 unstable ftp.ch.debian.org
600 unstable download.jitsi.org
500 testing ftp.ch.debian.org
400 stable download.videolan.org
400 stable dl.google.com
100 trusty-getdeb archive.getdeb.net
1 experimental ftp.ch.debian.org

--- Package information. ---
Depends (Version) | Installed
==-+-
xserver-common (>= 2:1.16.1-1) | 2:1.18.1-1
libaudit1 (>= 1:2.2.1) | 1:2.4.5-1
libc6 (>= 2.17) |
libdrm2 (>= 2.3.1) |
libegl1-mesa (>= 7.8.1) |
OR libegl1-x11 |
libepoxy0 (>= 1.0) |
libgbm1 (>= 10.2~0) |
libgcrypt20 (>= 1.6.1) |
libgl1-mesa-glx |
OR libgl1 |
libpixman-1-0 (>= 0.30.0) |
libselinux1 (>= 2.0.82) |
libwayland-client0 (>= 1.3.92) |
libxau6 |
libxdmcp6 |
libxfont1 (>= 1:1.4.2) |
libxshmfence1 |


Package's Recommends field is empty.

Package's Suggests field is empty.
Feb 17 10:41:48 asusacallegaro gnome-session[10301]: Window manager warning: 
Failed to read EDID of output eDP34: No such file or directory
Feb 17 10:41:48 asusacallegaro gnome-session[10301]: Window manager warning: 
Failed to read EDID of output eDP34: No such file or directory
Feb 17 10:41:48 asusacallegaro gnome-session[10301]: Window manager warning: 
Failed to read EDID of output eDP34: No such file or directory
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): EDID vendor "PHL", prod id 2283
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Using hsync ranges from config file
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Using vrefresh ranges from config file
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Printing DDC gathered Modelines:
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 
1125 +hsync +vsync (67.5 kHz eP)
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 
+hsync +vsync (37.9 kHz e)
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 
-hsync -vsync (37.5 kHz e)
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 
-hsync -vsync (37.9 kHz e)
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 
-hsync -vsync (35.0 kHz e)
Feb 17 10:41:48 asusacallegaro /usr/lib/gdm3/gdm-x-session[10421]: (II) 
intel(0): Modeline "640x480"x0.

Bug#814982: Re : [xwayland] Reproducible segmentation fault when pluggin new screen

2016-02-17 Thread Anthony Callegaro
Dear maintainer,

I actually had this issue earlier on with XWayland 1.18.0-3 so it seems
the issue is coming from something else. Maybe libwayland ?

I'll try to troubelshoot further later on today.

Cheers
LeTic



Processed: Re: [Pkg-xfce-devel] Bug#813374: Processed: Re: Bug#813374: general: Menus and window popup does not work after recent upgrade

2016-02-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 813374 xserver-xorg-core 2:1.18.1-1
Bug #813374 [xfce4] general: Menus and window popup does not work after recent 
upgrade
Bug reassigned from package 'xfce4' to 'xserver-xorg-core'.
Ignoring request to alter found versions of bug #813374 to the same values 
previously set
Ignoring request to alter fixed versions of bug #813374 to the same values 
previously set
Bug #813374 [xserver-xorg-core] general: Menus and window popup does not work 
after recent upgrade
Marked as found in versions xorg-server/2:1.18.1-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
813374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813374
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: notfound 813374 in 2:1.17.3-2

2016-02-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> notfound 813374 2:1.17.3-2
Bug #813374 [xserver-xorg-core] general: Menus and window popup does not work 
after recent upgrade
Ignoring request to alter found versions of bug #813374 to the same values 
previously set
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
813374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813374
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



vulkan-loader: Changes to 'debian-unstable'

2016-02-17 Thread Timo Aaltonen
 debian/control|1 
 debian/patches/demos-add-install-rule.diff|8 ++
 debian/patches/demos-dont-build-tri-or-cube.diff  |   39 +
 debian/patches/loader-add-install-rule.diff   |   16 +
 debian/patches/series |4 +
 debian/patches/use-packaged-glslangvalidator.diff |   64 --
 debian/rules  |9 ---
 debian/vulkan-utils.install   |2 
 8 files changed, 68 insertions(+), 75 deletions(-)

New commits:
commit 8383c3148f7d39265fb3f5e3610211cdaf13af3c
Author: Timo Aaltonen 
Date:   Wed Feb 17 18:38:29 2016 +0200

demos: Add an install rule for vulkaninfo

diff --git a/debian/patches/demos-add-install-rule.diff 
b/debian/patches/demos-add-install-rule.diff
new file mode 100644
index 000..c1f56e2
--- /dev/null
+++ b/debian/patches/demos-add-install-rule.diff
@@ -0,0 +1,8 @@
+Description: Add an install rule for vulkaninfo
+--- a/demos/CMakeLists.txt
 b/demos/CMakeLists.txt
+@@ -93,3 +93,4 @@ else()
+ add_executable(vulkaninfo WIN32 vulkaninfo.c)
+ endif()
+ target_link_libraries(vulkaninfo ${LIBRARIES})
++install(TARGETS vulkaninfo RUNTIME DESTINATION /usr/bin)
diff --git a/debian/patches/series b/debian/patches/series
index a28a44f..5b2ec54 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 trim-build.diff
 demos-dont-build-tri-or-cube.diff
 loader-add-install-rule.diff
+demos-add-install-rule.diff
diff --git a/debian/rules b/debian/rules
index 2c9e622..812c12d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,6 @@ override_dh_auto_configure:
 
 override_dh_auto_install:
dh_auto_install
-   mkdir -p debian/tmp/usr/bin
-   install build/demos/vulkaninfo debian/tmp/usr/bin
 
 override_dh_install:
dh_install --fail-missing

commit 31a5ee3400f5a3ceb3f9e8742ae38d6491b51023
Author: Timo Aaltonen 
Date:   Wed Feb 17 18:21:45 2016 +0200

add an install rule for the loader

diff --git a/debian/patches/loader-add-install-rule.diff 
b/debian/patches/loader-add-install-rule.diff
new file mode 100644
index 000..707a99f
--- /dev/null
+++ b/debian/patches/loader-add-install-rule.diff
@@ -0,0 +1,16 @@
+commit 68165bda903b68520c21dd132ebc23be0177b7f4
+Author: Adam Jackson 
+Date:   Wed Feb 10 15:17:06 2016 -0500
+
+loader: Add install rule
+
+diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
+index 835c23a..d55adc7 100644
+--- a/loader/CMakeLists.txt
 b/loader/CMakeLists.txt
+@@ -47,4 +47,5 @@ if (NOT WIN32)
+ add_library(vulkan SHARED ${LOADER_SRCS})
+ set_target_properties(vulkan PROPERTIES SOVERSION "1" VERSION "1.0.3")
+ target_link_libraries(vulkan -ldl -lpthread -lm)
++install(TARGETS vulkan DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
diff --git a/debian/patches/series b/debian/patches/series
index e4740b4..a28a44f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 trim-build.diff
 demos-dont-build-tri-or-cube.diff
+loader-add-install-rule.diff
diff --git a/debian/rules b/debian/rules
index 708b083..2c9e622 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,12 +14,11 @@ override_dh_clean:
 
 override_dh_auto_configure:
dh_auto_configure -- \
-   -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+   -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_install:
-   mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+   dh_auto_install
mkdir -p debian/tmp/usr/bin
-   cp -P build/loader/libvulkan*.so.* 
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
install build/demos/vulkaninfo debian/tmp/usr/bin
 
 override_dh_install:

commit e4ae60f5a97cf84268088122dc7fd532d6f03d7d
Author: Timo Aaltonen 
Date:   Wed Feb 17 18:02:41 2016 +0200

don't build cube and tri, they don't work without lunarglass anyway

diff --git a/debian/control b/debian/control
index 4afef9a..0973f27 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,6 @@ Maintainer: Debian X Strike Force 
 Uploaders: Timo Aaltonen 
 Build-Depends: debhelper (>= 9),
  cmake,
- glslang-utils,
  libxcb1-dev,
  pkg-config,
  quilt,
diff --git a/debian/patches/demos-dont-build-tri-or-cube.diff 
b/debian/patches/demos-dont-build-tri-or-cube.diff
new file mode 100644
index 000..f26490e
--- /dev/null
+++ b/debian/patches/demos-dont-build-tri-or-cube.diff
@@ -0,0 +1,39 @@
+commit f63cbe944107b5cd8f150ceaaec43b26099d5688
+Author: Adam Jackson 
+Date:   Tue Feb 16 10:05:25 2016 -0500
+
+demos: Don't build tri or cube
+
+There are more interesting demos, all we really want here is vulkaninfo.
+This helps because we don't need to pre-build glslang/llvm/lunarglass
+just to get the loader and layers.
+
+diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt
+index ebc406b..a21760b 100644
+--- a/demos/CMakeLists.txt
 b/demos/CMakeLists.txt
+@@ -93,24 +93,3 @@ else()
+ 

Bug#813716: Bug traced

2016-02-17 Thread Stanimir Stoyanov

Hello,

Xorg tends to crash at least once per hour while I'm working, so I spent 
some time tracking down the issue again.


Crashes began after the last apt-get upgrade, and I remember that 
xserver-xorg-video-intel was in the list of the upgraded packages, so I 
decided to try to revert it, but due to the missing xorg-video-abi-18 
dependancy I was unable to do it normally, so I unpacked the archive, 
backed-up the original intel driver and replaced it by the one in the 
package manually. No more crashes since then.


The working intel driver is in the 2:2.99.917-2~bpo8+1 version from the 
jessie-backports.


Something is wrong with the current version 2:2.99.917+git20160127-1+b1

ps: I'm unable to edit the bug report, so probably it should be edited 
by administrator as the bug seems to be in the xserver-xorg-video-intel 
package, not in the reported one.


Regards,
Stanimir



xorg: Changes to 'debian-unstable'

2016-02-17 Thread Andreas Boll
 debian/changelog |4 
 debian/control   |2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 43580683e7f3c61319cebd6cf28b0397880db0d2
Author: Andreas Boll 
Date:   Wed Feb 17 19:19:58 2016 +0100

Add xserver-xorg-video-freedreno to -video-all on arm64.

diff --git a/debian/changelog b/debian/changelog
index 2c7f38f..d8e0dab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 xorg (1:7.7+14) UNRELEASED; urgency=medium
 
+  [ Timo Aaltonen ]
   * control: Drop -intel from -video-all, the default 2D-driver will be
 -modesetting.
 
+  [ Andreas Boll ]
+  * Add xserver-xorg-video-freedreno to -video-all on arm64.
+
  -- Timo Aaltonen   Wed, 27 Jan 2016 13:41:35 +0200
 
 xorg (1:7.7+13) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index f05a04e..b7146e4 100644
--- a/debian/control
+++ b/debian/control
@@ -53,7 +53,7 @@ Depends:
  xserver-xorg-video-amdgpu [!hurd-any !kfreebsd-any !s390x],
  xserver-xorg-video-ati [!hurd-any !s390x],
  xserver-xorg-video-fbdev [!s390x],
- xserver-xorg-video-freedreno [armel armhf],
+ xserver-xorg-video-freedreno [arm64 armel armhf],
  xserver-xorg-video-dummy [s390x],
  xserver-xorg-video-nouveau [amd64 arm64 armhf i386 powerpc x32],
  xserver-xorg-video-vesa [!s390x],



Bug#815013: xserver-xorg-video-intel: SNA causes crash with Java application

2016-02-17 Thread Tim
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20160127-1+b1
Severity: important


I was using Debian jessie which was working fine.  Then I upgraded to
stretch and my X sessions started crashing.  Without debugging too
much, I then upgraded to sid in the hope that the X libraries/drivers
would magically fix the problem.  Still broken.  So then I did some
investigation.

The behavior I observed on stretch and sid is that once I open a
GUI-intensive Java application (in my case Burp Proxy) a little bit of
clicking around and using scroll bars causes X to crash.  I am unable
to restart xdm after this, so I believe the video card gets stuck in a
broken state.

Upon reading a bit on the intel(4) man page, I saw the AccelMethod
options, so I added this to my xorg.conf:

Option "AccelMethod""UXA"

The Xorg.0.log file indicates that UXA is indeed being used now, and
so far I haven't had another crash.  So it appears SNA is the culprit.
The Xorg.0.log file you see below is from *after* I made this change.
I will also attach the Xorg.0.log.old file, which shows what happens
when SNA is enabled (note the crash at the end of the file).

cheers,
tim


-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Mar 31  2014 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Feb  9 03:12 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT 
Integrated Graphics Controller [8086:0a16] (rev 0b)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 4955 Feb 17 10:12 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection

Section "Module"
Load  "glx"
EndSection

Section "InputClass"
Identifier  "evdevClass"  # required
MatchIsTouchpad "yes"   # required
Driver  "evdev" # required
EndSection

Section "InputClass"
Identifier  "touchpadClass" # required
MatchIsTouchpad "yes"   # required
Driver  "synaptics" # required
Option  "MinSpeed"  "0.5"
Option  "MaxSpeed"  "1.0"
Option  "AccelFactor"   "0.075"
Option  "TapButton1""1"
Option  "TapButton2""2" # multitouch
Option  "TapButton3""3" # multitouch
Option  "VertTwoFingerScroll"   "1" # multitouch
Option  "HorizTwoFingerScroll"  "1" # multitouch
Option  "VertEdgeScroll""1"
Option  "CoastingSpeed" "8"
Option  "CornerCoasting""1"
Option  "CircularScrolling" "1"
Option  "CircScrollTrigger" "7"
Option  "EdgeMotionUseAlways"   "1"
Option  "LBCornerButton""8" # browser "back" btn
Option  "RBCornerButton""9" # browser "forward" btn
EndSection


Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection


Section "InputClass"
Identifier  "Kingsis Peripherals Evoluent VerticalMouse 2"
#0x Product 0x3061
Driver  "evdev" # required

MatchUSBID  ":3061"
Option  "Protocol" "auto"
Option  "Buttons" "9"
Option  "ButtonMapping" "1 9 2 4 5 3 3 3 3"
Option  "ZAxisMapping" "4 5"
Option  "GrabDevice" "True"
EndSection



Section "InputDevice"
Identifier  "Mouse0"
Driver  "evdev"
Option  "Protocol" "auto"
#Option "Device" "/dev/input/mice"
Option  "Device" 
"/dev/input/by-path/platform-i8042-serio-1-event-mouse"
Option  "ZAxisMapping" "4 5 6 7"
Option  "Emulate3Buttons"   "true"
EndSection


Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Dev

vulkan-loader: Changes to 'debian-unstable'

2016-02-17 Thread Timo Aaltonen
 debian/control |   21 
 debian/copyright   |4 
 debian/libvulkan-dev.install   |2 
 debian/libvulkan1.install  |4 
 debian/local/spirv.hpp |  879 +
 debian/patches/layers-install-to-cmake-install-libdir.diff |   26 
 debian/patches/layers-use-local-spirv-hpp.diff |   11 
 debian/patches/series  |2 
 debian/patches/trim-build.diff |3 
 debian/rules   |   12 
 10 files changed, 954 insertions(+), 10 deletions(-)

New commits:
commit 493e2809d26e64af1451d002337beffa6e0d78c1
Author: Timo Aaltonen 
Date:   Wed Feb 17 20:39:07 2016 +0200

add -dev package, put layer libs and jsons in libvulkan1 for now

diff --git a/debian/control b/debian/control
index 0973f27..11a29d8 100644
--- a/debian/control
+++ b/debian/control
@@ -21,12 +21,19 @@ Description: Vulkan loader library
  driver management. The loader fully supports multi-gpu operation. As part of
  this, it dispatches API calls to the correct driver, and to the correct
  layers, based on the GPU object selected by the application.
+ .
+ This package includes the loader library and vulkaninfo binary.
 
-Package: vulkan-utils
+Package: libvulkan-dev
+Section: libdevel
 Architecture: any
-Section: graphics
-Depends: ${shlibs:Depends}, ${misc:Depends},
- libvulkan1,
-Description: Miscellaneous Vulkan utilities
- This package provides a few demo programs to test Vulkan functionality,
- including vkcube, vktri and vulkaninfo.
+Depends:
+ libvulkan1 (= ${binary:Version}),
+ ${misc:Depends},
+Description: Vulkan loader library -- development files
+ The Loader implements the main VK library. It handles layer management and
+ driver management. The loader fully supports multi-gpu operation. As part of
+ this, it dispatches API calls to the correct driver, and to the correct
+ layers, based on the GPU object selected by the application.
+ .
+ This package includes files needed for development.
diff --git a/debian/libvulkan-dev.install b/debian/libvulkan-dev.install
new file mode 100644
index 000..c7a5d5d
--- /dev/null
+++ b/debian/libvulkan-dev.install
@@ -0,0 +1,2 @@
+usr/include/vulkan
+usr/lib/*/libvulkan.so
diff --git a/debian/libvulkan1.install b/debian/libvulkan1.install
index 3ddde58..6f85934 100644
--- a/debian/libvulkan1.install
+++ b/debian/libvulkan1.install
@@ -1 +1,5 @@
+usr/bin/vulkaninfo
 usr/lib/*/lib*.so.*
+usr/lib/*/liblayer_utils.so
+usr/lib/*/libVk*.so
+usr/share/vulkan
diff --git a/debian/patches/layers-install-to-cmake-install-libdir.diff 
b/debian/patches/layers-install-to-cmake-install-libdir.diff
new file mode 100644
index 000..8362d88
--- /dev/null
+++ b/debian/patches/layers-install-to-cmake-install-libdir.diff
@@ -0,0 +1,26 @@
+commit 991a05cc657345d24cb86658a2d3fbd25643bdb2
+Author: Adam Jackson 
+Date:   Wed Feb 10 15:11:54 2016 -0500
+
+layers: Install to CMAKE_INSTALL_LIBDIR
+
+--- a/layers/CMakeLists.txt
 b/layers/CMakeLists.txt
+@@ -70,7 +70,7 @@ else()
+ target_link_Libraries(VkLayer_${target} layer_utils)
+   add_dependencies(VkLayer_${target} generate_vk_layer_helpers)
+   set_target_properties(VkLayer_${target} PROPERTIES LINK_FLAGS 
"-Wl,-Bsymbolic")
+-  install(TARGETS VkLayer_${target} DESTINATION 
${PROJECT_BINARY_DIR}/install_staging)
++  install(TARGETS VkLayer_${target} DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endmacro()
+ endif()
+ 
+@@ -144,7 +144,7 @@ if (WIN32)
+ set_target_properties(layer_utils_static PROPERTIES OUTPUT_NAME 
layer_utils)
+ target_link_libraries(layer_utils)
+ else()
+-install(TARGETS layer_utils DESTINATION 
${PROJECT_BINARY_DIR}/install_staging)
++install(TARGETS layer_utils DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+ 
+ add_vk_layer(draw_state draw_state.cpp vk_layer_debug_marker_table.cpp 
vk_layer_table.cpp)
diff --git a/debian/patches/series b/debian/patches/series
index 54649c5..7d60cac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ demos-dont-build-tri-or-cube.diff
 loader-add-install-rule.diff
 demos-add-install-rule.diff
 layers-use-local-spirv-hpp.diff
+layers-install-to-cmake-install-libdir.diff
diff --git a/debian/rules b/debian/rules
index 812c12d..9a9f286 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,17 @@ override_dh_auto_configure:
-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_install:
-   dh_auto_install
+   dh_auto_install --destdir=debian/tmp
+
+   mkdir -p debian/tmp/usr/include
+   cp -rp include/vulkan debian/tmp/usr/include
+
+   mkdir -p debian/tmp/usr/share/vulkan/explicit_layer.d \
+debian/tmp/usr/share/vulkan/implicit_layer.d
+   for i in $(shell cd layers/linux/; ls *.

vulkan-loader: Changes to 'debian-unstable'

2016-02-17 Thread Timo Aaltonen
 debian/patches/layers-dont-set-an-rpath.diff |   20 
 debian/patches/series|1 +
 2 files changed, 21 insertions(+)

New commits:
commit f277d4f04bbf9decf9740b360bf0ed29a9228d09
Author: Timo Aaltonen 
Date:   Wed Feb 17 20:43:15 2016 +0200

layers: don't set an rpath

diff --git a/debian/patches/layers-dont-set-an-rpath.diff 
b/debian/patches/layers-dont-set-an-rpath.diff
new file mode 100644
index 000..5d46379
--- /dev/null
+++ b/debian/patches/layers-dont-set-an-rpath.diff
@@ -0,0 +1,20 @@
+commit d9add88314908456d458da18f48d0a3a2c73789e
+Author: Adam Jackson 
+Date:   Wed Feb 10 14:52:34 2016 -0500
+
+layers: Don't set an rpath
+
+diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
+index 0406a57..daa0069 100644
+--- a/layers/CMakeLists.txt
 b/layers/CMakeLists.txt
+@@ -26,9 +26,6 @@ set(LAYER_JSON_FILES
+ VkLayer_device_limits
+ )
+ 
+-set(VK_LAYER_RPATH 
/usr/lib/x86_64-linux-gnu/vulkan/layer:/usr/lib/i386-linux-gnu/vulkan/layer)
+-set(CMAKE_INSTALL_RPATH ${VK_LAYER_RPATH})
+-
+ if (NOT WIN32)
+ # extra setup for out-of-tree builds
+ if (NOT (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR))
diff --git a/debian/patches/series b/debian/patches/series
index 7d60cac..8561267 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ loader-add-install-rule.diff
 demos-add-install-rule.diff
 layers-use-local-spirv-hpp.diff
 layers-install-to-cmake-install-libdir.diff
+layers-dont-set-an-rpath.diff



vulkan: Changes to 'debian-unstable'

2016-02-17 Thread Timo Aaltonen
 debian/changelog |2 +-
 debian/control   |6 +++---
 debian/rules |2 +-
 debian/watch |2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3901e8db2dc5824d8488ec7acab6e5d92828df4c
Author: Timo Aaltonen 
Date:   Wed Feb 17 22:59:15 2016 +0200

rename the source to vulkan, it's more than just the loader

diff --git a/debian/changelog b/debian/changelog
index 8d26db9..7fb5ae6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-vulkan-loader (1.0.3~git20160215-1) UNRELEASED; urgency=low
+vulkan (1.0.3~git20160215-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #814922)
 
diff --git a/debian/control b/debian/control
index 11a29d8..3a41e62 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: vulkan-loader
+Source: vulkan
 Priority: optional
 Maintainer: Debian X Strike Force 
 Uploaders: Timo Aaltonen 
@@ -10,8 +10,8 @@ Build-Depends: debhelper (>= 9),
 Standards-Version: 3.9.6
 Section: libs
 Homepage: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers
-Vcs-Git: git://anonscm.debian.org/git/pkg-xorg/lib/vulkan-loader.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/lib/vulkan-loader.git
+Vcs-Git: git://anonscm.debian.org/git/pkg-xorg/lib/vulkan.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/lib/vulkan.git
 
 Package: libvulkan1
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 9a9f286..7dc8b5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ override_dh_auto_install:
 override_dh_install:
dh_install --fail-missing
 
-gentarball: SOURCE=vulkan-loader
+gentarball: SOURCE=vulkan
 gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 
's/-.*$$//')
 gentarball:
git archive --format=tar upstream-unstable-trim 
--prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz
diff --git a/debian/watch b/debian/watch
index da17f7a..78c30d7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
 version=3
 
-opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/vulkan-loader-$1.tar.gz/" 
\
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/vulkan-$1.tar.gz/" \
  https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/tags 
(?:.*?/)sdk-(\d[\d.]*)\.tar\.gz
 
 # 
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/tags 
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz



Bug#715505: Updated OpenChrome driver available

2016-02-17 Thread Jeffrey Walton
Hi Everyone,

I tested the updated OpenChrome driver tonight. The driver fixes the
crash I was experiencing under the existing driver.

I would strongly encourage Debian's Xorg team to get this driver into
Unstable or Testing as soon as possible.

Test results:

  * https://bugs.freedesktop.org/show_bug.cgi?id=94130#c4.

Git instructions:

  * 
https://lists.freedesktop.org/archives/openchrome-devel/2016-February/001753.html

Jeffrey Walton