Commit ea67aa34 authored by Zeeshan Ali's avatar Zeeshan Ali

Don't provide a client-side library

For rationale: https://bugs.freedesktop.org/show_bug.cgi?id=68439#c5
parent 609e8293
......@@ -36,9 +36,6 @@ GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
# GObject-introspection support
GOBJECT_INTROSPECTION_REQUIRE([0.9.6])
# Mallard help
YELP_HELP_INIT
......@@ -125,8 +122,6 @@ else
fi
AC_SUBST(DBUS_SYS_DIR)
GOBJECT_INTROSPECTION_CHECK([0.6.2])
AC_CONFIG_FILES([
Makefile
src/Makefile
......
......@@ -44,55 +44,9 @@ geoclue_CFLAGS = $(GEOCLUE_CFLAGS) \
-DLOCALEDIR="\"$(datadir)/locale\""
geoclue_LDADD = $(GEOCLUE_LIBS) $(LIBS)
lib_LTLIBRARIES = libgeoclue-1.0.la
libgeoclue_1_0_ladir = $(includedir)/geoclue-1.0
libgeoclue_1_0_la_HEADERS = geoclue.h geoclue-interface.h
libgeoclue_1_0_la_SOURCES = geoclue-interface.c
libgeoclue_1_0_la_CFLAGS = $(GEOCLUE_CFLAGS)
libgeoclue_1_0_la_LIBADD = $(GEOCLUE_LIBS)
CLEANFILES = $(BUILT_SOURCES)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = geoclue-2.0.pc
if HAVE_INTROSPECTION
girdir = $(datadir)/gir-1.0
gir_DATA = Geoclue-1.0.gir
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = Geoclue-1.0.typelib
Geoclue-1.0.gir: $(libgeoclue_1_0_la_SOURCES) $(libgeoclue_1_0_la_HEADERS)
$(INTROSPECTION_SCANNER) -v \
--warn-all \
--namespace Geoclue \
--identifier-prefix=GClue \
--symbol-prefix=gclue \
--nsversion=1.0 \
--include=Gio-2.0 \
--library=geoclue-1.0 \
--output $@ \
--pkg=glib-2.0 \
--pkg=gobject-2.0 \
--pkg=gio-2.0 \
--pkg-export=geoclue-1.0 \
--libtool=$(top_builddir)/libtool \
--c-include='geoclue.h' \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$^ \
$(NULL)
Geoclue-1.0.gir: libgeoclue-1.0.la $(INTROSPECTION_SCANNER) Makefile.am
Geoclue-1.0.typelib: Geoclue-1.0.gir $(INTROSPECTION_COMPILER)
$(INTROSPECTION_COMPILER) $< -o $@
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
EXTRA_DIST = geoclue-interface.xml \
test-data/freegeoip-results.json
endif # HAVE_INTROSPECTION
-include $(top_srcdir)/git.mk
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Geoclue
Description: The Geoinformation Service
......
/* geoclue.h
*
* Copyright (C) 2013 Red Hat, Inc.
*
* Geoclue is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* Geoclue is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along
* with Geoclue; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
*/
#ifndef __GEOCLUE_H__
#define __GEOCLUE_H__
#include <glib-object.h>
#include <geoclue-interface.h>
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment