Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-25 Thread anatoly techtonik
On Tue, Feb 16, 2016 at 11:01 PM, Bill Deegan  wrote:
> Anatoly,
>
> Yes.
> Was it you or Dirk or Gary who was also trying various upgrade/migrations?

I don't know. I upgraded MoinMoin a few times, but never looked into
its internal structures, and I don't remember having a backup for it.

> On Tue, Feb 16, 2016 at 2:26 PM, anatoly techtonik 
> wrote:
>>
>> If I remember correctly MoinMoin is file based, so every page is a
>> separate file. No?
>> ___
>> Scons-dev mailing list
>> Scons-dev@scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>



-- 
anatoly t.
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-16 Thread Bill Deegan
Anatoly,

Yes.
Was it you or Dirk or Gary who was also trying various upgrade/migrations?

-Bill

On Tue, Feb 16, 2016 at 2:26 PM, anatoly techtonik 
wrote:

> If I remember correctly MoinMoin is file based, so every page is a
> separate file. No?
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-16 Thread anatoly techtonik
If I remember correctly MoinMoin is file based, so every page is a
separate file. No?
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-10 Thread Bill Deegan
I haven't found the file in any of the backups I have.
It may be gone.
I'll look on a few other machines where I may have made a copy to work on
upgrading,etc.

-Bill

On Mon, Feb 1, 2016 at 1:24 AM, Russel Winder  wrote:

> On Sun, 2016-01-31 at 22:14 +0200, anatoly techtonik wrote:
> >
> […]
> > Wiki usually contains more info and useful user feedback. So is it
> > possible to recover that page to ensure that nothing important was
> > lost?
>
> I think it would be worth having the page recovered if at all possible.
> > >
> […]
> > Currently it is done with
> > env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS
> > pango" + backend + version_arg)
> > https://github.com/wesnoth/wesnoth/blob/master/scons/pango.py#L22
> >
> > but it assumes that I have development libs installed on the system
> > in
> > appropriate location. I am on Windows. But even on Linux I'd prefer
> > not
> > to install anything anyway just to compile one package. So instead I
> > unpack http://win-builds.org/doku.php/1.5.0_packages#pango_1341-1_-_l
> > ibrary_for_layout_and_rendering_of_text
> > and need to find all files there.
> >
> > Is that feasible?
>
> No. You have to have the development headers installed to do the
> compilation at all, and the *.pc files needed for pkg-config invariable
> come with the development headers.
>
> Pango comes with a lot of dependencies.
>
> > I also found this on PyPI - https://pypi.python.org/pypi/pykg-
> > config/1.3.0
> > which seems like it may help.
>
> Looks like an unmaintained project. Certainly we could fork this and
> have it inside SCons so as to replace the need for the external pkg-
> config program. The ParseConfig stuff could then be rewritten to make
> is very much easier to work with. Maybe this would lead to work on the
> whole Configure system, which is a wee bit difficult to work with at
> times.
>
>
> --
> Russel.
>
> =
> Dr Russel Winder  t: +44 20 7585 2200   voip:
> sip:russel.win...@ekiga.net
> 41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-01 Thread Russel Winder
On Sun, 2016-01-31 at 22:07 +0200, anatoly techtonik wrote:
> […]
> 
> So how can I use it? I don't have `pkg-config` installed and I can't
> install
> pango binary package from MinGW, but I need to get to includes, libs
> and
> C flags from this archive.

This add-on is all about using pkg-config, which is the standard
mechanism for dealing with library options and dependencies. If this is
not installed then it is down to manually knowing everything and
encoding it in the build.

If you cannot install Pango library, headers, and dependencies, I am
not sure there is any point in knowing the flags and libraries as you
won't be able to do any compilation.

Clearly I am missing something of the situation you are in. Sorry.

[…]
> 
> A most popular desktop system in the world. Somehow it happens that
> "Windows is awesome" and "Linux sucks 2016".

Everyone to their own view. :-)

> Also, a system where the problem with free mingw toolchain and
> pkg-config is more actual than for systems where these were designed
> to work.

Exactly. Pango, Fontconfig, etc. are alien to Windows, they are Linux
and UNIX things (that also work fairly well on the UNIX variant called
OSX). I am not convinced trying to get stuff that is alien to Windows
to work on Windows is worth the effort. 

I guess that using full on MinGW or Cygwin would make things a lot
easier, but last time I did anything like this was > 12 years ago.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-02-01 Thread Russel Winder
On Sun, 2016-01-31 at 22:14 +0200, anatoly techtonik wrote:
> 
[…]
> Wiki usually contains more info and useful user feedback. So is it
> possible to recover that page to ensure that nothing important was
> lost?

I think it would be worth having the page recovered if at all possible.
> > 
[…]
> Currently it is done with
> env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS
> pango" + backend + version_arg)
> https://github.com/wesnoth/wesnoth/blob/master/scons/pango.py#L22
> 
> but it assumes that I have development libs installed on the system
> in
> appropriate location. I am on Windows. But even on Linux I'd prefer
> not
> to install anything anyway just to compile one package. So instead I
> unpack http://win-builds.org/doku.php/1.5.0_packages#pango_1341-1_-_l
> ibrary_for_layout_and_rendering_of_text
> and need to find all files there.
> 
> Is that feasible?

No. You have to have the development headers installed to do the
compilation at all, and the *.pc files needed for pkg-config invariable
come with the development headers.

Pango comes with a lot of dependencies.

> I also found this on PyPI - https://pypi.python.org/pypi/pykg-
> config/1.3.0
> which seems like it may help.

Looks like an unmaintained project. Certainly we could fork this and
have it inside SCons so as to replace the need for the external pkg-
config program. The ParseConfig stuff could then be rewritten to make
is very much easier to work with. Maybe this would lead to work on the
whole Configure system, which is a wee bit difficult to work with at
times.
 

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread Dirk Bächle

Hi,

On 31.01.2016 13:23, anatoly techtonik wrote:

Hi,

https://bitbucket.org/scons/scons/wiki/ParseConfig is missing,
referenced from
https://bitbucket.org/scons/scons/wiki/UsingPkgConfig



hint: ParseConfig is described in the UserGuide.

Best regards,

Dirk


By the way, is there a tool for SCons that can do the job of
pkg-config? Looks like it is a simple parser, no?


Depends on what it is exactly that you're trying to parse under Windows for example, How do you plan to get at the required infos 
about which header and libs to include?


___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread anatoly techtonik
On Sun, Jan 31, 2016 at 7:43 PM, Dirk Bächle  wrote:
> On 31.01.2016 13:23, anatoly techtonik wrote:
>>
>> https://bitbucket.org/scons/scons/wiki/ParseConfig is missing,
>> referenced from
>> https://bitbucket.org/scons/scons/wiki/UsingPkgConfig
>>
>
> hint: ParseConfig is described in the UserGuide.

Wiki usually contains more info and useful user feedback. So is it
possible to recover that page to ensure that nothing important was
lost?

>
>> By the way, is there a tool for SCons that can do the job of
>> pkg-config? Looks like it is a simple parser, no?
>
>
> Depends on what it is exactly that you're trying to parse under Windows for
> example, How do you plan to get at the required infos about which header and
> libs to include?

Currently it is done with
env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS
pango" + backend + version_arg)
https://github.com/wesnoth/wesnoth/blob/master/scons/pango.py#L22

but it assumes that I have development libs installed on the system in
appropriate location. I am on Windows. But even on Linux I'd prefer not
to install anything anyway just to compile one package. So instead I
unpack 
http://win-builds.org/doku.php/1.5.0_packages#pango_1341-1_-_library_for_layout_and_rendering_of_text
and need to find all files there.

Is that feasible?

