[solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλον..)
Re: [solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλο
τωρα στα βαζω
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Re: [solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλο
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Re: [solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλο
τωρα ειμαι ενταξει για να ξεκινησω?
Κώδικας: Επιλογή όλων
%define libmsexport %mklibname msexport 1
%define libnamegrass %mklibname %{name}grass 0
%define libqgis %mklibname qgis 0
%define grass grass64
# Doesnt build with -j16, does with -j12 or lower, we choose -j8
%global make %(cpus=%_smp_mflags;if [ "${cpus##-j}" -gt 8 ];then echo make -j8;else echo make $cpus;fi)
%define _requires_exceptions .*libgrass_.*
%global __provides_exclude_from ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
%global __requires_exclude_from ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
Name: qgis
Version: 2.4.0
Release: %mkrel 1
Summary: Geographic Information System for Linux/Unix
License: GPLv2+
Group: Sciences/Geosciences
URL: http://www.qgis.org/
Source0: http://qgis.org/downloads/%{name}-%{version}.tar.bz2
Source1: %{name}-mime.xml
Patch0: qgis-2.4.0-fedora-sip.patch
Patch1: qgis-2.4.0-fedora-grass.patch
Obsoletes: %{libqgis}
Obsoletes: %{libmsexport}
Requires: python-biopython-sql
Requires: postgis
BuildRequires: cmake
BuildRequires: grass
BuildRequires: gdal-devel
BuildRequires: geos-devel
BuildRequires: proj-devel
BuildRequires: expat-devel
BuildRequires: gsl-devel
BuildRequires: cfitsio-devel
BuildRequires: imagemagick
BuildRequires: flex
BuildRequires: bison
BuildRequires: mlocate
BuildRequires: postgresql-devel
BuildRequires: postgis
BuildRequires: netcdf-devel
BuildRequires: qt4-devel
BuildRequires: qt4-linguist
BuildRequires: python-sip
BuildRequires: python-qt4-devel
BuildRequires: python-biopython-sql
BuildRequires: imagemagick
BuildRequires: dos2unix
BuildRequires: python-devel
BuildRequires: libqwt-devel
BuildRequires: libfcgi-devel
BuildRequires: pkgconfig(QtWebKit)
BuildRequires: pkgconfig(spatialite)
BuildRequires: spatialindex-devel
BuildRequires: qscintilla-qt4-devel
%description
Geographic Information System (GIS) manages, analyzes, and displays
databases of geographic information. Quantum GIS (QGIS) supports shape file
viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
on-the-fly, map composition, and a number of other features via a plugin
interface. QGIS also supports display of various geo-referenced raster and
Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid,
and USGS ASCII DEM.
%files
%{_bindir}/%{name}
%{_bindir}/qbrowser
%{_bindir}/qgis_bench
%{_libdir}/lib%{name}_*.so.*
%{_libdir}/libqgissqlanyconnection.so.*
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_mandir}/man1/*
%exclude %{_libdir}/%{name}/libgrass*.so
%exclude %{_libdir}/%{name}/grass
%exclude %{_datadir}/%{name}/python
%exclude %{_datadir}/%{name}/grass
%{_iconsdir}/hicolor/*/apps/*
%{_iconsdir}/hicolor/*/mimetypes/*
%{_datadir}/mime/packages/qgis.xml
%{_datadir}/pixmaps/qgis-icon.png
%doc BUGS ChangeLog README TODO NEWS
#---------------------------------------------------------
%package devel
Summary: Development libraries and headers for QGIS
Group: Sciences/Geosciences
Requires: qgis = %version
Requires: %{name}-grass = %version
Requires: %{name}-python = %version
Obsoletes: %{_lib}qgis-devel
Conflicts: qgis < 0.11.0
Conflicts: qgiss-grass < 0.11.0
%description devel
Development headers for QGIS
%files devel
%{_includedir}/*
%{_libdir}/lib%{name}_*.so
%{_libdir}/libqgisgrass.so
%{_libdir}/libqgispython.so
%{_libdir}/libqgissqlanyconnection.so
#---------------------------------------------------------
%package grass
Summary: QGIS plugins for accessing GRASS data
Group: Sciences/Geosciences
Obsoletes: %{libnamegrass}
Requires: grass
Conflicts: qgis < 0.11.0
%description grass
This package provides plugins for QGIS that provide access to GRASS data from
within QGIS.
%files grass
%{_libdir}/libqgisgrass.so.*
%{_libdir}/%{name}/libgrass*.so
%{_libdir}/%{name}/grass
%{_datadir}/%{name}/grass
#---------------------------------------------------------
%package python
Summary: Python integration and plugins for qgis
Group: Sciences/Geosciences
Requires: %{name} = %{version}-%{release}
Requires: python-sip
Requires: python-qt4
Requires: python-httplib2
Requires: python-jinja2
Requires: python-qt4-qscintilla
Requires: python-pytz
Requires: gdal-python
Conflicts: qgis < 0.11.0
%description python
Python integration and plugins for qgis
%files python
%{_libdir}/libqgispython.so.*
%{_datadir}/%{name}/python
#---------------------------------------------------------
%prep
%setup -q -n %{name}-%{version}
%apply_patches
%build
%cmake_qt4 \
-DQGIS_LIB_SUBDIR=%{_lib} \
-DQGIS_PLUGIN_SUBDIR=%{_lib}/qgis \
-DQGIS_CGIBIN_SUBDIR=%{_lib}/qgis \
-DQWT_INCLUDE_DIR=%{_includedir}/qwt \
-DGRASS_PREFIX=%{_libdir}/%{grass} \
-DCMAKE_SKIP_RPATH=OFF \
-DWITH_BINDINGS:BOOL=TRUE \
-DWITH_INTERNAL_DATEUTIL:BOOL=FALSE \
-DWITH_INTERNAL_HTTPLIB2:BOOL=FALSE \
-DWITH_INTERNAL_JINJA2:BOOL=FALSE \
-DWITH_INTERNAL_PYTZ:BOOL=FALSE
# unused changes for now, have to investigate further
# -DQGIS_LIB_SUBDIR=%{_lib} \
#-DQGIS_PLUGIN_SUBDIR=%{_lib}/qgis \
#-DQGIS_CGIBIN_SUBDIR=%{_lib}/qgis \
#-DQGIS_MANUAL_SUBDIR=/share/man \
#-DWITH_MAPSERVER:BOOL=TRUE \
#-DBINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
#-DQWT_INCLUDE_DIR=%{_includedir}/qwt \
#-DGDAL_INCLUDE_DIR=%{_includedir}/gdal \
#-DGDAL_LIBRARY=%{_libdir}/libgdal.so \
#-DGRASS_PREFIX=%{_libdir}/%{grass} \
#-DENABLE_TESTS:BOOL=FALSE
#-DWITH_BINDINGS:BOOL=TRUE \
#-DWITH_INTERNAL_QWTPOLAR:BOOL=FALSE \
#-DWITH_INTERNAL_SPATIALINDEX:BOOL=FALSE
make
%install
%makeinstall_std -C build
mv %{buildroot}/%{_prefix}/man %{buildroot}/%{_datadir}
desktop-file-install \
--remove-mime-type="application/x-raster-ecw" \
--remove-mime-type="application/x-raster-mrsid" \
--dir=%{buildroot}%{_datadir}/applications \
debian/qgis.desktop
desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
debian/qbrowser.desktop
# Install MIME type definitions
install -d %{buildroot}%{_datadir}/mime/packages
install -pm0644 %{SOURCE1} \
%{buildroot}%{_datadir}/mime/packages/%{name}.xml
# Install application and MIME icons
install -pd %{buildroot}%{_datadir}/pixmaps
install -pd %{buildroot}%{_datadir}/icons/hicolor/16x16/apps
install -pd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
install -pd %{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes
install -pm0644 \
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-icon.png \
%{buildroot}%{_datadir}/pixmaps/%{name}-icon.png
install -pm0644 \
images/icons/%{name}-icon-16x16.png \
%{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}-icon.png
install -pm0644 \
images/icons/%{name}_icon.svg \
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}-icon.svg
install -pm0644 \
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-mime-icon.png \
%{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-layer-settings.png
install -pm0644 \
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-mime-icon.png \
%{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-project.png
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Re: [solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλο
για δες αυτα δημητρη τωρα που περασα
Intel Core i5-6300U CPU @ 2.40GHz ‖ RAM 7860 MiB ‖ HP 8079 - HP HP EliteBook 840 G3
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
Intel Skylake GT2 [HD Graphics 520] [8086:1916] {i915}
wlp2s0: Intel Wireless 8260 [8086:24f3] (rev 3a) ⋮ enp0s31f6: Intel Ethernet Connection I219-LM [8086:156f] (rev 21)
- dglent
- Δημοσιεύσεις: 1069
- Εγγραφή: Τετ Ιουν 01, 2011 05:42 am
- Τοποθεσία: Γαλλία
- Has thanked: 6 φορές
Re: [solved] πώς γίνεται αλλαγή η αλλαγή καθρεπτισμού?(μάλλο
Θα πρέπει να χτιστεί ξάνα το πακέτο, λείπει μια εξάρτηση (gdal)
http://glenbox.free.fr/files/qgis/SPECS/qgis.spec
Φαίνεται ότι η υποστήριξη python δεν είναι ενεργοποιημένη:
https://bugs.mageia.org/show_bug.cgi?id=11837#c2
Στην cauldon έχουμε python-qt-4.11.1 που δεν έχει το πρόβλημα
Πρόδρομε μπορείς να φτιάξεις το πακέτο python-qt4-4.10.4 για mageia4 γιατι στην αναφορά bug λέει ότι δουλεύει
To spec:
http://glenbox.free.fr/files/python-qt4 ... n-qt4.spec
Και κατέβασε από εδώ το tarball:
http://sourceforge.net/projects/pyqt/fi ... Qt-4.10.4/
http://glenbox.free.fr/files/qgis/SPECS/qgis.spec
Φαίνεται ότι η υποστήριξη python δεν είναι ενεργοποιημένη:
https://bugs.mageia.org/show_bug.cgi?id=11837#c2
Στην cauldon έχουμε python-qt-4.11.1 που δεν έχει το πρόβλημα
Πρόδρομε μπορείς να φτιάξεις το πακέτο python-qt4-4.10.4 για mageia4 γιατι στην αναφορά bug λέει ότι δουλεύει
To spec:
http://glenbox.free.fr/files/python-qt4 ... n-qt4.spec
Και κατέβασε από εδώ το tarball:
http://sourceforge.net/projects/pyqt/fi ... Qt-4.10.4/