Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Backport minitube 2.0 from sid to wheezy

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Backport minitube 2.0 from sid to wheezy

#1 Post by kedaha »

The method is based on SimpleBackportCreation Alternative (more simple method) to port a package to wheezy.
Add ONLY a "deb-src ..." line for sid to your sources.list:
As root:

Code: Select all

# echo "deb-src http://ftp.us.debian.org/debian unstable main" >> /etc/apt/sources.list && apt-get update
or just add it using synaptic or by directly editing the /etc/apt/sources.list file if you prefer.

Code: Select all

# apt-get install build-essential
# apt-get build-dep minitube
# exit
As normal user, build it:

Code: Select all

$ apt-get -b source minitube
Now the ls command will show:

Code: Select all

Desktop       minitube_2.0-1_amd64.changes  minitube_2.0.orig.tar.gz  Templates
Documents     minitube_2.0-1_amd64.deb      Music                     Videos
Downloads     minitube_2.0-1.debian.tar.xz  Pictures
minitube-2.0  minitube_2.0-1.dsc            Public
Now install the deb:

Code: Select all

$ su -c "dpkg -i minitube_2.0-1_amd64.deb"
Password: 
You may also need to do:

Code: Select all

# apt-get install phonon-backend-gstreamer
Enjoy!
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

emariz
Posts: 2901
Joined: 2008-10-17 07:59

Re: Backport minitube 2.0 from sid to wheezy

#2 Post by emariz »

Exactly which dependency prevents its direct installation? A simple dependency check showed no errors.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Backport minitube 2.0 from sid to wheezy

#3 Post by L_V »

No dependency problem with minitube_2.0-1_i386.deb from SID.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Backport minitube 2.0 from sid to wheezy

#4 Post by kedaha »

Quite often packages can be installed directly from sid or testing, apparently without backporting, for example, compiz may be installed as detailed in forums.debian.net/viewtopic.php?p=436909 or the r8168 - dkms network driver as in viewtopic.php?f=5&t=85431#p455626; however, I'm simply going by the advice given in Newer_Software_For_Debian_Stable.
Backporting (recompiling and repackaging) is the only safe way to install packages from Debian Sid or Debian Testing on a Debian stable system. Do not install such packages without backporting.
It may, in some cases, be quite safe to install a package from sid directly without backporting and expert users can determine if it is OK but if one just posts a topic on the lines of:
Hooray! :D Minitube 2.0 has appeared in sid! Just download and install it using the gdebi package installer :D
then perhaps one is encouraging a rather careless approach to obtaining newer software in stable. I also noticed that the package in question can be installed directly; nevertheless, backporting it is the recommended way of doing it, especially in view of some of the mixed-up /etc/apt/sources.list files that get posted here. :wink:
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Backport minitube 2.0 from sid to wheezy

#5 Post by vbrummond »

I concur. I generally don't use a package if it can't be built in my environment.
Always on Debian Testing

emariz
Posts: 2901
Joined: 2008-10-17 07:59

Re: Backport minitube 2.0 from sid to wheezy

#6 Post by emariz »

kedaha wrote:I also noticed that the package in question can be installed directly; nevertheless, backporting it is the recommended way of doing it
But checking the dependencies is the only fun part of backporting, and you did not write about it. Even backporting testdisk from Sid to Squeeze was more interesting, and it only needed one (independent) library.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Backport minitube 2.0 from sid to wheezy

#7 Post by kedaha »

emariz wrote:
kedaha wrote:I also noticed that the package in question can be installed directly; nevertheless, backporting it is the recommended way of doing it
But checking the dependencies is the only fun part of backporting, and you did not write about it. Even backporting testdisk from Sid to Squeeze was more interesting, and it only needed one (independent) library.
Yes, it's not so interesting if there are no hitches. I've tried backporting compiz with the same procedure but didn't it build as might've been expected, having seen Craigevil's post; but more of that, maybe, in a different topic.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
rfs1970
Posts: 1
Joined: 2009-11-27 09:50

Re: Backport minitube 2.0 from sid to wheezy

#8 Post by rfs1970 »

@kedaha:
Thanks for sharing...
;)

eliadem
Posts: 1
Joined: 2013-11-09 18:38

Re: Backport minitube 2.0 from sid to wheezy

#9 Post by eliadem »

INCROYABLE ..... BRAVO ....
it works fine (sorry for my english i am french ... (frogs if you prefer))

Friends good !! (as the Frankeistein's monster say)

Merci beaucoup ...
I learn how to do a dpkg build to a target

Thanks a lot

Guy

User avatar
MagiChimp
Posts: 74
Joined: 2013-10-30 12:05

Re: Backport minitube 2.0 from sid to wheezy

#10 Post by MagiChimp »

Worked like a charm kedaha thanks and yes I had to
apt-get install phonon-backend-gstreamer
I had no sound and that solved it :P

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Backport minitube 2.0 from sid to wheezy

#11 Post by kedaha »

Thanks for the replies which are encouraging. The idea was just to post an example of how to backport a useful package to stable oneself where it was not available from Debian backports rather than "upgrade" to testing to obtain such software.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply