[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to install hacked libgtk+2.0-0?



- --- Steve Greenland <steveg@moregruel.net> wrote:
> Date: Sat, 11 Jan 2003 13:36:27 -0600
> From: Steve Greenland <steveg@moregruel.net>
> To: Adam <ack94598@yahoo.com>
> CC: debian-devel@lists.debian.org
> Subject: Re: How to install hacked libgtk+2.0-0?
> 
> On 11-Jan-03, 01:50 (CST), Adam <ack94598@yahoo.com> wrote: 
> > I wish to install a hacked libgtk+2.0-0. I already installed the
> > package, so I think I do not need to use equivs, I can just copy
> the
> > files to the appropriate places (of course when I do an upgrade I
> will
> > lose the changes but that is ok). Should I just do a 'make install'
> > in my (hacked) upstream/tarballs/gtk+-2.2.0 and it will do the
> right
> > thing? If not what should I do?
> 
> I've always found the easiest thing to do was to 'apt-get source
> package', hack on it (or apply existing packages, whatever), edit the
> changelog to create a new version (and you can do this in such a way
> as to discourage upgrades from the Debian archives), and create a new
> Debian package and install it.


Here is what I ended up doing (different library but same prinicple):

# apt-get update
$ cd ~/x; apt-get -t unstable source libvte4
# apt-get -t unstable build-dep libvte4
$ dpkg-source -x vte_0.10.10-2.dsc
$ cd vte-0.10.10
$ fakeroot debian/rules build
$ fakeroot debian/rules binary
# su -c "dpkg -i ../libvte4_0.10.10-2_i386.deb"
 
(now edit something in ~/x/vte-0.10.10/src/)
 
$ fakeroot debian/rules build
$ fakeroot debian/rules binary
# su -c "dpkg -i ../libvte4_0.10.10-2_i386.deb"

Works great!


> Steve

Adam


(Thanks to the Debian Reference section 2.2.13
http://qref.sourceforge.net/Debian/reference/ch-system.en.html#s-sourcebuild
this thing is a life saver, cannot praise it highly enough)



Reply to: