Skip to content

Commit

Permalink
Moved providers directory to src subdirectory
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4618 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jan 8, 2006
1 parent 1126d99 commit a34dde4
Show file tree
Hide file tree
Showing 69 changed files with 49 additions and 42 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,6 +1,8 @@
/* ChangeLog,v 1.214 2004/11/12 00:42:21 gsherman Exp */
------------------------------------------------------------------------------
Version 0.8 'Joesephine' .... development version
2006-01-08 [gsherman] 0.7.9.7
** Moved providers to the src directory
2006-01-08 [timlinux] 0.7.9.6
** refactored libqgis into core and gui libs.
2006-01-01 [timlinux] 0.7.9.5
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -31,7 +31,7 @@ docdatadir = $(datadir)/$(PACKAGE)/doc
docdata_DATA = AUTHORS

if HAVE_QT4
SUBDIRS = src providers plugins doc tools i18n helpviewer resources images
SUBDIRS = src plugins doc tools i18n helpviewer resources images
endif

pkginclude_HEADERS = qgsconfig.h
Expand Down
16 changes: 8 additions & 8 deletions configure.in
Expand Up @@ -29,7 +29,7 @@ dnl ---------------------------------------------------------------------------
MAJOR_VERSION=0
MINOR_VERSION=7
MICRO_VERSION=9
EXTRA_VERSION=6
EXTRA_VERSION=7
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
else
Expand Down Expand Up @@ -473,13 +473,6 @@ AC_CONFIG_FILES([
plugins/north_arrow/Makefile
plugins/scale_bar/Makefile
plugins/spit/Makefile
providers/Makefile
providers/delimitedtext/Makefile
providers/gpx/Makefile
providers/grass/Makefile
providers/ogr/Makefile
providers/postgres/Makefile
providers/wms/Makefile
resources/Makefile
src/Makefile
src/composer/Makefile
Expand All @@ -493,6 +486,13 @@ AC_CONFIG_FILES([
src/ui/Makefile
src/widgets/Makefile
src/widgets/projectionselector/Makefile
src/providers/Makefile
src/providers/delimitedtext/Makefile
src/providers/gpx/Makefile
src/providers/grass/Makefile
src/providers/ogr/Makefile
src/providers/postgres/Makefile
src/providers/wms/Makefile
tools/Makefile
tools/mapserver_export/Makefile
tools/qgis_config/Makefile
Expand Down
6 changes: 3 additions & 3 deletions plugins/grass/Makefile.am
Expand Up @@ -85,8 +85,8 @@ grassplugin_la_SOURCES = qgsgrassplugin.cpp \
qgsgrassattributes.h \
qgsgrassregion.cpp \
qgsgrassregion.h \
../../providers/grass/qgsgrass.h \
../../providers/grass/qgsgrassprovider.h \
../../src/providers/grass/qgsgrass.h \
../../src/providers/grass/qgsgrassprovider.h \
$(plugin_UI)

nodist_grassplugin_la_SOURCES = $(plugin_MOC)
Expand Down Expand Up @@ -114,7 +114,7 @@ qgsgrassregionbase.h: qgsgrassregionbase.ui
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)


grassplugin_la_LIBADD = $(QT_LDADD) ../../providers/grass/libqgisgrass.la $(GRASS_LIB) $(PG_LIB) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la ../../src/raster/libqgis_raster.la
grassplugin_la_LIBADD = $(QT_LDADD) ../../src/providers/grass/libqgisgrass.la $(GRASS_LIB) $(PG_LIB) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la ../../src/raster/libqgis_raster.la
grassplugin_la_LDFLAGS = -avoid-version -module
grassplugin_la_CXXFLAGS = $(PREFIX) $(CXXFLAGS) -I$(GRASS_INC) $(DEFS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I$(PG_INC) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/legend/ -I../../src/raster -I../../src/ui

Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrassattributes.cpp
Expand Up @@ -52,8 +52,8 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"
#include "qgsgrassedit.h"
#include "qgsgrassattributes.h"

Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrassedit.cpp
Expand Up @@ -55,8 +55,8 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"
#include "qgsgrassattributes.h"
#include "qgsgrassedit.h"

Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrassmapcalc.cpp
Expand Up @@ -55,8 +55,8 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"
#include "qgsgrassattributes.h"
#include "qgsgrassmodule.h"
#include "qgsgrasstools.h"
Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -76,8 +76,8 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"
#include "qgsgrassattributes.h"
#include "qgsgrassmodule.h"
#include "qgsgrassmapcalc.h"
Expand Down
2 changes: 1 addition & 1 deletion plugins/grass/qgsgrassnewmapset.cpp
Expand Up @@ -54,7 +54,7 @@
#include "qgsspatialrefsys.h"
#include "../../src/widgets/projectionselector/qgsprojectionselector.h"

#include "../../providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "qgsgrassnewmapset.h"

bool QgsGrassNewMapset::mRunning = false;
Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -54,8 +54,8 @@ extern "C" {
}

#include "qgsgrassplugin.h"
#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"

//the gui subclass
#include "qgsgrassattributes.h"
Expand Down
2 changes: 1 addition & 1 deletion plugins/grass/qgsgrassregion.cpp
Expand Up @@ -55,7 +55,7 @@ extern "C" {
#include <gis.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "qgsgrassplugin.h"
#include "qgsgrassregion.h"

Expand Down
2 changes: 1 addition & 1 deletion plugins/grass/qgsgrassselect.cpp
Expand Up @@ -32,7 +32,7 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "qgsgrassselect.h"

QgsGrassSelect::QgsGrassSelect(int type):QgsGrassSelectBase()
Expand Down
4 changes: 2 additions & 2 deletions plugins/grass/qgsgrasstools.cpp
Expand Up @@ -63,8 +63,8 @@ extern "C" {
#include <Vect.h>
}

#include "../../providers/grass/qgsgrass.h"
#include "../../providers/grass/qgsgrassprovider.h"
#include "../../src/providers/grass/qgsgrass.h"
#include "../../src/providers/grass/qgsgrassprovider.h"
#include "qgsgrassattributes.h"
#include "qgsgrasstools.h"
#include "qgsgrassmodule.h"
Expand Down
9 changes: 7 additions & 2 deletions src/Makefile.am
Expand Up @@ -16,8 +16,13 @@
if HAVE_QTMAC
MAC = mac
endif

SUBDIRS = core ui legend raster composer widgets $(MAC)
# NOTE - the order of the SUBDIRS is important. Currently the providers
# depend on the existence of libqgis_gui. Since the gui classes
# have not been moved into their own directory, the current directory
# (.) must be specified immediately before the providers
# subdirectory. Once the gui subdirectory is implemented, there is
# no need for the current directory to be in the SUBDIRS list
SUBDIRS = core ui legend raster composer widgets . providers $(MAC)

if !HAVE_QTMAC
PREFIX=-DPREFIX=\"$(prefix)\"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,14 +1,14 @@
## $Id$

INCLUDES = -I../../src/core/ -I../../src/
INCLUDES = -I../../core/ -I../../

plugindir = ${pkglibdir}
plugin_LTLIBRARIES = delimitedtextprovider.la

delimitedtextprovider_la_SOURCES = qgsdelimitedtextprovider.cpp


delimitedtextprovider_la_LIBADD = $(QT_LDADD) $(GDAL_LIB) $(GEOS_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la
delimitedtextprovider_la_LIBADD = $(QT_LDADD) $(GDAL_LIB) $(GEOS_LDADD) ../../libqgis_gui.la ../../core/libqgis_core.la
delimitedtextprovider_la_LDFLAGS = -avoid-version -module
delimitedtextprovider_la_CXXFLAGS = $(GDAL_CFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS)

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions providers/gpx/Makefile.am → src/providers/gpx/Makefile.am
Expand Up @@ -2,7 +2,7 @@

if HAVE_EXPAT

INCLUDES = -I../../src/core -I../../src
INCLUDES = -I../../core -I../../

plugindir = ${pkglibdir}
plugin_LTLIBRARIES = gpxprovider.la
Expand All @@ -11,7 +11,7 @@ gpxprovider_la_SOURCES = qgsgpxprovider.cpp \
gpsdata.cpp


gpxprovider_la_LIBADD = $(QT_LDADD) $(GEOS_LDADD) ../../src/core/libqgis_core.la
gpxprovider_la_LIBADD = $(QT_LDADD) $(GEOS_LDADD) ../../core/libqgis_core.la
gpxprovider_la_LDFLAGS = -avoid-version -module
gpxprovider_la_CXXFLAGS = $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(GDAL_CFLAGS)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@
## $Id$
##

INCLUDES = -I../../src/core -I../../src
INCLUDES = -I../../core -I../../

lib_LTLIBRARIES = libqgisgrass.la

Expand Down Expand Up @@ -30,7 +30,7 @@ libqgisgrass_la_SOURCES = qgsgrassprovider.cpp \
qgsgrass.cpp \
qgsgrass.h

libqgisgrass_la_LIBADD = $(QT_LDADD) $(GRASS_LIB) ../../src/core/libqgis_core.la ../../src/libqgis_gui.la
libqgisgrass_la_LIBADD = $(QT_LDADD) $(GRASS_LIB) ../../core/libqgis_core.la ../../libqgis_gui.la
libqgisgrass_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
libqgisgrass_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) -I$(GRASS_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(GDAL_CFLAGS)
if HAVE_POSTGRESQL
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions providers/ogr/Makefile.am → src/providers/ogr/Makefile.am
@@ -1,12 +1,12 @@
INCLUDES = -I../../src/core/ -I../../src
INCLUDES = -I../../core/ -I../../

plugindir = ${pkglibdir}
plugin_LTLIBRARIES = ogrprovider.la

ogrprovider_la_SOURCES = qgsogrprovider.cpp \
qgsogrprovider.h

ogrprovider_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) $(GEOS_LDADD) ../../src/core/libqgis_core.la ../../src/libqgis_gui.la
ogrprovider_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) $(GEOS_LDADD) ../../core/libqgis_core.la ../../libqgis_gui.la
ogrprovider_la_LDFLAGS = -avoid-version -module
ogrprovider_la_CXXFLAGS := $(GDAL_CFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS)

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
INCLUDES = -I../../src/core/ -I../../src/
INCLUDES = -I../../core/ -I../../

%.moc.cpp: %.h
$(MOC) -o $@ $<
Expand Down Expand Up @@ -27,7 +27,7 @@ postgresprovider_la_SOURCES = \

BUILT_SOURCES = $(postgresprovider_MOC)

postgresprovider_la_LIBADD = $(QT_LDADD) $(PG_LIB) $(GEOS_LDADD) ../../src/core/libqgis_core.la ../../src/libqgis_gui.la
postgresprovider_la_LIBADD = $(QT_LDADD) $(PG_LIB) $(GEOS_LDADD) ../../core/libqgis_core.la ../../libqgis_gui.la
postgresprovider_la_LDFLAGS = -avoid-version -module
postgresprovider_la_CXXFLAGS = $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(GDAL_CFLAGS)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions providers/wms/Makefile.am → src/providers/wms/Makefile.am
@@ -1,4 +1,4 @@
INCLUDES = -I../../src -I../../src/raster -I../../src/core
INCLUDES = -I../../ -I../../raster -I../../core

%.moc.cpp: %.h
$(MOC) -o $@ $<
Expand All @@ -11,8 +11,8 @@ plugin_LTLIBRARIES = wmsprovider.la

wmsprovider_MOC = qgswmsprovider.moc.cpp \
qgshttptransaction.moc.cpp \
../../src/core/qgsdataprovider.moc.cpp \
../../src/core/qgsrasterdataprovider.moc.cpp
../../core/qgsdataprovider.moc.cpp \
../../core/qgsrasterdataprovider.moc.cpp

wmsprovider_la_SOURCES = \
qgswmsprovider.cpp \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a34dde4

Please sign in to comment.