[LINUX] Help needed for building custom .deb packages?
#1
Hi all !

Can anyone help how i can create my own .deb packages.
I read this thread:
http://forum.xbmc.org/showthread.php?tid=60967
Tried with no success. The script complains about missing directories.
Is there an updated guide or wiki page for this ?

A few questions:
- Is it possible to make this on a virtual machine ?
- How can i set ./configure options ?

TIA

Alan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#2
What error message do you get? Can you post the log file to the pastebin for example? You can find log file in the directory where you ran 'svn checkout'.

I just created new deb packages by following that topic. Packages are named like 'xbmc*_9.11~beta1+svn25846-karmic1_i386.deb'.

According to the log file, configuration options are set in file trunk/tools/Linux/packaging/debian/rules:
Code:
# List of options to pass to configure. Can be overridden.
XBMC_CONFIG_OPTIONS ?= --host=$(DEB_HOST_GNU_TYPE) \
        --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
        --enable-optimizations --enable-gl --enable-vdpau \
        --disable-profiling --enable-joystick --enable-xrandr \
        --enable-goom --disable-ccache --enable-pulse --enable-avahi \
        --enable-debug

I am trying next to build version svn25640 which was probably the last beta2 build in ppa. Any idea how do I pass that version information for script ppa-builder.sh? ppa-builder.sh's syntax:
Code:
This script requires debhelper, pbuilder, dput:
  $ sudo apt-get install debhelper pbuilder dput subversion

  The following options are supported:
        --ppa=<your ppa in dput.cf>
        -t, --tag       : svnsrc=<dir>, version=<version> (without 'xbmc-')
        -u              : srcdir=<dir> version=<version> revision=<rev> minor=<minor>
        -nsg            : svnsrc=<dir> revision=<rev>
        -prev           : revision=<rev>
        urgency=(low|medium|high)
Reply
#3
a) download ubuntu ppa source code & ubuntu patch.
b) uncompress source code & patch, and patch -p0 source code < ubuntu.diff
c) copy the debian directory generated under source code directory
d) under source code directory, dch --newversion versión_to_make
e) dpkg-buildpackage
End.

The debian directory genereated by the diff file works as well with the git version of xbmc. Simply copy the debian directory, make the new version with dch and build the packages with dpkg-buildpackage.

Sorry for my ¿english?
Reply
#4
I just finished compiling my .deb packages using the above mentioned guide, now how do I go about moving them to my htpc and installing them?

I copied the entire result folder, and attempted to install the xbmc metapackage that it creates using both the gui and dpkg --install, the gui gave me dependancies not satisfiable errors and dpkg gave me file does not exist error??
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Help needed for building custom .deb packages?0