Re: [Qgis-developer] CI testing for OSX

2015-08-18 Thread Larry Shaffer
Hi Nyall,


On Fri, Aug 14, 2015 at 9:45 PM, Nyall Dawson 
wrote:

>
> On 15 Aug 2015 13:17, "Larry Shaffer"  wrote:
> >
> > Hi Nyall, all,
> >
> > On Thu, Aug 13, 2015 at 11:31 PM, Nyall Dawson 
> wrote:
> >>
> >> On 13 August 2015 at 04:32, Tim Sutton  wrote:
> >>
> >> >
> >> > Awesome stuff Nyall - can you give any notes on what specifically you
> had to do to enable OS X testing?
> >>
> >> Not much really... all the ground work was already in place and were
> >> just waiting on Travis to open up multi OS builds again. Whoever setup
> >> the homebrew install package (Larry?) made it super easy to install
> >> the dependencies, and we already had 99% of the tests passing without
> >> error on OSX. Michael Kirk had also already given this a shot so I was
> >> able to borrow parts of his attempts which also helped a lot.
> >
> >
> > Yes, I set up the QGIS Homebrew formulae in the osgeo/osgeo4mac tap.
> >
> > For example, to set up a dev environ on Mac:
> >
> https://github.com/OSGeo/homebrew-osgeo4mac/wiki/Developing-on-QGIS-using-OSGeo4Mac
> >
> > I haven't had time recently to update the work there, so some of the
> notes may be outdated.
>
> Thanks Larry, this made it really easy to implement this.
>
> I'm wondering- is there a way to prevent the installation of
> postgres/postgis when installing the dependencies? It slows the build down
> a lot and conflicts with the existing preinstalled postgis available on
> Travis.
>
Yeah, the postgres and postgis being preinstalled is a bit of a pain, since
they do not seem to keep them updated.

Looks like, since they *are* installed, you can try skipping them (and
other non-essential recommended libs) as dependencies with:

$ brew install qgis-28 --without-postgis --without-postgresql
--without-grass --without-gpsbabel --only-dependencies

That should be the minimum for a Travis CI setup (not tested). The only
funky one is '--without-postgresql', which is a hard dependency, but the
CMake variable POSTGRES_CONFIG:FILEPATH=/usr/local/bin/pg_config should be
found by default. It was with my test on 10.9.5. Apple's system-provided
postgresql client is woefully outdated.

The GRASS provider is part of the unit test suite (for both 6 and 7 if
found), but, if skipped, should greatly speed up the CI builds.

I just updated the formula with 2.8.3. Let me know if you need me to add
more options to it to facilitate the Travis setup.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

Nyall
> >
> > Regards,
> >
> > Larry Shaffer
> > Dakota Cartography
> > Black Hills, South Dakota
> >
> >
> >>
> >> Nyall
> >> ___
> >> Qgis-developer mailing list
> >> Qgis-developer@lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Call for applications: QGIS API Documentation Improvement

2015-08-18 Thread Tim Sutton
Hi all

In the last few years we have been steadily improving the amount of funding we 
are able to accumulate in the QGIS project. Our goal in obtaining funding is 
always to 'make QGIS better'. Up until now we have focussed funding on high 
profile aspects of the project: Funding regular hackfests, paying for bug 
fixing work prior to releases, funding infrastructure such as servers, domain 
name registrations etc. 

With improved funding levels we now have the opportunity to also start 
addressing some of the many less obvious components of QGIS that badly need 
attention, but often don't attract volunteers. In our July 2015 PSC meeting it 
was agreed that we would start this initiative by funding one or more 
developers to improve the python documentation in QGIS. If you are interested 
in working on this, please be so kind as to visit the form [1] that we have set 
up for this.


[1] http://goo.gl/forms/WRGSvWHkBb 

Regards

Tim




Tim Sutton
QGIS Project Steering Committee Member
t...@qgis.org




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS GRASS plugin - modules upgrade

