Backport minitube 2.0 from sid to wheezy

Here you can discuss every aspect of Debian. Note: not for support requests!

Backport minitube 2.0 from sid to wheezy

Postby kedaha » 2013-05-25 11:11

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!
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26

Re: Backport minitube 2.0 from sid to wheezy

Postby emariz » 2013-05-25 14:14

Exactly which dependency prevents its direct installation? A simple dependency check showed no errors.
emariz
 
Posts: 2641
Joined: 2008-10-17 07:59

Re: Backport minitube 2.0 from sid to wheezy

Postby L_V » 2013-05-25 14:31

No dependency problem with minitube_2.0-1_i386.deb from SID.
L_V
 
Posts: 641
Joined: 2007-03-19 09:04

Re: Backport minitube 2.0 from sid to wheezy

Postby kedaha » 2013-05-25 15:22

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:
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26

Re: Backport minitube 2.0 from sid to wheezy

Postby vbrummond » 2013-05-25 15:27

I concur. I generally don't use a package if it can't be built in my environment.
vbrummond
 
Posts: 4344
Joined: 2010-03-02 01:42

Re: Backport minitube 2.0 from sid to wheezy

Postby emariz » 2013-05-25 15:32

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.
emariz
 
Posts: 2641
Joined: 2008-10-17 07:59

Re: Backport minitube 2.0 from sid to wheezy

Postby kedaha » 2013-05-25 18:19

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.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26

Re: Backport minitube 2.0 from sid to wheezy

Postby rfs1970 » 2013-07-25 01:56

@kedaha:
Thanks for sharing...
;)
User avatar
rfs1970
 
Posts: 1
Joined: 2009-11-27 09:50

Re: Backport minitube 2.0 from sid to wheezy

Postby eliadem » 2013-11-09 18:48

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
eliadem
 
Posts: 1
Joined: 2013-11-09 18:38

Re: Backport minitube 2.0 from sid to wheezy

Postby MagiChimp » 2013-11-21 09:08

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
User avatar
MagiChimp
 
Posts: 74
Joined: 2013-10-30 12:05

Re: Backport minitube 2.0 from sid to wheezy

Postby kedaha » 2013-11-22 07:50

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.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2297
Joined: 2008-05-24 12:26


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable