! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-settings from git fails to build due to errors in *.desktop files
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
General

Comments

Description Ali Akcaagac 2020-04-05 07:58:08 CEST
Trying to build xfce4-settings from git for Fedora and hitting this issue here:
It looks like key value pair are invalid. Could someone please have a look ?


+ desktop-file-install --add-category=X-XFCE --remove-category=XFCE --delete-original --dir=/root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applic
ations /root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applications/xfce-display-settings.desktop
+ for file in /root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applications/*.desktop
+ desktop-file-install --add-category=X-XFCE --remove-category=XFCE --delete-original --dir=/root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applications /root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applications/xfce-keyboard-settings.desktop
Error on file "/root/rpmbuild/BUILDROOT/xfce4-settings-4.15.0-1.fc32.x86_64/usr/share/applications/xfce-keyboard-settings.desktop": Key file contains line ?bloqueo de n?meros;teclado;disposici?n;atallos;? which is not a key-value pair, group, or comment
error: Bad exit status from /var/tmp/rpm-tmp.HREoFa (%install)
Comment 1 Ali Akcaagac 2020-04-05 08:21:10 CEST
There seem to be an issue with "newlines" in the Keybword

Keywords[gl]=\n
xxxx;xxxx;xxxx

as described in the cut out part of xfce-keyboard-settings.desktop

;--- cut here
Keywords=numlock;keyboard;layout;shortcuts;
Keywords[da]=numerisk lås;tastatur;layout;genveje;
Keywords[gl]= 
bloqueo de números;teclado;disposición;atallos;
Keywords[ja]=numlock;キーボード;レイアウト;ショートカット;
Keywords[sr]=тастатура;дугмад;распоред;пречице;
Keywords[zh_TW]=numlock;keyboard;layout;shortcuts;
;--- cut here
Comment 2 Ali Akcaagac 2020-04-05 08:30:31 CEST
Created attachment 9672 
This patch should help solving the issue
Comment 3 dani 2020-04-06 07:53:24 CEST
Sorry my mistake, I just fixed it on transifex.

Bug #16635

Reported by:
Ali Akcaagac
Reported on: 2020-04-05
Last modified on: 2020-04-06

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information