Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

ryanakca
Wednesday, March 7th, 2007 at 12:22:42am UTC 

  1. diff -u amarok-1.4.5/debian/changelog amarok-1.4.5/debian/changelog
  2. --- amarok-1.4.5/debian/changelog
  3. +++ amarok-1.4.5/debian/changelog
  4. @@ -1,3 +1,9 @@
  5. +amarok (2:1.4.5-0ubuntu6) feisty; urgency=low
  6. +
  7. +  * Fixed the install-mp3 script
  8. +
  9. + -- Ryan Kavanagh <[email protected]>  Tue,  6 Mar 2007 19:11:17 -0500
  10. +
  11.  amarok (2:1.4.5-0ubuntu5) feisty; urgency=low
  12.  
  13.    * Added patches:
  14. diff -u amarok-1.4.5/debian/control amarok-1.4.5/debian/control
  15. --- amarok-1.4.5/debian/control
  16. +++ amarok-1.4.5/debian/control
  17. @@ -1,7 +1,8 @@
  18.  Source: amarok
  19.  Section: kde
  20.  Priority: optional
  21. -Maintainer: Adeodato Simó <[email protected]>
  22. +Maintainer: Ubuntu Core Developers <[email protected]>
  23. +XSBC-Original-Maintainer: Adeodato Simó <[email protected]>
  24.  Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>=5), quilt, bzip2, libtool,
  25.   kdelibs4-dev, kdemultimedia-dev, kdebase-dev,
  26.   libhal-dev, libxine-dev,
  27. diff -u amarok-1.4.5/debian/install-mp3 amarok-1.4.5/debian/install-mp3
  28. --- amarok-1.4.5/debian/install-mp3
  29. +++ amarok-1.4.5/debian/install-mp3
  30. @@ -10,49 +10,49 @@
  31.       exit 0
  32.     else
  33.       if [ -x /usr/bin/kdialog ]; then
  34. -       kdialog --msgbox "There was an error installing MP3 support. You need to install the package \"libxine-extracodecs\" manually."
  35. +       kdialog --msgbox "There was an error installing MP3 support. You need to install the package \"libxine1-ffmpeg\" manually."
  36.       elif [ -x /usr/bin/zenity ]; then
  37. -       zenity --info --text "There was an error installing MP3 support. You need to install the package \"libxine-extracodecs\" manually."
  38. +       zenity --info --text "There was an error installing MP3 support. You need to install the package \"libxine1-ffmpeg\" manually."
  39.       else
  40. -       Xdialog --msgbox "There was an error installing MP3 support.\nYou need to install the package \"libxine-extracodecs\" manually." 10 60
  41. +       Xdialog --msgbox "There was an error installing MP3 support.\nYou need to install the package \"libxine1-ffmpeg\" manually." 10 60
  42.       fi
  43.       exit 1
  44.     fi
  45.  }
  46.  
  47. -AVAILABLE=`apt-cache show libxine-extracodecs | grep Package`
  48. -INSTALLED=`dpkg --get-selections libxine-extracodecs | grep install`
  49. +AVAILABLE=`apt-cache show libxine1-ffmpeg | grep Package`
  50. +INSTALLED=`dpkg --get-selections libxine1-ffmpeg | grep install`
  51.  RELEASE=`lsb_release -sc`
  52.  
  53.  #is available, not installed
  54.  if [ -n "$AVAILABLE" ] && [ -z "$INSTALLED" ]; then
  55.    if [ -x /usr/bin/kdesu ] && [ -x /usr/bin/adept_batch ]; then
  56. -    kdesu -d "bash -c \"kdialog --msgbox 'Fetching package list, please wait...' & apt-get update && killall kdialog; adept_batch install libxine-extracodecs\""
  57. +    kdesu -d "bash -c \"kdialog --msgbox 'Fetching package list, please wait...' & apt-get update && killall kdialog; adept_batch install libxine1-ffmpeg\""
  58.    elif [ -x /usr/bin/gksudo ] && [ -x /usr/sbin/synaptic ]; then
  59. -    gksudo "bash -c 'apt-get update && echo libxine-extracodecs i | synaptic --set-selections --non-interactive'"
  60. +    gksudo "bash -c 'apt-get update && echo libxine1-ffmpeg i | synaptic --set-selections --non-interactive'"
  61.    else
  62. -    xterm -e 'sudo apt-get update && sudo apt-get install libxine-extracodecs'
  63. +    xterm -e 'sudo apt-get update && sudo apt-get install libxine1-ffmpeg'
  64.    fi
  65.    check_mp3
  66.  #not available, not installed
  67.  elif [ -z "$AVAILABLE" ] && [ -z "$INSTALLED" ]; then
  68.    if [ -x /usr/bin/kdialog ]; then
  69. -    kdialog --yesno "Do you want to enable restricted software from multiverse?"
  70. +    kdialog --yesno "Do you want to enable unsupported software from universe?"
  71.    elif [ -x /usr/bin/zenity ]; then
  72. -    zenity --question --text "Do you want to enable restricted software from multiverse?"
  73. +    zenity --question --text "Do you want to enable unsupported software from universe?"
  74.    else
  75. -    Xdialog --yesno "Do you want to enable restricted software from multiverse?" 7 60
  76. +    Xdialog --yesno "Do you want to enable unsupported software from universe?" 7 60
  77.    fi
  78.  
  79.    if [ $? -eq 0 ]; then
  80.      if [ -x /usr/bin/kdesu ] && [ -x /usr/bin/adept_batch ]; then
  81. -      kdesu  "bash -c \"kdialog --msgbox 'Fetching package list, please wait...' & echo deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe multiverse >> /etc/apt/sources.list && apt-get update && killall kdialog; adept_batch install libxine-extracodecs\""
  82. +      kdesu  "bash -c \"kdialog --msgbox 'Fetching package list, please wait...' & echo deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe >> /etc/apt/sources.list && apt-get update && killall kdialog; adept_batch install libxine1-ffmpeg\""
  83.      elif [ -x /usr/bin/gksudo ] && [ -x /usr/sbin/synaptic ]; then
  84. -      gksudo "bash -c 'echo deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe multiverse >> /etc/apt/sources.list && apt-get update && echo libxine-extracodecs i | synaptic --set-selections --non-interactive'"
  85. +      gksudo "bash -c 'echo deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe >> /etc/apt/sources.list && apt-get update && echo libxine1-ffmpeg i | synaptic --set-selections --non-interactive'"
  86.      else
  87. -      echo -e '#! /bin/sh\necho "deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe multiverse" >> /etc/apt/sources.list' > /tmp/sources_list.sh
  88. +      echo -e '#! /bin/sh\necho "deb http://archive.ubuntu.com/ubuntu/ $RELEASE universe" >> /etc/apt/sources.list' > /tmp/sources_list.sh
  89.        chmod +x /tmp/sources_list.sh
  90. -      xterm -e 'sudo /tmp/sources_list.sh && sudo apt-get update && sudo apt-get install libxine-extracodecs'
  91. +      xterm -e 'sudo /tmp/sources_list.sh && sudo apt-get update && sudo apt-get install libxine1-ffmpeg'
  92.        rm -f /tmp/sources_list.sh
  93.      fi
  94.    else

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right