Re: Multiple python versions

2016-11-07 Thread Thomas Adam
On Mon, Nov 07, 2016 at 11:14:35PM +0100, Jesús J. Guerrero Botella wrote:
> Hello again.
> 
> It seems fvwm-menu-desktop is written for python2.
> 
> In gentoo, to make this work nowadays, you need to modify the bang to
> #/usr/bin/python2, otherwise, the default python 3.x interpreter is
> fired and the menu fails miserably.
> 
> I am not sure that's ok for all distros and OSes out there so I will
> leave the concrete solution to someone who knows better. Just
> reporting...

It varies wildly across distributions.  On *BSD, /usr/local/bin/python is
often a symlink to python2.  On Debian, for example, it's also handled via
alternatives.

I'm not that bothered at all, but we might have to provide automake support
for this if it becomes too much of a problem.

Or better yet, rewrite the thing in python3.

-- Thomas Adam



Re: Changes in which regards dependency tree

2016-11-07 Thread Jesús J . Guerrero Botella
The moment you told me what to look for, I found it.  So, thank you again.

Someone thought that adding a "perl" use flag would be cool, for the
sake of customization. The fact is that, by giving users the power to
disable that, they also broke FvwmConsole. I have no idea how no one
noticed this before. I will be proposing to eliminate that flag, along
with all the ugly hacks they added to the ebuild just to save a couple
kb by removing a couple pm files here and there. Hopefully the Gentoo
ebuild for 2.6.7 will be simpler and less hack-ish.

2016-11-08 0:17 GMT+01:00 Jesús J. Guerrero Botella
:
> The moment you told me what to look for, I found it.  So, thank you again.
>
> Someone thought that adding a "perl" use flag would be cool, for the
> sake of customization. The fact is that, by giving users the power to
> disable that, they also broke FvwmConsole. I have no idea how no one
> noticed this before. I will be proposing to eliminate that flag, along
> with all the ugly hacks they added to the ebuild just to save a couple
> kb by removing a couple pm files here and there. Hopefully the Gentoo
> ebuild for 2.6.7 will be simpler and less hack-ish.
>
>
>
>
>
> 2016-11-07 23:47 GMT+01:00 Jaimos Skriletz :
>> On Mon, Nov 7, 2016 at 3:33 PM, Jesús J. Guerrero Botella
>>  wrote:
>>>
>>> I see, thanks for the pointers, they'll help.
>>>
>>
>> Please CC fvwm-workers@fvwm.org on replys. Glad I could help.
>>
>>>
>>> On a related note, when I click the option to configure the xdg menu
>>> in the menu, fvwm says:
>>>
>>> Can't locate FVWM/Module.pm in @INC (you may need to install the
>>> FVWM::Module module) (@INC contains: /usr/share/fvwm/perllib /etc/perl
>>> /usr/local/lib64/perl5/5.22.2/x86_64-linux
>>> /usr/local/lib64/perl5/5.22.2
>>> /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux
>>> /usr/lib64/perl5/vendor_perl/5.22.2 /usr/local/lib64/perl5
>>> /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.22.2/x86_64-linux
>>> /usr/lib64/perl5/5.22.2 .) at /usr/lib/fvwm/2.6.7/FvwmPerl line 33.
>>> BEGIN failed--compilation aborted at /usr/lib/fvwm/2.6.7/FvwmPerl line 33.
>>
>>
>> # ls /usr/share/fvwm/perllib/FVWM/Module.pm -- that is the file it is
>> looking for.
>>
>> Do your build options not build with libperl (not sure on this) depends? I
>> don't know enough to think what option this can be. Check what build options
>> were detected.
>>
>> The configure option uses FvwmPerl and FvwmForm to open a gui a user can
>> select options for building the menu. Including what .menu(s) to use,
>> include icons, menu titles, and some other options.
>>
>> jaimos
>>
>>
>
>
>
> --
> Jesús Guerrero Botella



-- 
Jesús Guerrero Botella



Re: Changes in which regards dependency tree

2016-11-07 Thread Jaimos Skriletz
On Mon, Nov 7, 2016 at 3:33 PM, Jesús J. Guerrero Botella <
jesus.guerrero.bote...@gmail.com> wrote:

> I see, thanks for the pointers, they'll help.
>
>
​Please CC fvwm-workers@fvwm.org on replys. Glad I could help.
​


> On a related note, when I click the option to configure the xdg menu
> in the menu, fvwm says:
>
> Can't locate FVWM/Module.pm in @INC (you may need to install the
> FVWM::Module module) (@INC contains: /usr/share/fvwm/perllib /etc/perl
> /usr/local/lib64/perl5/5.22.2/x86_64-linux
> /usr/local/lib64/perl5/5.22.2
> /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux
> /usr/lib64/perl5/vendor_perl/5.22.2 /usr/local/lib64/perl5
> /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.22.2/x86_64-linux
> /usr/lib64/perl5/5.22.2 .) at /usr/lib/fvwm/2.6.7/FvwmPerl line 33.
> BEGIN failed--compilation aborted at /usr/lib/fvwm/2.6.7/FvwmPerl line 33.
>

​# ls /usr/share/fvwm/perllib/FVWM/Module.pm -- that is the file it is
looking for.

Do your build options not build with libperl (not sure on this) depends? I
don't know enough to think what option this can be. Check what build
options were detected.

The configure option uses FvwmPerl and FvwmForm to open a gui a user can
select options for building the menu. Including what .menu(s) to use,
include icons, menu titles, and some other options.

jaimos

​


Re: Changes in which regards dependency tree

2016-11-07 Thread Jaimos Skriletz
On Mon, Nov 7, 2016 at 2:57 PM, Jesús J. Guerrero Botella <
jesus.guerrero.bote...@gmail.com> wrote:

