Re: Warp: RSS Package Manager

"Neil Munro" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
2008/5/30 Isak Savo <[email protected]>:

> On Wed, May 28, 2008 at 2:22 PM, Neil Munro <[email protected]> wrote:
> >
> > 2008/5/28 Isak Savo <[email protected]>:
> >>
> >> Cool, so you mentioned it was written in c#. Did it work well to
> >> package mono applications with autopackage? I've been meaning to add
> >> better support for mono based apps in autopackage for a while and it'd
> >> be interesting to hear your issues.
> >
> > I do not know HOW to autopackage anything, I tried to package pidgin once
> > and could not do it. I have very little understanding of how autopackage
> > actually works, if someone can help me package it I will try, if only to
> > help discover the potential issues packaging a mono app might show up.
>
> I assume you've read the tutorial and quick start guide on the web?
> They contain most of what you need to know to get started. It's always
> easier to start with a simple package (pidgin is rather complicated
> IMO) to get an understanding of the basics.
>
> In your case, you'd need to check that mono  exists and that its the
> correct version. We currently don't support this, but work has at
> least started ( http://trac.autopackage.org/wiki/PackagingMonoApps ).



Looking at the quick start guide and I get to the binreloc stage is there a
C# mode for binreloc? I don't have any hard coded paths at the moment,
everything is all contained in a relative directory so I do even need to use
binreloc at this point?


>
>
> >>
> >> Just curious, why do you need to call bash? You should have access to
> >> pretty much the entire POSIX api (or equivalent .NET api) from mono.
> >
> > The API is very complicated and including the mono namespaces created a
> > dependency on them which resulted in the source not compiling under
> windows.
> > My main issue was setting permissions, it involved bitwise operations
> which
> > while I had a vague understanding of what was happening I wasn't fully
> aware
> > of what to do. It was mostly setting a script file or autopackage to be
> > executable that was the problem. So I created a process that called
> chmod.
>
> Ok, I understand.


Is that practice frowned upon? I'm learning to program all by myself without
any one really showing me better ways of doing things and best practice
methods and I would prefer to get things efficient and right if I can. So if
my work around is a bit nasty and hacky I'll move back to bitwise
operations. Can probably fix the dependency by checking if the system is a
unix one only then use Mono.Native.Unix.UnixFileProcess that works around
the dependency issue on windows.

>
>
> -Isak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
> For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.