Usually you would go with a patch, especially since the packaging
already uses one. In most cases are patches easier to maintain and
people won't forget to merge it when pulling a new version from Debian.

In this case a patch system called 'quilt' is used (because it got a
quilt build-dependency and references to quilt patches in debian/rules).
It's not too easy to understand at first, but it is a very powerful, and
everyone who had to work with it loves it afterwards ;-)

A usual use case would be:
cd source-1.0.0
ln -s debian/patches    # or create this folder and than ln -s, this linking is 
necesssary to make quilt find the patches without problems
quilt push -a    # applies all existing patches
quilt new kubuntu_01_fix_desktop_file.diff    # will tell quilt about the new 
patch
quilt add kdenlive/CMakeLists.txt
quilt add kdenlive/kdenlive.desktop    # it is necessary to tell quilt exactly 
which files are going to change
now you can edit the files
quilt refresh    # will update the latest patch (i.e. the one just done)
quilt pop -a    # reverts all patches again (i.e. push is applying, pop is 
reverting)
rm patches    # remove the link to debian/patches again

Then you should find the new patch file in debian/patches and it should be 
listed in debian/patches/series.
A somewhat generic howto: http://www.balloonboard.org/balloonwiki/QuiltHowto
Unfortunately there is no good howto about quilt packaging use cases, so I hope 
the above is enough, otherwise 'man quilt' is the way to go.

As for the XDG_APPS_DIR. You should go with the upstream approach in my
humble opinion. Please also send all your other desktop file changes to
upstream, so that we can drop the patch for the next upstream release.

-- 
kdenlive missing menu icon in gnome
https://bugs.launchpad.net/bugs/261068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to