Page 1 of 1
Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 11:11
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:
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!
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 14:14
by emariz
Exactly which dependency prevents its direct installation? A simple dependency check showed no errors.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 14:31
by L_V
No dependency problem with minitube_2.0-1_i386.deb from SID.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 15:22
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!
Minitube 2.0 has appeared in sid! Just download and install it using the gdebi package installer
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.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 15:27
by vbrummond
I concur. I generally don't use a package if it can't be built in my environment.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 15:32
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.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-05-25 18:19
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.
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-07-25 01:56
by rfs1970
@kedaha:
Thanks for sharing...
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-11-09 18:48
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
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-11-21 09:08
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
Re: Backport minitube 2.0 from sid to wheezy
Posted: 2013-11-22 07:50
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.