Package: libxfce4panel-2.0-dev
Version: 4.18.2-1
Severity: important
Tags: patch

Dear Maintainer,

I'm trying to build Xfce panel plugin which is written using Vala
language, and it fails because of missing Vala API files in
libxfce4panel-2.0-dev package.

Vala is the language which is widely used for writing applications
that use glib/gtk+ libraries.

I attach the patch for xfce4-panel package that can fix the issue.

The plugin I was trying to build:
https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin

Thank you!


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_RU:ru
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libxfce4panel-2.0-dev depends on:
ii  gir1.2-libxfce4panel-2.0  4.18.2-1
ii  libglib2.0-dev            2.74.6-1
ii  libgtk-3-dev              3.24.36-5
ii  libxfce4panel-2.0-4       4.18.2-1
ii  libxfce4util-dev          4.18.1-2

libxfce4panel-2.0-dev recommends no packages.

libxfce4panel-2.0-dev suggests no packages.

-- no debconf information
diff -Naur xfce4-panel-4.18.2-orig/debian/control 
xfce4-panel-4.18.2/debian/control
--- xfce4-panel-4.18.2-orig/debian/control      2023-01-12 10:55:51.000000000 
+0300
+++ xfce4-panel-4.18.2/debian/control   2023-03-09 21:26:23.315340377 +0300
@@ -19,6 +19,7 @@
                libxfce4ui-2-dev (>= 4.17.1),
                libxfce4util-dev (>= 4.17.2),
                libxfconf-0-dev,
+               valac,
                xfce4-dev-tools
 Rules-Requires-Root: no
 Standards-Version: 4.6.2
diff -Naur xfce4-panel-4.18.2-orig/debian/libxfce4panel-2.0-dev.install 
xfce4-panel-4.18.2/debian/libxfce4panel-2.0-dev.install
--- xfce4-panel-4.18.2-orig/debian/libxfce4panel-2.0-dev.install        
2022-08-29 02:22:07.000000000 +0300
+++ xfce4-panel-4.18.2/debian/libxfce4panel-2.0-dev.install     2023-03-09 
21:31:11.642408338 +0300
@@ -3,3 +3,4 @@
 usr/lib/*/pkgconfig/libxfce4panel-2.0.pc
 usr/share/gtk-doc/html/libxfce4panel-2.0
 usr/share/gir-1.0/*
+usr/share/vala/vapi/*
diff -Naur xfce4-panel-4.18.2-orig/debian/rules xfce4-panel-4.18.2/debian/rules
--- xfce4-panel-4.18.2-orig/debian/rules        2023-02-27 08:06:13.000000000 
+0300
+++ xfce4-panel-4.18.2/debian/rules     2023-03-09 21:05:54.056387740 +0300
@@ -7,7 +7,7 @@
        dh $@ --with gir
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-gtk-doc --enable-introspection=yes 
--enable-vala=no
+       dh_auto_configure -- --enable-gtk-doc --enable-introspection=yes
 
 override_dh_installchangelogs:
        DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs NEWS

Reply via email to