Skip to content

Commit 616add2

Browse files
committed
debian: add dependency on libgrx-3.0-X-plugin-linuxfb
On ev3dev, we need to make sure that the linuxfb plugin for libgrx-3.0 is installed, otherwise no graphics will be displayed. Issue: ev3dev/ev3dev#1275
1 parent 8b2f8f4 commit 616add2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

debian/control

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Vcs-Browser: https://github.com/ev3dev/ev3devKit
1818
Package: libev3devkit-0.5-0
1919
Section: libs
2020
Architecture: any
21-
Depends: ${shlibs:Depends}, ${misc:Depends}, ev3devkit-data (= ${source:Version})
21+
Depends: ${shlibs:Depends}, ${misc:Depends}, ev3devkit-data (= ${source:Version}),
22+
libgrx-3.0-${grx-so-version}-plugin-linuxfb
2223
Description: Programming toolkit for ev3dev
2324
Provides a GLib/GObject based library that provides a number of programming
2425
interfaces for ev3dev, including user interface and device driver interface.

debian/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
# Uncomment this to turn on verbose mode.
55
export DH_VERBOSE=1
66

7+
GRX_SO_VERSION = $(shell dpkg -s libgrx-3.0-dev | grep -o -P 'libgrx-3.0-\d+\s' | cut -d "-" -f 3)
8+
79
%:
810
dh $@ --with gir
911

1012
override_dh_install:
1113
dh_install --list-missing
14+
15+
override_dh_gencontrol:
16+
dh_gencontrol -- -Vgrx-so-version=$(GRX_SO_VERSION)

0 commit comments

Comments
 (0)