> Hi everyone!
>
> Regarding the dependency tree, I guess the latest changes added a
> dependency on pyxdg and stalonetray for the new configuration that
> fvwm ships by default.
>
> Is there something else that has been added or removed at lib level?
>
>
Those are the only ones that I can think of that have changed. In this case
I would considered them optional dependencies. The default-config will work
if stalonetray is not installed (in this case there is just no systemtray
in the panel). The python dependency is only for the fvwm-menu-desktop
script and xdg menus. Since this seems to be the standard menu system it
should be added if you want users to have menus work without having to
install extra packages. So without the python dependency and a .menu file,
system menus cannot be generated via the script.

Note that fvwm-menu-desktop also requires a .menu file, as fvwm does not
provide one. You may want to add a dependency to some gentoo package that
provides a .menu for the user to use as well. In the Debian package I have
put these as recommended packages (both python-xdg, stalonetray and a menu
(lxde menu is the one I like the best in Debian)), but not required depends.



jaimos


Multiple python versions

2016-11-07 Thread Jesús J . Guerrero Botella
Hello again.

It seems fvwm-menu-desktop is written for python2.

In gentoo, to make this work nowadays, you need to modify the bang to
#/usr/bin/python2, otherwise, the default python 3.x interpreter is
fired and the menu fails miserably.

I am not sure that's ok for all distros and OSes out there so I will
leave the concrete solution to someone who knows better. Just
reporting...

I should probably add python 2.x to the dependencies for fvwm. In
Gentoo that's not a big deal though.

-- 
Jesús Guerrero Botella



Changes in which regards dependency tree

2016-11-07 Thread Jesús J . Guerrero Botella
Hi everyone!

Regarding the dependency tree, I guess the latest changes added a
dependency on pyxdg and stalonetray for the new configuration that
fvwm ships by default.

Is there something else that has been added or removed at lib level?

I know gtk+1 has gone for good, but that's long gone from the Gentoo
tree anyway, so I don't care about it. I only need to remove the gnome
and gtk related flags that were forced in the ebuild. Same goes the
other way for png, since that seems to be mandatory now, correct?

I looked around the news (and anyway I've been seeing everything that
has happened in the fvwm lists so I already knew what was coming).
Just wanted to check that I am not forgetting something...

Thank you beforehand for any help.
-- 
Jesús Guerrero Botella



[fvwmorg/fvwm] 8dcd28: NEWS

2016-11-07 Thread Thomas Adam
  Branch: refs/heads/master
  Home:   https://github.com/fvwmorg/fvwm
  Commit: 8dcd28c5e08474d9c2ccd031561fcb1bd03bfc78
  
https://github.com/fvwmorg/fvwm/commit/8dcd28c5e08474d9c2ccd031561fcb1bd03bfc78
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M NEWS

  Log Message:
  ---
  NEWS


  Commit: 8c1be384c99d36afeac702f428b0b60e21eba926
  
https://github.com/fvwmorg/fvwm/commit/8c1be384c99d36afeac702f428b0b60e21eba926
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M docs/DEVELOPERS.md

  Log Message:
  ---
  DEVELOPERS: update release info


Compare: https://github.com/fvwmorg/fvwm/compare/af1a6ab47439...8c1be384c99d


[fvwmorg/fvwm] 8c1be3: DEVELOPERS: update release info

2016-11-07 Thread Thomas Adam
  Branch: refs/heads/ta/2.6.7a
  Home:   https://github.com/fvwmorg/fvwm
  Commit: 8c1be384c99d36afeac702f428b0b60e21eba926
  
https://github.com/fvwmorg/fvwm/commit/8c1be384c99d36afeac702f428b0b60e21eba926
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M docs/DEVELOPERS.md

  Log Message:
  ---
  DEVELOPERS: update release info




[fvwmorg/fvwm] 8dcd28: NEWS

2016-11-07 Thread Thomas Adam
  Branch: refs/heads/ta/2.6.7a
  Home:   https://github.com/fvwmorg/fvwm
  Commit: 8dcd28c5e08474d9c2ccd031561fcb1bd03bfc78
  
https://github.com/fvwmorg/fvwm/commit/8dcd28c5e08474d9c2ccd031561fcb1bd03bfc78
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M NEWS

  Log Message:
  ---
  NEWS




[fvwmorg/fvwm] af1a6a: Fix up Makefile install targets

2016-11-07 Thread Thomas Adam
  Branch: refs/heads/master
  Home:   https://github.com/fvwmorg/fvwm
  Commit: af1a6ab474398ec205b2592246b46bfd8c394c97
  
https://github.com/fvwmorg/fvwm/commit/af1a6ab474398ec205b2592246b46bfd8c394c97
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M default-config/Makefile.am
M po/FvwmScript.fr.gmo
M po/fvwm.fr.gmo
M utils/Makefile.am
M utils/fvwm-version-str.sh

  Log Message:
  ---
  Fix up Makefile install targets

* Make default-config honour DESTDIR.




[fvwmorg/fvwm] af1a6a: Fix up Makefile install targets

2016-11-07 Thread Thomas Adam
  Branch: refs/heads/ta/2.6.7a
  Home:   https://github.com/fvwmorg/fvwm
  Commit: af1a6ab474398ec205b2592246b46bfd8c394c97
  
https://github.com/fvwmorg/fvwm/commit/af1a6ab474398ec205b2592246b46bfd8c394c97
  Author: Thomas Adam 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M default-config/Makefile.am
M po/FvwmScript.fr.gmo
M po/fvwm.fr.gmo
M utils/Makefile.am
M utils/fvwm-version-str.sh

  Log Message:
  ---
  Fix up Makefile install targets

* Make default-config honour DESTDIR.