Mailing List Archive

Upgrading from RPMS to CVS and back
Ok, I got to ask this: is there an easy way to upgrade from RPM's to CVS version and back?

From what I saw playing with it a while back, "make install" places files in different directories than rpms, making installing one over the other a bit difficult. I am considering right now altering the spec file to allow building from CVS - so that we can build our own interim rpms, but I am wondering there already is a simple way to do this? Not sure I want to re-invent the wheel.

-M
Re: Upgrading from RPMS to CVS and back [ In reply to ]
Max wrote:

> Ok, I got to ask this: is there an easy way to upgrade from
> RPM's to CVS version and back?

Thought it was fairly easy, I did it. Had to get some packages freshrpms.net
though (the only one I had to build by hand was libcd(?))

> From what I saw playing with it a while back, "make install" places
> files in different directories than rpms, making installing one over
> the other a bit difficult. I am considering right now altering the
> spec file to allow building from CVS - so that we can build our own
> interim rpms, but I am wondering there already is a simple way to do
> this? Not sure I want to re-invent the wheel.

I've not played with spec files, but ain't it someone maintaining rpms?

I've build from CVS since about a month ago, needed DVB. And it works great,
lots of new features also. But be sure to read the docs:
http://www.mythtv.org/docs/mythtv-HOWTO-5.html

And remeber to update your database (hint: cvs.mysql)

The path back might be hard, but once your here you won't go back ;)


Kenneth

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
Kenneth Aafløy wrote:
> Max wrote:
>
> > Ok, I got to ask this: is there an easy way to upgrade from
> > RPM's to CVS version and back?
>
> Thought it was fairly easy, I did it. Had to get some packages
freshrpms.net
> though (the only one I had to build by hand was libcd(?))
>
> > From what I saw playing with it a while back, "make install" places
> > files in different directories than rpms, making installing one over
> > the other a bit difficult. I am considering right now altering the
> > spec file to allow building from CVS - so that we can build our own
> > interim rpms, but I am wondering there already is a simple way to do
> > this? Not sure I want to re-invent the wheel.
>
> I've not played with spec files, but ain't it someone maintaining rpms?
>
> I've build from CVS since about a month ago, needed DVB. And it works
great,
> lots of new features also. But be sure to read the docs:
> http://www.mythtv.org/docs/mythtv-HOWTO-5.html
>
> And remeber to update your database (hint: cvs.mysql)
>
> The path back might be hard, but once your here you won't go back ;)

Ahh, forgot to mention, I have RedHat 9.

And remember to edit settings.pro for optimization and the dir to install.


Kenneth

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
> Ok, I got to ask this: is there an easy way to upgrade from RPM's to
> CVS version and back?

I have spec files that compile RPM's from cvs (slightly modified
versions of Axel's cvs specs, which he hasn't touched in awhile). It'd
be nice if Isaac were ok with including spec's right in the myth source
tree during CVS (or letting people distribute cvs binaries), but for
now, I can make them available if people really want them.

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
hey, can you send me those spec files? I was in the middle of doing this
myself, but if you already have them done, I'd really appreciate you sending
them to me. Thanks.

Is there a reason Isaac is against including spec's? Or is it simply a
time/priority thing? Or is it that nobody ever asked him?

It would be nice if CVS version and RPMs played nice with each other,
although DB versioning is still an issue.

-M

----- Original Message -----
From: "Chris Petersen" <lists@forevermore.net>
To: "Discussion about mythtv" <mythtv-users@mythtv.org>
Sent: Sunday, August 03, 2003 4:46 PM
Subject: Re: [mythtv-users] Upgrading from RPMS to CVS and back


> > Ok, I got to ask this: is there an easy way to upgrade from RPM's to
> > CVS version and back?
>
> I have spec files that compile RPM's from cvs (slightly modified
> versions of Axel's cvs specs, which he hasn't touched in awhile). It'd
> be nice if Isaac were ok with including spec's right in the myth source
> tree during CVS (or letting people distribute cvs binaries), but for
> now, I can make them available if people really want them.
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
> hey, can you send me those spec files? I was in the middle of doing this
> myself, but if you already have them done, I'd really appreciate you sending
> them to me. Thanks.

actually, here is a link to Axel's things. He includes a couple of nice
patches for directory stuff, etc. Also, you'll need the some .desktop
files and other stuff he includes, which you should be able to get from
the src rpm for .10