2015-08-18 Thread Vaclav Petras
On Tue, Aug 18, 2015 at 8:09 AM, Radim Blazek 
wrote:
>
> On Tue, Aug 18, 2015 at 9:14 AM, Martin Landa 
wrote:
> > Hi,
> >
> > 2015-08-18 9:11 GMT+02:00 Radim Blazek :
> >> BTW, as Markus Neteler pointed out, there is a list differences
> >> between GRASS 6 and 7:
> >>
https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Replacedandremovedmodules
> >>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules
> >>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Optionschanges
> >> and a table used by the commands to advertise new parameters in case
> >> the user used the old style:
> >>
https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0/lib/gis/renamed_options
> >>
> >> If you upgrade a module definition in QGIS, please update also its
status on
> >> https://grasswiki.osgeo.org/wiki/GRASS-QGIS_relevant_module_list
> >
> > I wonder why UI is not generated on the fly or during compilation? To
> > maintain manually UI in QGIS is complicated and the result will be
> > always out-of-date. Just 2 my cents, Martin
>
> UI is generated on the fly when a module UI is opened. It is using
> options description printed by GRASS module (--interface-description)
> combined with options definition for the module in QGIS (.qgm file).
> The additional options definition in QGIS is mainly for two purposes:
>
> 1) limit number of options not to frighten users, some GRASS modules
> are also represented as multiple items with predefined options

Hi Radim and Martin,

I guess that one of the reasons for QGIS interface for GRASS. Anyway, is
there a option of not using .qgm file and using --interface-description
only? This would not only enable some of the hidden features but more
importantly, it would enable to use of modules from GRASS GIS Addons
repository.

> 2) define relations between options (e.g. type or column option
> relation with input vector) or special options which has dedicated
> widget in UI (e.g. GDAL/OGR input).

This should be defined in GRASS GIS. If it is missing in GRASS or in the
--interface-description then it is a bug which should be solved.

Here are examples of guidependency "option attribute":

https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.distance/main.c#L222
https://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.what.vect/v.what.vect.py#L15

> It was surely difficult to keep options in sync with GRASS modules,
> but with the new debugging tool (in master), it is possible to check
> all options/modules with just one click.

This sounds really good.

Best,
Vaclav
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Translation plugin (accents) SOLVED

2015-08-18 Thread Matthias Kuhn
Hi,

In general one should prefer to go the other way round and make sure all
your resources (.py/.ui etc) are in utf-8.

And if you are happy that it works for you now and don't want to invest
more time, this message will at least serve for future reference :)

Matthias

On 08/18/2015 05:45 PM, jawensi wrote:
> Finally the problem was the encoding of the .ts file.
>
> I replace the first line for:
> 
>
> Now translation works fine.
>
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118p5220189.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Translation plugin (accents) SOLVED

2015-08-18 Thread jawensi
Finally the problem was the encoding of the .ts file.

I replace the first line for:


Now translation works fine.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118p5220189.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGIS PSC Treasurer nomination results

2015-08-18 Thread Tim Sutton
Dear QGIS users and Developers

Following my call for nominations for a new PSC Treasurer position, we
received 4 nominations - all for Andreas Neumann.

Since we have only one candidate, there is no need to call for a vote. If
anyone has a substantive reason why Andreas should not be appointed as the
project treasurer, please contact me by email. If we have not heard any
reason opposing Andreas should be appointed the next PSC meeting (first wed
in September), we will go ahead and make the appointment.

Many thanks

Regards

Tim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS GRASS plugin - modules upgrade

2015-08-18 Thread Radim Blazek
On Tue, Aug 18, 2015 at 9:14 AM, Martin Landa  wrote:
> Hi,
>
> 2015-08-18 9:11 GMT+02:00 Radim Blazek :
>> BTW, as Markus Neteler pointed out, there is a list differences
>> between GRASS 6 and 7:
>>   
>> https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Replacedandremovedmodules
>>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules
>>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Optionschanges
>> and a table used by the commands to advertise new parameters in case
>> the user used the old style:
>>   
>> https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0/lib/gis/renamed_options
>>
>> If you upgrade a module definition in QGIS, please update also its status on
>> https://grasswiki.osgeo.org/wiki/GRASS-QGIS_relevant_module_list
>
> I wonder why UI is not generated on the fly or during compilation? To
> maintain manually UI in QGIS is complicated and the result will be
> always out-of-date. Just 2 my cents, Martin

UI is generated on the fly when a module UI is opened. It is using
options description printed by GRASS module (--interface-description)
combined with options definition for the module in QGIS (.qgm file).
The additional options definition in QGIS is mainly for two purposes:

