Packaging for openSUSE

View: New views
11 Messages — Rating Filter:   Alert me  

Packaging for openSUSE

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,  I'm one of Novell's packagers and have been asked to get Tao into
the openSUSE build service.  I've run into a few difficulties.  The
prebuild system doesn't seem to be able to generate a good autotools
build from the 2.0.0 sources available on sf.net.

If the debian folks don't mind I'd love to hear their experiences.  I
notice that rather than the 2.0.0 release you've uploaded an svn
snapshot.  Was this necessary to get it building on Linux / Mono?

Thanks in Advance,

--
Andrew Jorgensen <ajorgensen@...>
Novell, Inc.

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by David_Hudson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

You would want to use an SVN snapshot since that has a better version of
prebuild. Debian has been using it to generate the autotools files. Note
that debian also has a few patches to the autotools files as well. That
said, everyone is interested in geting rid of prebuild, so any any help in
that regard would be greatly appreciated.

Dave

tao-list-bounces@... wrote on 12/11/2007 02:23:39 PM:

> Hi,  I'm one of Novell's packagers and have been asked to get Tao into
> the openSUSE build service.  I've run into a few difficulties.  The
> prebuild system doesn't seem to be able to generate a good autotools
> build from the 2.0.0 sources available on sf.net.
>
> If the debian folks don't mind I'd love to hear their experiences.  I
> notice that rather than the 2.0.0 release you've uploaded an svn
> snapshot.  Was this necessary to get it building on Linux / Mono?
>
> Thanks in Advance,
>
> --
> Andrew Jorgensen <ajorgensen@...>
> Novell, Inc.
>
> _______________________________________________
> Tao-list mailing list
> Tao-list@...
> http://galactus.ximian.com/mailman/listinfo/tao-list

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Rob Loach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

What would be required in getting rid of prebuild?  Just the creation of
all the projects in MonoDevelop, as well as the script to build the
project using NAnt?

Rob


David_Hudson@... wrote:

> Hi,
>
> You would want to use an SVN snapshot since that has a better version of
> prebuild. Debian has been using it to generate the autotools files. Note
> that debian also has a few patches to the autotools files as well. That
> said, everyone is interested in geting rid of prebuild, so any any help in
> that regard would be greatly appreciated.
>
> Dave
>
> tao-list-bounces@... wrote on 12/11/2007 02:23:39 PM:
>
>  
>> Hi,  I'm one of Novell's packagers and have been asked to get Tao into
>> the openSUSE build service.  I've run into a few difficulties.  The
>> prebuild system doesn't seem to be able to generate a good autotools
>> build from the 2.0.0 sources available on sf.net.
>>
>> If the debian folks don't mind I'd love to hear their experiences.  I
>> notice that rather than the 2.0.0 release you've uploaded an svn
>> snapshot.  Was this necessary to get it building on Linux / Mono?
>>
>> Thanks in Advance,
>>
>> --
>> Andrew Jorgensen <ajorgensen@...>
>> Novell, Inc.
>>
>> _______________________________________________
>> Tao-list mailing list
>> Tao-list@...
>> http://galactus.ximian.com/mailman/listinfo/tao-list
>>    
>
> _______________________________________________
> Tao-list mailing list
> Tao-list@...
> http://galactus.ximian.com/mailman/listinfo/tao-list
>  

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by David_Hudson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Create project files for VS2005 (easy), NAnt (easy) and autotools (hard).
Then add them to SVN and remove prebuild from the the scripts. The
autotools/prebuild files actually move the C# code files around quite a bit
to simplify the build. I understand the need for this, but I would really
hope there is a better way to do this.

Dave

Rob Loach <robloach@...> wrote on 12/12/2007 08:45:20 AM:

> Hi,
>
> What would be required in getting rid of prebuild?  Just the creation of
> all the projects in MonoDevelop, as well as the script to build the
> project using NAnt?
>
> Rob
>
>
> David_Hudson@... wrote:
> > Hi,
> >
> > You would want to use an SVN snapshot since that has a better version
of
> > prebuild. Debian has been using it to generate the autotools files.
Note
> > that debian also has a few patches to the autotools files as well. That
> > said, everyone is interested in geting rid of prebuild, so any any help
in

> > that regard would be greatly appreciated.
> >
> > Dave
> >
> > tao-list-bounces@... wrote on 12/11/2007 02:23:39 PM:
> >
> >
> >> Hi,  I'm one of Novell's packagers and have been asked to get Tao into
> >> the openSUSE build service.  I've run into a few difficulties.  The
> >> prebuild system doesn't seem to be able to generate a good autotools
> >> build from the 2.0.0 sources available on sf.net.
> >>
> >> If the debian folks don't mind I'd love to hear their experiences.  I
> >> notice that rather than the 2.0.0 release you've uploaded an svn
> >> snapshot.  Was this necessary to get it building on Linux / Mono?
> >>
> >> Thanks in Advance,
> >>
> >> --
> >> Andrew Jorgensen <ajorgensen@...>
> >> Novell, Inc.
> >>
> >> _______________________________________________
> >> Tao-list mailing list
> >> Tao-list@...
> >> http://galactus.ximian.com/mailman/listinfo/tao-list
> >>
> >
> > _______________________________________________
> > Tao-list mailing list
> > Tao-list@...
> > http://galactus.ximian.com/mailman/listinfo/tao-list
> >
>

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2007-12-12 at 08:19 -0800, David_Hudson@... wrote:
> You would want to use an SVN snapshot since that has a better version of
> prebuild. Debian has been using it to generate the autotools files. Note
> that debian also has a few patches to the autotools files as well. That
> said, everyone is interested in geting rid of prebuild, so any any help in
> that regard would be greatly appreciated.

So I think what I'll do for the first round is use the tarball debian
made and their patches as well.

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Problems compiling against Mono 1.2.6

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's a problem compiling against mono 1.2.6, I'm not sure if it's a
mono problem or a Tao problem:

make[1]: Entering directory `/usr/src/packages/BUILD/tao-2.0.0.svn20071027/Tao.OpenGl/Tao.OpenGl'
mkdir -p doc && mkdir -p bin/Debug && /usr/bin/gmcs /out:bin/Debug/Tao.OpenGl.dll \
                /target:library \
                /r:System \
                ./Gl.cs ./GlExtensionLoader.cs ./GlHelper.cs ./Glu.cs ./Properties/AssemblyInfo.cs \
                /doc:doc/Tao.OpenGl.xml \
                /keyfile:./Tao.OpenGl.snk \
                /unsafe \
        && rm -f Tao.OpenGl.dll \
        && ln bin/Debug/Tao.OpenGl.dll Tao.OpenGl.dll
error CS1569: Error generating XML documentation file `doc/Tao.OpenGl.xml' (`Operation is not supported.')
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Debug/Tao.OpenGl.dll] Error 1

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Parent Message unknown Re: Problems compiling against Mono 1.2.6

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2007-12-16 at 22:53 +0200, Stephen Apostolopoulos wrote:
> The problem is with Tao.OpenGl, Is this from SVN? Easy to fix, just add
> "#pragma warning disable 1529" to Gl.cs - I'll update Tao.GlBindGen to do
> just that.

This doesn't appear to solve the problem for me:

