Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files: geany-plugins-0.20\build__init__.py geany-plugins-0.20\build\wafcache.py geany-plugins-0.20\build\wafutils.py
Ok, i'm copying them from your git repo, then try to execute ./waf --help. It complains like this:
# ./waf --help [...] File "/usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/wscript", line 207, in options { '1' : plugins[0], '2' : plugins[1] }, dest='enable_plugins') IndexError: list index out of range
Ok, i'm patching it like this:
opt.add_option('--enable-plugins', action='store', default='', - help='plugins to be built [plugins in CSV format, e.g. "%(1)s,%(2)s"]' % \ - { '1' : plugins[0], '2' : plugins[1] }, dest='enable_plugins') + help='plugins to be built', dest='enable_plugins') opt.add_option('--skip-plugins', action='store', default='', help='plugins which should not be built, ignored when --enable-plugins is set, same format as --enable-plugins', dest='skip_plugins')
Then try to execute: # ./waf configure --enable-plugins=spellcheck,geanysendmail [...] Plugins to compile : spellcheck geanysendmail 'configure' finished successfully (0.371s)
All is fine. Trying to build:
smeshariki3# ./waf build Waf: Entering directory `/usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/_build_' No wscript file in directory /usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/spellcheck
So it doesn't create wscript's for plugins for some reason. Can please anybody investigate this? Since right now this distribution is unusable. Thanks. I'm open to any tests.
On Fri, 30 Sep 2011 16:19:20 +0400, Ruslan wrote:
Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files: geany-plugins-0.20\build__init__.py geany-plugins-0.20\build\wafcache.py geany-plugins-0.20\build\wafutils.py
This is a known problem with the 0.20 release. It had been fixed shortly after the release in SVN. We decided to not make a new release to fix this though I do not remember the exact reasoning about this.
Anyway, a new release is going to happen in a few weeks and so I think this isn't that critical anymore.
Regards, Enrico
Enrico Tröger wrote on 30.09.2011 21:10:
On Fri, 30 Sep 2011 16:19:20 +0400, Ruslan wrote:
Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files: geany-plugins-0.20\build__init__.py geany-plugins-0.20\build\wafcache.py geany-plugins-0.20\build\wafutils.py
This is a known problem with the 0.20 release. It had been fixed shortly after the release in SVN. We decided to not make a new release to fix this though I do not remember the exact reasoning about this.
Anyway, a new release is going to happen in a few weeks and so I think this isn't that critical anymore.
Regards, Enrico
Ok[?!], but what i can do with other issues (wscripts not created etc)? I wasn't able to find solution for this in svn. I just want to make FreeBSD port of geany-plugins (0.19 currently) in sync with geany itself (0.20). I believe that holding completely broken distribution is something wrong to do. If corrected distribution not planned to be released, i will appreciate if you tell me what should i patch to make it working. Thanks.
Le 30/09/2011 19:24, Ruslan Mahmatkhanov a écrit :
Enrico Tröger wrote on 30.09.2011 21:10:
On Fri, 30 Sep 2011 16:19:20 +0400, Ruslan wrote:
Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files: geany-plugins-0.20\build__init__.py geany-plugins-0.20\build\wafcache.py geany-plugins-0.20\build\wafutils.py
[...]
Ok[?!], but what i can do with other issues (wscripts not created etc)? I wasn't able to find solution for this in svn. I just want to make FreeBSD port of geany-plugins (0.19 currently) in sync with geany itself (0.20). I believe that holding completely broken distribution is something wrong to do. If corrected distribution not planned to be released, i will appreciate if you tell me what should i patch to make it working. Thanks.
Hi,
You'll probably not like it, but what about trying the Autotools build system? AFAIK it works just fine in 0.20.
Cheers, Colomban
Colomban Wendling wrote on 30.09.2011 22:47:
Le 30/09/2011 19:24, Ruslan Mahmatkhanov a écrit :
Enrico Tröger wrote on 30.09.2011 21:10:
On Fri, 30 Sep 2011 16:19:20 +0400, Ruslan wrote:
Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files: geany-plugins-0.20\build__init__.py geany-plugins-0.20\build\wafcache.py geany-plugins-0.20\build\wafutils.py
[...]
Ok[?!], but what i can do with other issues (wscripts not created etc)? I wasn't able to find solution for this in svn. I just want to make FreeBSD port of geany-plugins (0.19 currently) in sync with geany itself (0.20). I believe that holding completely broken distribution is something wrong to do. If corrected distribution not planned to be released, i will appreciate if you tell me what should i patch to make it working. Thanks.
Hi,
You'll probably not like it, but what about trying the Autotools build system? AFAIK it works just fine in 0.20.
Cheers, Colomban
Hm, i somehow overlooked it :). Thanks, i'll try.