http://atrpms.physik.fu-berlin.de/dist/rh9/myth-cvs/

last I checked, there were a couple of broken BuildRequires statements,
but he knows about them and has hopefully fixed them.

> Is there a reason Isaac is against including spec's? Or is it simply a
> time/priority thing? Or is it that nobody ever asked him?

You'll have to ask him about this. Though as I understand it, his
dislike is more for distributing binary versions of CVS.

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: Upgrading from RPMS to CVS and back [ In reply to ]
Please send me a copy of the spec files.

Thanks,

Joel

-----Original Message-----
From: mythtv-users-bounces@mythtv.org
[mailto:mythtv-users-bounces@mythtv.org]On Behalf Of Max
Sent: Sunday, August 03, 2003 6:58 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Upgrading from RPMS to CVS and back


hey, can you send me those spec files? I was in the middle of doing this
myself, but if you already have them done, I'd really appreciate you sending
them to me. Thanks.

Is there a reason Isaac is against including spec's? Or is it simply a
time/priority thing? Or is it that nobody ever asked him?

It would be nice if CVS version and RPMs played nice with each other,
although DB versioning is still an issue.

-M

----- Original Message -----
From: "Chris Petersen" <lists@forevermore.net>
To: "Discussion about mythtv" <mythtv-users@mythtv.org>
Sent: Sunday, August 03, 2003 4:46 PM
Subject: Re: [mythtv-users] Upgrading from RPMS to CVS and back


> > Ok, I got to ask this: is there an easy way to upgrade from RPM's to
> > CVS version and back?
>
> I have spec files that compile RPM's from cvs (slightly modified
> versions of Axel's cvs specs, which he hasn't touched in awhile). It'd
> be nice if Isaac were ok with including spec's right in the myth source
> tree during CVS (or letting people distribute cvs binaries), but for
> now, I can make them available if people really want them.
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: Upgrading from RPMS to CVS and back [ In reply to ]
> Please send me a copy of the spec files.

ok, I've moved everything myth-related of mine to:

http://forevermore.net/myth/

this currently includes my nuvexport script and my modified/updated myth
spec files (along with assocated sources).

To use the specs, untar them to your "redhat" (rpm build) directory -
the archive contains both SOURCES and SPECS directories, but you'll have
to supply your own binaries. For that, I've also included my cvs tool
scripts that update my current CVS tree and spec files with the current
date and version info. For lack of a better cvs versioning scheme (ala
Pan), I've just set the version to .11 since rpm sees "cvs######" as
being less than "1" so it all works out fine when the final version
comes out. YOU WILL NEED TO EDIT THE SCRIPTS to set your own directory
paths.

Anyway, that should do it for anyone who wants to run rpm's of cvs
stuff. I'll try to keep my copies updated as Axel updates his spec
files (since his are the semi-official ones, and he's better at this
kind of thing than I am).

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: Upgrading from RPMS to CVS and back [ In reply to ]
I was unable to access update_spec.pl.

Joel

-----Original Message-----
From: mythtv-users-bounces@mythtv.org
[mailto:mythtv-users-bounces@mythtv.org]On Behalf Of Chris Petersen
Sent: Sunday, August 03, 2003 7:52 PM
To: Discussion about mythtv
Subject: RE: [mythtv-users] Upgrading from RPMS to CVS and back


> Please send me a copy of the spec files.

ok, I've moved everything myth-related of mine to:

http://forevermore.net/myth/

this currently includes my nuvexport script and my modified/updated myth
spec files (along with assocated sources).

To use the specs, untar them to your "redhat" (rpm build) directory -
the archive contains both SOURCES and SPECS directories, but you'll have
to supply your own binaries. For that, I've also included my cvs tool
scripts that update my current CVS tree and spec files with the current
date and version info. For lack of a better cvs versioning scheme (ala
Pan), I've just set the version to .11 since rpm sees "cvs######" as
being less than "1" so it all works out fine when the final version
comes out. YOU WILL NEED TO EDIT THE SCRIPTS to set your own directory
paths.

Anyway, that should do it for anyone who wants to run rpm's of cvs
stuff. I'll try to keep my copies updated as Axel updates his spec
files (since his are the semi-official ones, and he's better at this
kind of thing than I am).

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
Apache is interpreting it as a cgi script. I already sent Chris an email
about it.

-M

----- Original Message -----
From: "Joel Melohn" <jlmelohn@jcsm.com>
To: "Discussion about mythtv" <mythtv-users@mythtv.org>
Sent: Sunday, August 03, 2003 6:53 PM
Subject: RE: [mythtv-users] Upgrading from RPMS to CVS and back


> I was unable to access update_spec.pl.
>
> Joel
>
> -----Original Message-----
> From: mythtv-users-bounces@mythtv.org
> [mailto:mythtv-users-bounces@mythtv.org]On Behalf Of Chris Petersen
> Sent: Sunday, August 03, 2003 7:52 PM
> To: Discussion about mythtv
> Subject: RE: [mythtv-users] Upgrading from RPMS to CVS and back
>
>
> > Please send me a copy of the spec files.
>
> ok, I've moved everything myth-related of mine to:
>
> http://forevermore.net/myth/
>
> this currently includes my nuvexport script and my modified/updated myth
> spec files (along with assocated sources).
>
> To use the specs, untar them to your "redhat" (rpm build) directory -
> the archive contains both SOURCES and SPECS directories, but you'll have
> to supply your own binaries. For that, I've also included my cvs tool
> scripts that update my current CVS tree and spec files with the current
> date and version info. For lack of a better cvs versioning scheme (ala
> Pan), I've just set the version to .11 since rpm sees "cvs######" as
> being less than "1" so it all works out fine when the final version
> comes out. YOU WILL NEED TO EDIT THE SCRIPTS to set your own directory
> paths.
>
> Anyway, that should do it for anyone who wants to run rpm's of cvs
> stuff. I'll try to keep my copies updated as Axel updates his spec
> files (since his are the semi-official ones, and he's better at this
> kind of thing than I am).
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
> I think you may need to rename the perl script, since I think Apache is
> trying to run it

right click, save-as... but I've renamed it, thanks.




_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
Actually you can't do that. If you could do "save-as" on cgi scripts, most
of the web would be in deep trouble. Huge security hole.

I am now getting permission denied on the file (w/o pl extension)

-M

----- Original Message -----
From: "Chris Petersen" <lists@forevermore.net>
To: "Discussion about mythtv" <mythtv-users@mythtv.org>
Sent: Sunday, August 03, 2003 7:09 PM
Subject: Re: [mythtv-users] Upgrading from RPMS to CVS and back


> > I think you may need to rename the perl script, since I think Apache is
> > trying to run it
>
> right click, save-as... but I've renamed it, thanks.
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
> Actually you can't do that. If you could do "save-as" on cgi scripts, most
> of the web would be in deep trouble. Huge security hole.

true...

> I am now getting permission denied on the file (w/o pl extension)

ok, that should be fixed now, too...

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
Works great now. I am running the scripts as we speak.

I am actually trying to write a mythdvd spec file right now.

-M

----- Original Message -----
From: "Chris Petersen" <lists@forevermore.net>
To: "Discussion about mythtv" <mythtv-users@mythtv.org>
Sent: Sunday, August 03, 2003 7:26 PM
Subject: Re: [mythtv-users] Upgrading from RPMS to CVS and back


> > Actually you can't do that. If you could do "save-as" on cgi scripts,
most
> > of the web would be in deep trouble. Huge security hole.
>
> true...
>
> > I am now getting permission denied on the file (w/o pl extension)
>
> ok, that should be fixed now, too...
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
I'd like copies of the spec files, they'd be useful for the installer
I've been working on.

On Sun, 2003-08-03 at 18:46, Chris Petersen wrote:
> > Ok, I got to ask this: is there an easy way to upgrade from RPM's to
> > CVS version and back?
>
> I have spec files that compile RPM's from cvs (slightly modified
> versions of Axel's cvs specs, which he hasn't touched in awhile). It'd
> be nice if Isaac were ok with including spec's right in the myth source
> tree during CVS (or letting people distribute cvs binaries), but for
> now, I can make them available if people really want them.
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Upgrading from RPMS to CVS and back [ In reply to ]
> I'd like copies of the spec files, they'd be useful for the installer
> I've been working on.

Doesn't anyone read followup posts?

http://forevermore.net/myth

check my posts to this thread for more info about the scripts, etc.

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users