1) limit number of options not to frighten users, some GRASS modules
are also represented as multiple items with predefined options

2) define relations between options (e.g. type or column option
relation with input vector) or special options which has dedicated
widget in UI (e.g. GDAL/OGR input).

It was surely difficult to keep options in sync with GRASS modules,
but with the new debugging tool (in master), it is possible to check
all options/modules with just one click.

Radim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Translation plugin (accents)

2015-08-18 Thread jawensi
Hi
The problem is that the translation doesn't work with accented words when I
launch QGIS. However the words with no accent are translated correctly. No
message error appear and the plugin works good.

Cheers





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118p5220121.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Translation plugin (accents)

2015-08-18 Thread Matthias Kuhn
Hi,

Can you clarify which kind of problems you are experiencing. I.e. do you
have any error messages or unexpected behavior.

Cheers
Matthias

On 08/18/2015 12:35 PM, jawensi wrote:
> Hello, I have developped a plugin in Spanish and I want to translate it to
> English. I have problems with accented words in the class that describe the
> interface, which I compilate from *.ui to *.py.
>
> This is a fragment of the .ts file, which doesn't work:
>
> 
> 
> 
> 
> DEMto3DDialogBase
> 
> 
> Extensión a imprimir
> Print Extension
> 
> 
> 
>
> In the class 'DEMto3DDialogBase' show like this inside the function 'def
> retranslateUi':
> /self.groupBox_2.setTitle(_translate("DEMto3DDialogBase", u"Extensión a
> imprimir", None))/
>
> Any idea if I was missing something.
>
> Thank you.
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Translation plugin (accents)

2015-08-18 Thread jawensi
Hello, I have developped a plugin in Spanish and I want to translate it to
English. I have problems with accented words in the class that describe the
interface, which I compilate from *.ui to *.py.

This is a fragment of the .ts file, which doesn't work:





DEMto3DDialogBase


Extensión a imprimir
Print Extension




In the class 'DEMto3DDialogBase' show like this inside the function 'def
retranslateUi':
/self.groupBox_2.setTitle(_translate("DEMto3DDialogBase", u"Extensión a
imprimir", None))/

Any idea if I was missing something.

Thank you.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS GRASS plugin - modules upgrade

2015-08-18 Thread Martin Landa
Hi,

2015-08-18 9:11 GMT+02:00 Radim Blazek :
> BTW, as Markus Neteler pointed out, there is a list differences
> between GRASS 6 and 7:
>   
> https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Replacedandremovedmodules
>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules
>   https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Optionschanges
> and a table used by the commands to advertise new parameters in case
> the user used the old style:
>   
> https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0/lib/gis/renamed_options
>
> If you upgrade a module definition in QGIS, please update also its status on
> https://grasswiki.osgeo.org/wiki/GRASS-QGIS_relevant_module_list

I wonder why UI is not generated on the fly or during compilation? To
maintain manually UI in QGIS is complicated and the result will be
always out-of-date. Just 2 my cents, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS GRASS plugin - modules upgrade

2015-08-18 Thread Radim Blazek
BTW, as Markus Neteler pointed out, there is a list differences
between GRASS 6 and 7:
  https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Replacedandremovedmodules
  https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules
  https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Optionschanges
and a table used by the commands to advertise new parameters in case
the user used the old style:
  
https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0/lib/gis/renamed_options

If you upgrade a module definition in QGIS, please update also its status on
https://grasswiki.osgeo.org/wiki/GRASS-QGIS_relevant_module_list

Radim

On Mon, Aug 17, 2015 at 9:17 AM, Paolo Cavallini  wrote:
> Il 10/08/2015 13:02, Radim Blazek ha scritto:
>> Hi,
>>
>> the GRASS 7 plugin is enabled in QGIS master, but there are many
>> options which changed in GRASS 7 and has to be fixed in .qgm files.
>> Because some people already promised to help with the upgrade of
>> modules' configuration I want to ask them and everybody who is
>> interested, to start the upgrade of modules.  I have recently
>> implemented new functions in the plugin which will simplify your work.
>>
>> How to upgrade the modules and contribute the changes to QGIS:
>
> Hi all,
> thanks Radim for these detailed info. Could we make them more prominent,
> in order to stimulate interest on it?
> Perhaps a post on QGIS official blog?
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer