diff -Nru mythbuntu-common-0.77/Changelog mythbuntu-common-0.78/Changelog --- mythbuntu-common-0.77/Changelog 2016-04-03 21:31:24.000000000 +0000 +++ mythbuntu-common-0.78/Changelog 2016-04-11 04:51:52.000000000 +0000 @@ -1,3 +1,14 @@ +mythbuntu-common (0.78) xenial; urgency=medium + + [ Mario Limonciello ] + * don't install .desktop files executable. + * include first boot initial setup scripts. + + [ Thomas Mashos ] + * Update repos.db + + -- Mario Limonciello Sun, 10 Apr 2016 22:27:50 -0500 + mythbuntu-common (0.77) xenial; urgency=medium * Disable mythexport plugin. It will be removed in this release. diff -Nru mythbuntu-common-0.77/debian/changelog mythbuntu-common-0.78/debian/changelog --- mythbuntu-common-0.77/debian/changelog 2016-04-03 21:31:24.000000000 +0000 +++ mythbuntu-common-0.78/debian/changelog 2016-04-11 04:51:52.000000000 +0000 @@ -1,3 +1,14 @@ +mythbuntu-common (0.78) xenial; urgency=medium + + [ Mario Limonciello ] + * don't install .desktop files executable. + * include first boot initial setup scripts. + + [ Thomas Mashos ] + * Update repos.db + + -- Mario Limonciello Sun, 10 Apr 2016 22:27:50 -0500 + mythbuntu-common (0.77) xenial; urgency=medium * Disable mythexport plugin. It will be removed in this release. diff -Nru mythbuntu-common-0.77/debian/initial-setup.desktop mythbuntu-common-0.78/debian/initial-setup.desktop --- mythbuntu-common-0.77/debian/initial-setup.desktop 1970-01-01 00:00:00.000000000 +0000 +++ mythbuntu-common-0.78/debian/initial-setup.desktop 2016-04-11 04:30:08.000000000 +0000 @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Initial Setup +Comment=First boot configuration +GenericName=First boot configuration +Exec=/usr/share/mythbuntu/initial-setup.sh +Type=Application +Icon=mythtv +Categories=GTK;System;Settings; +NoDisplay=true diff -Nru mythbuntu-common-0.77/debian/initial-setup.sh mythbuntu-common-0.78/debian/initial-setup.sh --- mythbuntu-common-0.77/debian/initial-setup.sh 1970-01-01 00:00:00.000000000 +0000 +++ mythbuntu-common-0.78/debian/initial-setup.sh 2016-04-11 04:47:23.000000000 +0000 @@ -0,0 +1,57 @@ +#!/bin/sh +# Mario Limonciello, April 2016 + +set -e + +#source our dialog functions +. /usr/share/mythtv/dialog_functions.sh + +#get database info +getXmlParam() { + perl -e ' + use XML::Simple; + use Data::Dumper; + $xml = new XML::Simple; + $data = $xml->XMLin("/etc/mythtv/config.xml"); + print "$data->{Database}->{$ARGV[0]}\n"; + ' -- "$1" +} +DBHost="$(getXmlParam Host)" +DBUserName="$(getXmlParam UserName)" +DBPassword="$(getXmlParam Password)" +DBName="$(getXmlParam DatabaseName)" + +#get mythfilldatabase arguments +mbargs=$(mysql -N \ + --host="$DBHost" \ + --user="$DBUserName" \ + --password="$DBPassword" \ + "$DBName" \ + --execute="SELECT data FROM settings WHERE value = 'MythFillDatabaseArgs';" \ +) + +#find the session, dialog and su manager we will be using for display +find_session +find_dialog +find_su + +xterm -title "MythTV Setup Terminal" -e taskset -c 0 /usr/bin/mythtv-setup.real --syslog local7 -w -geometry 800x600 "$@" +$SU_TYPE systemctl reset-failed mythtv-backend --message "Please enter your current login password to stop mythtv-backend." +$SU_TYPE systemctl start mythtv-backend --message "Please enter your current login password to start mythtv-backend." +dialog_question "Fill Database?" "Would you like to run mythfilldatabase?" +DATABASE_NOT=$? +if [ "$DATABASE_NOT" = "0" ]; then + xterm -title "Running mythfilldatabase" -e "unset DISPLAY && unset SESSION_MANAGER && mythfilldatabase $mbargs; sleep 3" +fi + +#don't autorun again +rm -f /home/$USER/.config/autostart/initial-setup.desktop +rm -f /home/$USER/Desktop/initial-setup.desktop +rm -f /home/$USER/Desktop/setup-instructions.desktop + +#autostart mythfrontend? +if which mythfrontend; then + rm -f /home/$USER/.config/autostart/mythtv.desktop + ln -s /usr/share/applications/mythtv.desktop /home/$USER/.config/autostart/mythtv.desktop + mythfrontend --service +fi diff -Nru mythbuntu-common-0.77/debian/install mythbuntu-common-0.78/debian/install --- mythbuntu-common-0.77/debian/install 2016-04-03 20:24:42.000000000 +0000 +++ mythbuntu-common-0.78/debian/install 2016-04-11 03:27:29.000000000 +0000 @@ -1,2 +1,4 @@ debian/mythbuntu.make usr/share/mythbuntu debian/setup-instructions.desktop /usr/share/mythbuntu +debian/initial-setup.desktop /usr/share/mythbuntu +debian/initial-setup.sh /usr/share/mythbuntu diff -Nru mythbuntu-common-0.77/repos.db mythbuntu-common-0.78/repos.db --- mythbuntu-common-0.77/repos.db 2016-04-03 14:44:06.000000000 +0000 +++ mythbuntu-common-0.78/repos.db 2016-04-11 04:50:39.000000000 +0000 @@ -1,5 +1,6 @@ MYTHTV_RELEASE 0.28 TRUNKPASS YouMustBeThisTallToRide +URL http://people.ubuntu.com/~tgm4883/repos.db karmic fixes-0.21 jaunty fixes-0.21 @@ -31,10 +32,15 @@ nadia 0.26 precise 0.26 maya 0.26 +xenial 0.27 wily 0.27 vivid 0.27 utopic 0.27 trusty 0.27 +qiana 0.27 +rosa 0.27 +rafaela 0.27 +rebecca 0.27 saucy 0.27 petra 0.27 raring 0.27 @@ -46,10 +52,14 @@ vivid 0.28 utopic 0.28 trusty 0.28 -saucy 0.28 -petra 0.28 -raring 0.28 -olivia 0.28 -precise 0.28 -maya 0.28 +qiana 0.28 +rosa 0.28 +rafaela 0.28 +rebecca 0.28 xenial 0.29 +wily 0.29 +trusty 0.29 +qiana 0.29 +rosa 0.29 +rafaela 0.29 +rebecca 0.29