** Description changed: + [Impact] + + The commands 'quickly package --extras' and 'quickly submitubuntu' do + not create debian packages that can launch the program from the menus. + + So those two commands, which are used for ARB submission, will appear + completely broken (and are due to other bugs). Since we want to + encourage ARB submission where appropriate, having such bugs would be + unfortunate. + + [Test Case] + + cd /tmp + quickly create ubuntu-application ubuapp + # close opened window + cd ubuapp + quickly package --extras + sudo dpkg -i ../ubuapp_0.1_all.deb + # Search for ubuapp in the menu and try to launch it + + [Regression Potential] + + My fix carefully only affects the --extras path (which is also used for + submitubuntu). I intentionally chose an ugly way to fix this so that I + could only affect that path and not regress anything else. + + In 12.10, my hope is to eventually implement a non-ugly fix. But I'm + confident this will only affect users of --extras. + + [Original Report] + 1) the desktop file is installed to /opt/extras.ubuntu.com/qreator/share/applications/ The system won't pick it up there. 2) The Exec and Icon lines in the desktop file don't point to the actually installed files in opt: Exec=qreator Icon=/usr/share/qreator/media/qreator.svg Even if you edit the icon path to be correct for opt, setup.py stomps on it since "datadir" isn't set correctly (see bug 998910) and this is called: - for line in fin: - if 'Icon=' in line: - line = "Icon=%s\n" % (datadir + 'media/qreator.svg') - fout.write(line) + for line in fin: + if 'Icon=' in line: + line = "Icon=%s\n" % (datadir + 'media/qreator.svg') + fout.write(line)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1002417 Title: quickly package --extras doesn't generate a usable desktop file To manage notifications about this bug go to: https://bugs.launchpad.net/quickly/+bug/1002417/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