/Gl.cs(11,1): error CS1024: Wrong preprocessor directive
/Gl.cs(12,1): warning CS1691: `1529' is not a valid warning number

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've worked past an issue with mono 1.2.6 (turns out to be a bug in the
compiler ) and am looking a few other issues.

I'm not complaining about how the debian folks did things here, just
curious about the rationale.

First, debian renames or replaces the .pc files to lowercase.  Is this
desirable?  It seems that whatever we do out to be consistent across
distros or the .pc files are useless to developers wanting to use them.

Second, debian separates the opengl and freeglut, etc. parts into
sub-packages even though they appear to be interdependent.

Third, Cg and Glfw are not packaged at all.  Presumably because the
native libraries are not available in debian?

Any feedback is appreciated.  The packaging sources can be seen in the
openSUSE build service here:
https://build.opensuse.org/package/show?project=home:ajorgensen:mono&package=taoframework

Right now our package is based on the debian work.

Regards,
Andrew Jorgensen

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Rob Loach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andrew,

> I've worked past an issue with mono 1.2.6 (turns out to be a bug in the
> compiler ) and am looking a few other issues.
>
> I'm not complaining about how the debian folks did things here, just
> curious about the rationale.
>
> First, debian renames or replaces the .pc files to lowercase.  Is this
> desirable?  It seems that whatever we do out to be consistent across
> distros or the .pc files are useless to developers wanting to use them.
>  
There's absolutely no problem with lowercasing the package files, as
long as the final binary files have the casing (Tao.OpenGl.dll, etc).

> Second, debian separates the opengl and freeglut, etc. parts into
> sub-packages even though they appear to be interdependent.
>  
What system do you recommend?

> Third, Cg and Glfw are not packaged at all.  Presumably because the
> native libraries are not available in debian?
>  
I'm pretty sure that's why they were left out.  If those projects get
Debian packages in the future, we could support them.

> Any feedback is appreciated.  The packaging sources can be seen in the
> openSUSE build service here:
> https://build.opensuse.org/package/show?project=home:ajorgensen:mono&package=taoframework
>
> Right now our package is based on the debian work.
>  
Looks great!  Thanks a lot for all the work you put into this.

--
Rob Loach
http://www.robloach.net
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Andrew Jorgensen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2008-01-10 at 12:04 -0500, Rob Loach wrote:
> > First, debian renames or replaces the .pc files to lowercase.  Is this
> > desirable?  It seems that whatever we do out to be consistent across
> > distros or the .pc files are useless to developers wanting to use them.
> >  
> There's absolutely no problem with lowercasing the package files, as
> long as the final binary files have the casing (Tao.OpenGl.dll, etc).

The problem I see with it is that programs that depend on Tao will use
pkgconfig to find the link flags but if some distros use lowercased .pc
files and some use uppercased the the developer cannot use pkgconfig in
a distro-independent way.

> > Second, debian separates the opengl and freeglut, etc. parts into
> > sub-packages even though they appear to be interdependent.

This one was cleared up for me by Stephen Apostolopoulos, they are not
inter-dependent.

> > Third, Cg and Glfw are not packaged at all.  Presumably because the
> > native libraries are not available in debian?
> >  
> I'm pretty sure that's why they were left out.  If those projects get
> Debian packages in the future, we could support them.

I'll be leaving them out for now.

> Looks great!  Thanks a lot for all the work you put into this.

Thanks!  And thanks for your feedback.

_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list

Re: Packaging for openSUSE

by Sam Hocevar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jan 09, 2008, Andrew Jorgensen wrote:

> First, debian renames or replaces the .pc files to lowercase.  Is this
> desirable?  It seems that whatever we do out to be consistent across
> distros or the .pc files are useless to developers wanting to use them.

   I suggested this naming convention to the Tao developers for
consistency with other .pc files (http://www.taoframework.com/node/432).
Out of the 218 .pc files I have on my system, only two (OpenEXR.pc and
SDL_Pango.pc) use uppercase characters.

> Third, Cg and Glfw are not packaged at all.  Presumably because the
> native libraries are not available in debian?

   Yes, exactly.

> Right now our package is based on the debian work.

   I just started to check in native (ie. Prebuild-free) autotools
support in the Tao SVN. As most of my experience is with Debian, I may
have done a few things too Debian-centric, so please let me know of
anything that might be annoying for the SUSE packaging.

Cheers,
--
Sam.
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list