https://bugs.kde.org/show_bug.cgi?id=381827

--- Comment #9 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
(In reply to Tuxo from comment #7)
> (In reply to Mauro Carvalho Chehab from comment #5)

> Build instructions for Debian/Ubuntu, maybe put this into Readme.md:
> 
> cd kaffeine.git (in pristine state)
> debian/rules build (for test-building just the source)
> fakeroot debian/rules binary (for building the source and deb-packaging)
> fakeroot debian/clean (for cleaning up)
> dpkg -i ../kaffeine_<version>.deb (will install the package)
> apt-get remove --purge kaffeine (will remove the package and cleanup config
> files)

Well, it doesn't hurt to add debian install instructions, e. g. something like:

### Debian Packaging

If you want to create a Debian packaging, you need to install the
needed tools:

    apt-get install fakeroot dpkg-dev pkg-kde-tools

And clone the Debian packaging system with:

    git clone git://anonscm.debian.org/pkg-kde/kde-extras/kaffeine.git
deb-build
    cd deb-build
    rsync -ua --exclude '.git*' --exclude deb-build .. .
    rm CMakeCache.txt
    cat Changelog |grep Version|head -1|perl -ne 'if (m/Version\s*(\S+)/) {
print "kaffeine ($1-1) unstable; urgency=medium\n\n  * New upstream release.\n"
}' >debian/changelog
    echo " -- root <root@localhost>  $(date -R)" >>debian/changelog
    fakeroot debian/rules binary


I tested it locally, and it almost works: I'm actually using vlc from git tree
due to MPEG4 support, with doesn't work fine with vlc 2.x. So, I'm getting this
error here:

dpkg-shlibdeps: error: no dependency information found for
/usr/local/lib/libvlc.so.5 (used by debian/kaffeine/usr/bin/kaffeine)
Hint: check if the library actually comes from a package.

But I suspect that, it shouldn't be a problem if I hadn't installed my own
libvlc package.

Anyway, I'll be committing the above to README.md.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to