RE: How do I update ONLY GLib?
- From: "Warren Fenlon" <wrfpublic charter net>
- To: 'David Nečas (Yeti)' <yeti physics muni cz>, <gtk-list gnome org>
- Subject: RE: How do I update ONLY GLib?
- Date: Wed, 20 Dec 2006 20:42:35 -0600
Yeti, Wow! I am learning all kinds of useful skills today! Good stuff. I
had just a few questions on the procedure you outlined below...
1. Is the difference between a tar.gz and a tar.bz2 just different
compression algorithms?
2. I did not see any obvious errors from the rpmbuild command and the last
line displayed "exit 0"... Is there anything else I should look for in the
output?
3. I see that I now have 2 rpms in ~/rpmbuild/RPMS/i386, regular and devel
versions. Since everything went well with the rpmbuild, is the idea now
that I install one of these rpms "for real"? And if something doesn't work
right, I can uninstall the rpm?
4. What extras do I get with the devel rpm?
Thanks for all the good input -- Warren
-----Original Message-----
From: gtk-list-bounces gnome org [mailto:gtk-list-bounces gnome org] On
Behalf Of David Necas (Yeti)
Sent: Wednesday, December 20, 2006 5:29 PM
To: gtk-list gnome org
Subject: Re: How do I update ONLY GLib?
On Wed, Dec 20, 2006 at 04:50:56PM -0600, Warren Fenlon wrote:
> Ok, that sounds like an interesting possibility, but I am something of a
> neophyte when it comes to compiling system "stuff". I DO know how to
> install rpms anyway. My assumption from the src.rpm name is that it is
> source only files and after installing it there is a build step,
Yes,
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch-rpm-overview.html#id292
8597
> 1. What is the "spec" file?,
A recipe to build the package, it's inside the src.rpm.
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch08s02.html
and
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch-specfiles.html
> 2. How do I "inform" the build process where my new glib files are?
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch08s02.html#id2966521
> 3. What is the build syntax?
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch08s02.html#id2966991
> Probably pretty basic questions, but I really do NOT want to screw up my
> system :-).
Well, then it's really preferable to install it to
a non-system location following Tristan's instructions.
Anyway (as a user, not root):
# Set up the build tree in ~/rpmbuild
echo "%_topdir $HOME/rpmbuild" >>~/.rpmmacros
mkdir -p
$HOME/rpmbuild/{SPECS,SOURCES,RPMS/{noarch,i386,i586,i686,x86_64},SRPMS,BUIL
D}
# Fix the pkg
rpm -i glib2-2.4.7-1.src.rpm
cp glib-2.12.6.tar.bz2 ~/rpmbuild/SOURCES/
vim ~/rpmbuild/SPECS/glib2.spec
[... change Version field ...]
# Build
rpmbuild -bb ~/rpmbuild/SPECS/glib2.spec
Yeti
--
Whatever.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]