I also found this on PyPI - https://pypi.python.org/pypi/pykg-config/1.3.0
which seems like it may help.

-- 
anatoly t.
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread Russel Winder
On Sun, 2016-01-31 at 18:43 +0100, Dirk Bächle wrote:
> 
[…]
> Depends on what it is exactly that you're trying to parse under
> Windows for example, How do you plan to get at the required infos 
> about which header and libs to include?

I have put up https://bitbucket.org/russel/sconspkgconfig as a
"strawman", along with https://bitbucket.org/russel/sconsgnuinstallutil
s for doing GNU-ish installation.

They are just "add-ons" for now, but I guess could be turned into tools
of some sort?

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread anatoly techtonik
On Sun, Jan 31, 2016 at 5:34 PM, Russel Winder  wrote:
> On Sun, 2016-01-31 at 16:51 +0300, anatoly techtonik wrote:
> […]
>>
>> Was it a code? Or a documentation?
>
> Not sure, but I have always thought pkg-config support was missing from
> SCons in the form of repository bound code rather than entries on
> wikis.
>
> I have quickly checked one of my bits into:
>
> https://bitbucket.org/russel/sconspkgconfig
>
> Sadly lacking in documentation just now.

So how can I use it? I don't have `pkg-config` installed and I can't install
pango binary package from MinGW, but I need to get to includes, libs and
C flags from this archive.

>> > I have a PkgConfig set up that works fine for me, I'll put it into
>> > a
>> > Git^H^H^H Mercurial repository on BitBucket in a minute.
>>
>> For Windows I hope.
>
> What's Windows?

A most popular desktop system in the world. Somehow it happens that
"Windows is awesome" and "Linux sucks 2016".

Also, a system where the problem with free mingw toolchain and
pkg-config is more actual than for systems where these were designed
to work.

-- 
anatoly t.
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


[Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread anatoly techtonik
Hi,

https://bitbucket.org/scons/scons/wiki/ParseConfig is missing,
referenced from
https://bitbucket.org/scons/scons/wiki/UsingPkgConfig

By the way, is there a tool for SCons that can do the job of
pkg-config? Looks like it is a simple parser, no?

-- 
anatoly t.
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread Russel Winder
On Sun, 2016-01-31 at 15:23 +0300, anatoly techtonik wrote:
> Hi,
> 
> https://bitbucket.org/scons/scons/wiki/ParseConfig is missing,
> referenced from
> https://bitbucket.org/scons/scons/wiki/UsingPkgConfig
> 
> By the way, is there a tool for SCons that can do the job of
> pkg-config? Looks like it is a simple parser, no?

Code should not be on wikis it should be in repositories.

I have a PkgConfig set up that works fine for me, I'll put it into a
Git^H^H^H Mercurial repository on BitBucket in a minute.

This is a tool per se, perhaps we need a directory of add-ons as well
as tools on the website.
  
-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



signature.asc
Description: This is a digitally signed message part
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] Missing Wiki page on pkg-config

2016-01-31 Thread anatoly techtonik
On Sun, Jan 31, 2016 at 4:30 PM, Russel Winder  wrote:
> On Sun, 2016-01-31 at 15:23 +0300, anatoly techtonik wrote:
>>
>> https://bitbucket.org/scons/scons/wiki/ParseConfig is missing,
>> referenced from
>> https://bitbucket.org/scons/scons/wiki/UsingPkgConfig
>>
>> By the way, is there a tool for SCons that can do the job of
>> pkg-config? Looks like it is a simple parser, no?
>
> Code should not be on wikis it should be in repositories.

Was it a code? Or a documentation?

> I have a PkgConfig set up that works fine for me, I'll put it into a
> Git^H^H^H Mercurial repository on BitBucket in a minute.

For Windows I hope.

> This is a tool per se, perhaps we need a directory of add-ons as well
> as tools on the website.

What is "tool per se"?

-- 
anatoly t.
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev