Commit cd1a590c authored by phenigma's avatar phenigma

Refs linuxmce#2826 - updates for buster building

parent 6d438df8
......@@ -148,7 +148,7 @@ function build_main_debs() {
# does not compile
exclude_list=$exclude_list,682,683 # MAME
;;
stretch)
buster)
Distro_ID="25"
RepositorySource=23
Main_Version='2.0.0.48.'
......
......@@ -482,16 +482,9 @@ function Build_Replacements_Common_raspbian
#Package: mbrola
Build_Replacement_Package mbrola ubuntu/mbrola-3.01h+1
#Package: motion
Build_Replacement_Package motion ubuntu/motion-3.2.12+git20150610
#Package: lmce-core-locator
Build_Replacement_Package core-locator src/Core/locator
#ubuntu/squeezelite-1.8
#Package: squeezelite-1.8
Build_Replacement_Package squeezelite ubuntu/squeezelite-1.8
# Open ZWave library
Build_Replacement_Package zwave external/openzwave-1.3.1224
dpkg -i ${scm_dir}/external/libopenzwave*deb
......@@ -520,6 +513,14 @@ function Build_Replacements_raspbian_wheezy
# prior to any packages that require it. -- TODO: xine
mkdir -pv "$replacements_dir"
#Package: motion
Build_Replacement_Package motion ubuntu/motion-3.2.12+git20150610
#ubuntu/squeezelite-1.8
#Package: squeezelite-1.8
Build_Replacement_Package squeezelite ubuntu/squeezelite-1.8
}
function Build_Replacements_raspbian_jessie
......@@ -532,6 +533,9 @@ function Build_Replacements_raspbian_jessie
mkdir -pv "$replacements_dir"
#Package: motion
Build_Replacement_Package motion ubuntu/motion-3.2.12+git20150610
#Package: vdr-2.2.0
Build_Replacement_Package vdr external/vdr/vdr-2.2.0
dpkg -i ${scm_dir}/external/vdr/vdr-dev_*deb
......@@ -566,6 +570,25 @@ function Build_Replacements_raspbian_jessie
# mythtv
Build_Replacement_Package myth ubuntu/mythtv-0.27.5+fixes.20150921.fbd5ef3
#ubuntu/squeezelite-1.8
#Package: squeezelite-1.8
Build_Replacement_Package squeezelite ubuntu/squeezelite-1.8
}
function Build_Replacements_raspbian_buster
{
# It needs to be mentioned that these packages build prior
# to the general ubuntu packages. If anything here depends
# on something that builds in the general ubuntu section,
# then that package build needs to move to this section,
# prior to any packages that require it. -- TODO: xine
mkdir -pv "$replacements_dir"
#Package: logitechmediaserver-7.9.0
# Build_Replacement_Package logitechmediaserver external/logitechmediaserver-deb
}
trap 'Error "Undefined error in $0" ; apt-get install libtool -y' EXIT
......
......@@ -19,8 +19,10 @@ if [ "$sql_build_port" ] ; then BuildCred="$BuildCred -P$sql_build_port"; fi
if [ "$sql_build_user" ] ; then BuildCred="$BuildCred -u$sql_build_user"; fi
if [ "$sql_build_pass" ] ; then BuildCred="$BuildCred -p$sql_build_pass"; fi
[[ "$DB_IMPORT" == "no" ]] && exit 0;
if [[ "$DB_IMPORT" == "no" ]] ; then
DisplayMessage "Database import disabled - Skipping"
exit 0;
fi
function get_dbdump
{
......
asterisk-dev
autoconf
automake
automake1.9
build-essential
ccache
cdbs
cvs
debconf-utils
debootstrap
devscripts
dh-make
dmsetup
docbook-utils
dpatch
dpkg-dev
dpkg-repack
fakeroot
gdb
genisoimage
gnome-applets
gtk-doc-tools
libqt5designer5
kernel-package
libaa1-dev
libao4
libao-dev
libasound2-dev
libattr1-dev
libaudio-dev
libaudiofile-dev
libavc1394-dev
libavcodec-dev
libavformat-dev
libbluetooth-dev
libcaca-dev
libcap-dev
libcddb2-dev
libcdio-dev
libcdparanoia-dev
libconfuse-dev
libcurl4-openssl-dev
libdancer-xml0-dev
libdbus-1-dev
libdbus-glib-1-dev
libdevmapper-dev
libdirectfb-dev
libdts-dev
libdvb-dev
libdvdnav-dev
libdvdread-dev
libesd0-dev
libexiv2-dev
libextractor-dev
libfaad-dev
libflac-dev
libftdi-dev
libfuse-dev
libgl1-mesa-dev
libglade2-dev
libgnome2-dev
libgnomevfs2-dev
libgtk2.0-dev
libid3-3.8.3-dev
libid3tag0-dev
libiec61883-dev
libimlib2-dev
libirman-dev
libjack-dev
libjpeg-dev
liblinphone-dev
liblircclient-dev
libmad0-dev
libmagick++-dev
libmagickcore-dev
libmediastreamer-dev
libmodplug-dev
libmpcdec-dev
libmariadbclient-dev
libncursesw5-dev
libgnome-desktop-dev
libpcre3-dev
libpostproc-dev
libpulse-dev
libreadline-dev
librpm-dev
libsdl-gfx1.2-dev
libsdl-image1.2-dev
libsdl-sge-dev
libsdl-ttf2.0-dev
libsdl1.2-dev
libsmbclient-dev
libspeex-dev
libsqlite3-dev
libstdc++6
libswscale-dev
libtag1-dev
libtheora-dev
libtool
libtwolame-dev
libupnp-dev
libusb-dev
libvdpau-dev
libvdpau1
libvte-dev
libwavpack-dev
libx11-dev
libxcb-shape0-dev
libxcb-shm0-dev
libxcb-xv0-dev
libxext-dev
libxmu-headers
libxrender-dev
libxt-dev
libxtst-dev
libxv-dev
libxvmc-dev
libxxf86vm-dev
libzvbi-dev
lirc
module-assistant
mariadb-client
nasm
patch
po4a
quilt
sgmltools-lite
sharutils
squashfs-tools
subversion
swig
tcl8.6-dev
texi2html
texinfo
transfig
txt2man
uuid-dev
vdr-dev
w3m
x11proto-core-dev
x11proto-record-dev
x11proto-xext-dev
x11proto-xf86vidmode-dev
xorg-dev
dahdi-source
libfftw3-dev
libfftw3-dev
xmlto
doxygen
python-dev
yasm
libfribidi-dev
liba52-0.7.4-dev
libcdaudio1
libcdaudio-dev
libvisual-0.4-dev
libmng-dev
libtalloc-dev
chrpath
libxml++2.6-dev
libexosip2-dev
libspeexdsp-dev
libow-dev
libqjson-dev
libdbus-c++-dev
libudev-dev
libcppunit-dev
bison
flex
gcj-jdk
tcl8.4-dev
tcl8.4
libtcl8.5
libmpg123-dev
libsoxr-dev
portaudio19-dev
dh-autoreconf
libpq-dev
libv4l-dev
libva-dev
libclass-dbi-perl
libnet-upnp-perl
python-oauth
python-lxml
python-mysqldb
python-urlgrabber
fftw-dev
libdate-manip-perl
libxml-simple-perl
libimage-size-perl
libdatetime-format-iso8601-perl
libx264-dev
libvpx-dev
libavahi-compat-libdnssd-dev
libcdio-cdda-dev
libcdio-paranoia-dev
libass-dev
libxml-xpath-perl
libcec-platform-dev
cmake
libfstrcmp-dev
libxslt1-dev
libzip-dev
libenca-dev
libraspberrypi-dev
dh-systemd
indent
libvorbis-dev
default-libmysqlclient-dev
#!/bin/bash
# [MISC]
#
#flavor="debian"
#flavor="ubuntu"
flavor="raspbian"
###build_name="$(lsb_release -c -s)"
#build_name="lucid"
build_name="buster"
build_version="$(lsb_release -s -r)"
#arch="i386"
arch="armhf"
log_file="/var/log/lmce-build.log"
exclude_list="${exclude_list:-0}"
#export KVER="$(ls -vd /lib/modules/[0-9]* | tail -1 | sed 's/.*\///g')"
#export KVER_SHORT="$(echo $KVER | cut -d'-' -f1)"
#export KVER_VERY_SHORT="$(echo $KVER_SHORT | cut -d'.' -f1,2)"
#export KVER_LONG="$(apt-cache policy linux-image-$KVER | grep Installed: | cut -d' ' -f4)"
export KVER="3.13-1-rpi"
export KVER_SHORT="3.13"
export KVER_VERY_SHORT="3.13"
export KVER_LONG="3.13.56-1"
export KDIR="/usr/src/linux-source-${KVER_SHORT}"
# [LOCATIONS]
#
# Location on build systems where different files
# are stored douring the build process
#
build_dir="/var/lmce-build" # Root directory of all the other folders
replacements_dir="${build_dir}/replacements" # Replacements debs
scm_dir="${build_dir}/scm" # Source Code Management checkout dir
out_dir="${build_dir}/out" # Debs built by MakerRlease
extras_dir="${build_dir}/extras" # Debs built externaly
mkr_dir="${build_dir}/MakeRelease" # MakeRelease bins and libs
diskless_dir="${build_dir}/diskless" # Diskless related tools
local_mirror_dir="/var/www" # Local repository (final deb,iso)
lmce_build_conf_dir="/etc/lmce-build"
build_scripts_dir="/usr/local/lmce-build/build-scripts"
# [URLS]
#
# URLs used by the build system
#
closed_source_debs_url=""
rsync_skin_host="rsync.linuxmce.org"
rsync_media_host="rsync.linuxmce.org"
http_skin_host="download.linuxmce.org"
http_media_host="download.linuxmce.org"
# [SUBVERSION]
#
# Location and login of subversion repository
#
[ "x$flavor" = "xubuntu" ] && svn_branch_name="branches/LinuxMCE-${build_version}"
[ "x$flavor" = "xraspbian" ] && svn_branch_name="trunk"
svn_url="http://svn.linuxmce.org/svn/${svn_branch_name}/" # Main subversion url
svn_private_url="" # Svn to checkout private stuff [optional]
svn_private_user="" # User to checkout private stuff [optional]
svn_private_pass="" # Pass to checkout private stuff [optional]
# [SQL]
#
# Database name, source and destination for build database
#
sql_build_host="localhost"
sql_build_user="root"
###
### WARNING: if you change the values above, there are some extra instructions
### in the build DB that will fail, add entries for "sqlCVS_MySqlHost" &
### "sqlCVS_MySqlUser" to /etc/pluto.conf, and "host" & "user" in the
### [mysqldump] section of /etc/mysql/my.cnf as well.
###
# [SQLCVS]
#
# Database name, source and destination for sqlcvs
#
sqlcvs_host="schema.linuxmce.org"
sqlcvs_port=""
sqlcvs_user="builder"
sqlcvs_pass=""
# [EMAIL REPORTING]
# List of the users that will get the mails about build status (error, success)
mail_to="nobody@example.com"
# Text to prefix the mail subject
mail_subject_prefix="[Builder ${build_version} ${arch}]"
# Uncomment to avoid DVD build step[s]
do_not_build_sl_dvd="yes"
do_not_build_dl_dvd="yes"
# Uncomment to create fake win32 binaries
win32_create_fake="yes"
# Uncomment to download win32 binaries from another location
#win32_ftp_url="ftp://tschak.homelinux.com/WinBinaries/Windows_Output_LinuxMCE/src/"
#win32_ftp_user="win32builder"
#win32_ftp_password="adam12"
# Include a release flavor conf file (ubuntu.conf, raspbian.conf)
if [[ -f /etc/lmce-build/"${flavor}".conf ]]; then
. /etc/lmce-build/"${flavor}".conf
fi
# Include a custom config file that can override any of the existing options
if [[ -f /etc/lmce-build/builder.custom.conf ]]; then
. /etc/lmce-build/builder.custom.conf
fi
name_lower=linuxmce
name_upper=LINUXMCE
name_mixed=LinuxMCE
codename=linuxmce
#arch="$(apt-config dump | grep '^APT::Architecture' | sed 's/.* "\(.*\)";$/\1/g')"
arch=armhf
distro=buster
release_version=1804
maindeb_debian=20dev_debian
replacementsdeb_debian=replacements_debian
maindeb_ubuntu=20dev_ubuntu
replacementsdeb_ubuntu=replacements_ubuntu
adminsite_name="LinuxMCE Admin Web Page"
main_url=linuxmce.org
test_installation=0
upload=y
compile_defines=" -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -DARMHF -DRPI -DLINPHONE_3_6 "
compile_libs=
windows_workgroup=LinuxMCE
core_name=DCERouter
flavor_name=raspbian
blocks=ubuntu,videowizard
pk_distro=25
sqlcvs_build=sqlCVS $PLUTO_BUILD_CRED
mysqldump_build=mysqldump $MYSQL_BUILD_CRED
......@@ -11,7 +11,7 @@ echo "*** Running: $0"
echo "********************************************************************************"
# Install packages
apt-get -q -f -y --force-yes install `cat $lmce_build_conf_dir/build-packages`
apt-get -q -f -y install `cat $lmce_build_conf_dir/build-packages`
export KVER=$(ls -vd /lib/modules/[0-9]* | sed 's/.*\///g' | tail -1)
export KVER_SHORT=$(echo $KVER | cut -d'-' -f1)
......
......@@ -59,6 +59,11 @@ case "${flavor}" in
RepositorySource=23
Main_Version="2.0.0.47."
;;
"buster")
Distro_ID="25"
RepositorySource=23
Main_Version="2.0.0.48."
;;
esac
;;
esac
......
......@@ -37,6 +37,10 @@ case "${flavor}" in
Distro_ID="22"
RepositorySource=23
;;
"buster")
Distro_ID="25"
RepositorySource=23
;;
esac
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment