Posts Tagged ‘ AUR ’

PKGBUILD for QGIS 2.0.1

Edit:

Of course as soon as I post this AUR gets updated.  The maintainer pretty much used saultdon’s PKGBUILD.

https://aur.archlinux.org/packages/qgis/

 

Here’s a link to a PKGBUILD that will install QGIS 2.0.1 for you on Arch Linux:

https://db.tt/aPFyj9kc

Thanks to AUR user saultdon for putting it together.

Advertisements

So how’s QGIS 1.9 / 2.0 coming along?

Quite well!  I just pulled the latest build from the GIT repository and it looks pretty spiffy.

A sign that 2.0 is getting closer, configuration files have moved from ~/.qgis to ~/.qgis2.  I don’t know if a migration routine will be included, but my installation created a fresh profile.  The fresh profile included a new theme for the standard toolbar buttons which look very similar to the buttons in GRASS’s user interface.  The new profile  re-set some settings cleared my plugins so I had to re-download the plugins, which leads me to the next overhaul, the plugin manager.

The plugin manager has been combined with the fetching and managing functions of the old plugin system which streamlines the plugin process.  So far none of the plugins that I have installed have required a restart of QGIS.  As for the plugins themselves, the plugins I use such as OpenLayers and Statist have been updated to work with the new API.

DBManager was been polished.  It now lets you save your custom SQL Queries and its import / export functions are much smoother.

Print Composer  has seen a pretty complete overhaul.  Anita Graser did a seven part series looking at some of the new features.  Here’s the link to her printing tag where you can find all seven articles.  My favorite highlights the new alignment guides.  The old version had a snap to grid function but the new guides and rulers make it that much easier to line up the elements of your map.

I keep forgetting to compile in support for the QGIS Globe plugin.  Hopefully I’ll remember to try it out the next time I pull down the source.

There are a ton more new and updated features that I did not get to, for example, the label overhaul and how raster symbology is handled.  Overall 2.0 is going to be a great step forward for the QGIS project.

Spotify 0.9 for Linux

I used to have to write about this all the time, Spotify but maintainers of the Spotify AUR PKGBUILD have been doing such a great job there aren’t any issues getting Spotify to install and run on Arch.  Hooray!

Changes to building QGIS 1.9 on Arch

Recently Arch added QT5 to their repositories and renamed the old QT package to QT4.  This causes a little confusion for the qgis-git PKGBUILD since it lists the old qt package as a dependency.  It’s an easy fix, just change qt to qt4 and add

-DQMAKE_EXECUTABLE=/usr/bin/qmake-qt4

to the ./configure options.

Once 1.9 is compiled and built you can see how far along this beta version has come.  The new loader built into the DB Manager plugin works flawlessly.  This is my favorite new feature in 1.9 / 2.0.  It makes it so if you can add a dataset to a QGIS map, it only takes a few clicks to import that data into a new PostGIS layer.  It really comes in handy with layers created by ad-hoc queries.

Plugin developers have been hard at work adjusting their plugins to work with the new API.  OpenLayers has been updated, just upgrade through the Fetch Python Plugins menu and you can once again display your Google, Bing, etc maps in QGIS.

 

Early impressions of QGIS 1.9

I had a raster and I needed to make the no data value transparent, but QGIS 1.8 has a bug that prevented me from doing so.  Since I’m not working in a production environment I decided to go ahead and pull 1.9 from QGIS’s Git repository and give it a shot.  Someone has set up a PKGBUILD that handles all the hard work of pulling the latest and greatest off of github for you.

Once 1.9 was downloaded and compiled I really liked what I saw.  Not only is the no data transparency bug fixed, but the raster menu is completely overhauled.  I will miss the old single band pseudo-color and freak out settings, I guess I can figure out what their color ramps were and rebuild them by hand.  I’ll take that over the old way rasters were handled which left you staring at a grey box until you set the min/max values and stretched the display to their values.  Now when you load a raster you get a usable display right off the bat.

Also new in 1.9 is the updated label tab and engine.  I haven’t played with it much but there are a million options to play with, once you dig into it labels are going to rival what you get from ArcMap’s Maplex label engine.

I also downloaded a new plugin, Statist.  It is available from the official plugin repository, and it works on QGIS 1.8 or greater.  This plugin is similar to ArcMap’s Statistics menu, as you can see in the screenshot below it gives you a frequency chart and a break down on some basic statistical data from fields in your vector layers.  Simple, easy to use, and gives you valuable information, it’s a great plugin.  Before you can use it you’ll need to install a python 2 library, python2-matplotlib.  For Arch users this library is available from the community repository.

statist plugin screenshot

Proof that I don’t pedal fast enough

 

 

QGIS 1.8.0 in AUR

The PKGBUILD QGIS 1.8.0 is now in AUR.  The packager also put together a PKGBUILD for libspatialindex, calling it spatialindex so that QGIS wouldn’t have to go to a git repository to build a dependency.

This is great and all but hopefully QGIS makes it back into the official repositories, having the PKGBUILD out there is nice but QGIS takes FOREVER to compile from source.

Got QGIS 1.8 to compile on Arch

Finally got the new QGIS to compile and install.  Before starting you’ll need to install libspatialindex, for Arch users it is available from AUR from package libspatialindex-git.

The first time I tried to get it to compile it bombed out at 96%, it couldn’t find libqgis_core.so.1.8.0.  I couldn’t figure out how to get cmake to look in the build’s output directory to find the freshly built library so I cheated and copied the library to /usr/lib.  That worked and 1.8 started up just fine.

Playing around with 1.8 I found spatialite manager didn’t work, I was missing a python module called pyspatialite.  To install it just download and extract the tarball, in the pyspatialite-3.0.1 directory there’s a setup.py file.  Just run:

python2 build clean install

to install it.  Done, easy peasy.

Hopefully someone will post a PKGBUILD to AUR that will simplify this whole process.  In the meantime at least I’ve got 1.8 up and running.