Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[EBUILD OBSOLETO] gdal e qgis supporto a oracle spatial
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Tue Jun 07, 2016 6:59 am    Post subject: [EBUILD OBSOLETO] gdal e qgis supporto a oracle spatial Reply with quote

Nella versione 2.14.5 di qgis (presente nel portage tree) e gdal 2.0.3 ora e' stata aggiuta la use flag oracle

Ora potete scaricare qgis e gdal con supporto a oracle dal mio overlay che trovate qua.

Per lavoro ho avuto la necessità di modificare gli ebuild di gdal e qgis per abilitare il supporto al database oracle. Gli ebuild li trovate qua.
Per utilizzarli seguire i seguenti passi:
  • creare un overlay locale
  • creare le directory sotto l'overlay locale
    Code:
    # mkdir -p /usr/local/portage/sci-libs/gdal
    # mkdir -p /usr/local/portage/sci-geosciences/qgis

  • creare le directory per le patch dei pacchetti
    Code:
    # mkdir -p /usr/local/portage/sci-libs/gdal/files
    # mkdir -p /usr/local/portage/sci-geosciences/qgis/files

  • copiare i relativi ebuild e patch sotto le directori appena create
    Code:
    # cp /path/to/gdal-2.0.2-r1.ebuild /usr/local/portage/sci-libs/gdal
    # cp /usr/portage/sci-libs/gdal/files/gdal-1.5.0-soname.patch /usr/local/portage/sci-libs/gdal/files/
    # cp /path/to/qgis-2.12.2-r1.ebuild /usr/local/portage/sci-geosciences/qgis
    # cp /usr/portage/sci-geosciences/qgis/files/qgis-2.12.0-no-pyqtconfig.patch /usr/local/portage/sci-geosciences/qgis/files/
    # chown -R portage:portage /usr/local/portage

  • creare il manifesto dei pacchetti
    Code:
    # repoman manifest

  • aggiungere i due pacchetti in package.accept_keywords
    Code:
    # echo "sci-libs/gdal::<nome_del_overlay_locale>" >> /etc/portage/package.accept_keywords
    # echo "sci-libs/qgis::<nome_del_overlay_locale>" >> /etc/portage/package.accept_keywords

  • abilitare la nuova use flag oracle
    Code:
    # echo "sci-libs/gdal::<nome_del_overlay_locale> oracle" >> /etc/portage/package.use
    # echo "sci-libs/qgis::<nome_del_overlay_locale> oracle gdal" >> /etc/portage/package.use


Ora si puo' installare qgis con il supporto a oracle.
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Tue Dec 06, 2016 8:35 am; edited 3 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Tue Jul 26, 2016 8:33 am    Post subject: Reply with quote

Con uno degli ultimi aggiornamenti non riuscivo piu' a compilare qgis per un bug causato dalla nuova versione del pacchetto sip.
Per ovviare a questo problema (come descritto nel bug) bisogna eseguire le seguenti operazioni, affinche' portage applichi la patch a qgis:
Code:
# mkdir -p /etc/portage/patches/sci-geosciences/qgis-2.12.2-r1
# cd /etc/portage/patches/sci-geosciences/qgis-2.12.2-r1
# wget https://github.com/qgis/QGIS/commit/fc6559aa053317cda8ced657c3013a0d.patch
# emerge -1 =sci-geosciences/qgis-2.12.2-r1

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31349
Location: here

PostPosted: Tue Dec 06, 2016 8:33 am    Post subject: Reply with quote

qgis e gdal nel portage tree ora supportano oracle, vedere https://bugs.gentoo.org/show_bug.cgi?id=585156
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum