[opensuse-packaging] Wrong quoting when using macro
Hello, When I am using the suse_update_desktop_file it quotes the parameter in a wrong way. E.g. I am using this command: %suse_update_desktop_file -c "%{name}" "%{name}" "Game with flying alpaca" "%{name}" jetpaca Game ArcadeGame Then the resulting command is: suse_update_desktop_file.sh '-c Jetpaca Jetpaca Game with flying alpaca' Jetpaca jetpaca Game ArcadeGame As you can the see the parameter are quoted wrong, so it will fail. Do I use the macro the wrong way? Thank you for your help! Regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Ferdinand Thiessen <f.thiessen@gmx.de> Mon, 27 Jun 2016 18:44:47 +0300:
Hello,
Hello! ../../home:DarkSS/shotcut/shotcut.spec:%suse_update_desktop_file -c %{name} %{name} "A free, open source, cross-platform video editor" %{name} %{name} "AudioVideo;AudioVideoEditing;" ../../home:DarkSS/SmartDeblur/SmartDeblur.spec:%suse_update_desktop_file -c %{name} %{name} "A smart deblur program" %{name} %{name} "Graphics;RasterGraphics;Qt;" ../../home:DarkSS/sysinfo/sysinfo.spec:%suse_update_desktop_file -c %{name} %{name} "System Profiler and Benchmark" %{name}4linux %{name} "System;HardwareSettings;" Try "Game;ArcadeGame;" so…
When I am using the suse_update_desktop_file it quotes the parameter in a wrong way. E.g. I am using this command:
%suse_update_desktop_file -c "%{name}" "%{name}" "Game with flying alpaca" "%{name}" jetpaca Game ArcadeGame
Then the resulting command is:
suse_update_desktop_file.sh '-c Jetpaca Jetpaca Game with flying alpaca' Jetpaca jetpaca Game ArcadeGame
As you can the see the parameter are quoted wrong, so it will fail. Do I use the macro the wrong way? Thank you for your help!
Regards,
Ferdinand
-- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.06.2016 um 18:15 schrieb Dmitriy Perlow:
../../home:DarkSS/shotcut/shotcut.spec:%suse_update_desktop_file -c %{name} %{name} "A free, open source, cross-platform video editor" %{name} %{name} "AudioVideo;AudioVideoEditing;" ../../home:DarkSS/SmartDeblur/SmartDeblur.spec:%suse_update_desktop_file -c %{name} %{name} "A smart deblur program" %{name} %{name} "Graphics;RasterGraphics;Qt;" ../../home:DarkSS/sysinfo/sysinfo.spec:%suse_update_desktop_file -c %{name} %{name} "System Profiler and Benchmark" %{name}4linux %{name} "System;HardwareSettings;"
Try "Game;ArcadeGame;" so…
You are right that worked! The error message is confusing ([CATEGORIES...]). Best regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.06.2016 um 19:18 schrieb Ferdinand Thiessen:
You are right that worked! The error message is confusing ([CATEGORIES...]).
Best regards,
Ferdinand
Sorry I was to quickly, still broken... Currently it looks like this: %suse_update_desktop_file -c %{name} %{name} "Game with flying alpaca" %{name} jetpaca "Game;ArcadeGame;" @Andrei: https://build.opensuse.org/package/show/home:susnux/Jetpaca Best Regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Ferdinand Thiessen <f.thiessen@gmx.de> писал(а) Mon, 27 Jun 2016 20:58:30 +0300:
Am 27.06.2016 um 19:18 schrieb Ferdinand Thiessen:
You are right that worked! The error message is confusing ([CATEGORIES...]).
Best regards,
Ferdinand
Sorry I was to quickly, still broken... Currently it looks like this: %suse_update_desktop_file -c %{name} %{name} "Game with flying alpaca" %{name} jetpaca "Game;ArcadeGame;"
OK, it was some wrong symbol error: https://build.opensuse.org/request/show/405052
@Andrei: https://build.opensuse.org/package/show/home:susnux/Jetpaca
Best Regards,
Ferdinand
-- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.06.2016 um 20:29 schrieb Dmitriy Perlow:
OK, it was some wrong symbol error: https://build.opensuse.org/request/show/405052
WTF That is curious, copied the line from the wiki... Thank you very much! Best regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
27.06.2016 18:44, Ferdinand Thiessen пишет:
Hello,
When I am using the suse_update_desktop_file it quotes the parameter in a wrong way. E.g. I am using this command:
%suse_update_desktop_file -c "%{name}" "%{name}" "Game with flying alpaca" "%{name}" jetpaca Game ArcadeGame
Then the resulting command is:
suse_update_desktop_file.sh '-c Jetpaca Jetpaca Game with flying alpaca' Jetpaca jetpaca Game ArcadeGame
As you can the see the parameter are quoted wrong, so it will fail. Do I use the macro the wrong way?
Post link to your project/package. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Monday 2016-06-27 17:44, Ferdinand Thiessen wrote:
a wrong way. E.g. I am using this command:
%suse_update_desktop_file -c "%{name}" "%{name}" "Game with flying alpaca" "%{name}" jetpaca Game ArcadeGame
Then the resulting command is:
suse_update_desktop_file.sh '-c Jetpaca Jetpaca Game with flying alpaca' Jetpaca jetpaca Game ArcadeGame
Your mail has U+2002 characters instead of proper spaces. Your specfile probably does too. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Dmitriy Perlow
-
Ferdinand Thiessen
-
Jan Engelhardt