diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-28 10:40:16 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-28 10:40:16 +0800 |
commit | cb7e1cc955e45ee0208afb1a69c50b50eb6c9bbc (patch) | |
tree | 0d4d20622fd92a51cef5e9148a6adaeec28fe82e /graphics | |
parent | d5385f0c88290b5d146c1f9ab74f423bae0c7a1e (diff) | |
download | freebsd-ports-gnome-cb7e1cc955e45ee0208afb1a69c50b50eb6c9bbc.tar.gz freebsd-ports-gnome-cb7e1cc955e45ee0208afb1a69c50b50eb6c9bbc.tar.zst freebsd-ports-gnome-cb7e1cc955e45ee0208afb1a69c50b50eb6c9bbc.zip |
- Bring back libchamplain 0.8 (gtk2-related)
This is needed as an optional dependency for graphics/geeqie
- Take maintainership as suggested by kwm
- Resolve conflicts with graphics/libchamplain
- Make documentation optional
PR: 201691
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libchamplain08/Makefile | 37 | ||||
-rw-r--r-- | graphics/libchamplain08/distinfo | 2 | ||||
-rw-r--r-- | graphics/libchamplain08/files/patch-champlain-gtk_Makefile.in | 34 | ||||
-rw-r--r-- | graphics/libchamplain08/pkg-descr | 10 | ||||
-rw-r--r-- | graphics/libchamplain08/pkg-plist | 118 |
6 files changed, 202 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 9bccd9da95c2..24e05dc4077a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -471,6 +471,7 @@ SUBDIR += libcaca SUBDIR += libcdr01 SUBDIR += libchamplain + SUBDIR += libchamplain08 SUBDIR += libdmtx SUBDIR += libdrm SUBDIR += libecwj2 diff --git a/graphics/libchamplain08/Makefile b/graphics/libchamplain08/Makefile new file mode 100644 index 000000000000..b177120d230e --- /dev/null +++ b/graphics/libchamplain08/Makefile @@ -0,0 +1,37 @@ +# Created by: Koop Mast <kwm@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libchamplain +PORTVERSION= 0.8.1 +CATEGORIES= graphics +MASTER_SITES= GNOME +PKGNAMESUFFIX= 08 + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= C library provides a Gtk+ widget to display rasterized maps/markers + +LIB_DEPENDS= libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk \ + libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome + +USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2 +USE_GNOME= gnomeprefix gtk20 introspection:build,run +USE_SQLITE= 3 +USE_GL= gl +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lgthread-2.0 +INSTALL_TARGET= install-strip + +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +DOCSDIRGTK= ${PREFIX}/share/doc/${PORTNAME}-gtk${PKGNAMESUFFIX} + +PLIST_SUB= VERSION=0.8 DOCSDIRGTK="${DOCSDIRGTK}" + +OPTIONS_DEFINE= DOCS + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/share/doc/libchamplain ${STAGEDIR}${DOCSDIR} + ${MV} ${STAGEDIR}${PREFIX}/share/doc/libchamplain-gtk ${STAGEDIR}${DOCSDIRGTK} + +.include <bsd.port.mk> diff --git a/graphics/libchamplain08/distinfo b/graphics/libchamplain08/distinfo new file mode 100644 index 000000000000..04a163c1af22 --- /dev/null +++ b/graphics/libchamplain08/distinfo @@ -0,0 +1,2 @@ +SHA256 (libchamplain-0.8.1.tar.bz2) = 307f4e13cf902b58eaf8d52551b92fa90d0470f4a27b46746beb2c4fd0fdd57c +SIZE (libchamplain-0.8.1.tar.bz2) = 669156 diff --git a/graphics/libchamplain08/files/patch-champlain-gtk_Makefile.in b/graphics/libchamplain08/files/patch-champlain-gtk_Makefile.in new file mode 100644 index 000000000000..44e96bce19aa --- /dev/null +++ b/graphics/libchamplain08/files/patch-champlain-gtk_Makefile.in @@ -0,0 +1,34 @@ +--- champlain-gtk/Makefile.in.orig 2012-03-15 20:21:20.000000000 -0500 ++++ champlain-gtk/Makefile.in 2012-03-15 20:35:27.000000000 -0500 +@@ -370,15 +370,15 @@ + $(libchamplain_gtk_sources_built) + + libchamplain_gtk_@CHAMPLAIN_API_VERSION@_la_LIBADD = \ +- $(GTK_LIBS) \ +- $(top_builddir)/champlain/libchamplain-@CHAMPLAIN_API_VERSION@.la ++ $(top_builddir)/champlain/libchamplain-@CHAMPLAIN_API_VERSION@.la \ ++ $(GTK_LIBS) + + libchamplain_gtk_@CHAMPLAIN_API_VERSION@_la_LDFLAGS = \ + -version-info $(LIBRARY_VERSION) \ + -no-undefined \ + -export-symbols-regex ^gtk_champlain_.* + +-AM_CPPFLAGS = $(GTK_CFLAGS) $(WARN_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION ++AM_CPPFLAGS = -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION $(GTK_CFLAGS) $(WARN_CFLAGS) + lib_LTLIBRARIES = libchamplain-gtk-@CHAMPLAIN_API_VERSION@.la + libchamplain_gtkdir = $(includedir)/libchamplain-gtk-@CHAMPLAIN_API_VERSION@/champlain-gtk + libchamplain_gtk_HEADERS = $(libchamplain_gtk_headers_public) +@@ -394,9 +394,9 @@ + @HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources) + @HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-2.0 Champlain-@CHAMPLAIN_API_VERSION@ + @HAVE_INTROSPECTION_TRUE@GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_CFLAGS = \ +-@HAVE_INTROSPECTION_TRUE@ $(DEPS_CFLAGS) $(SOUP_CFLAGS) $(GTK_CFLAGS) \ +-@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) -I$(top_builddir)\ +-@HAVE_INTROSPECTION_TRUE@ -DCHAMPLAIN_COMPILATION -DCHAMPLAIN_GTK_COMPILATION ++@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) -I$(top_builddir) \ ++@HAVE_INTROSPECTION_TRUE@ -DCHAMPLAIN_COMPILATION -DCHAMPLAIN_GTK_COMPILATION \ ++@HAVE_INTROSPECTION_TRUE@ $(DEPS_CFLAGS) $(SOUP_CFLAGS) $(GTK_CFLAGS) + + @HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0 + @HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS) diff --git a/graphics/libchamplain08/pkg-descr b/graphics/libchamplain08/pkg-descr new file mode 100644 index 000000000000..c93152a7d963 --- /dev/null +++ b/graphics/libchamplain08/pkg-descr @@ -0,0 +1,10 @@ +Libchamplain is a C library providing a ClutterActor to display maps. It also +provides a Gtk+ widget to display maps in Gtk+ applications. Mono, Python and +Perl bindings are available. + +It supports numerous free map sources such as OpenStreetMap [1], +OpenAerialMap [2] and Maps for free [3]. +[1] http://www.openstreetmap.org/ [2] http://www.openaerialmap.org/ +[3] http://www.maps-for-free.com/ + +WWW: http://projects.gnome.org/libchamplain/ diff --git a/graphics/libchamplain08/pkg-plist b/graphics/libchamplain08/pkg-plist new file mode 100644 index 000000000000..463a0e1ae7de --- /dev/null +++ b/graphics/libchamplain08/pkg-plist @@ -0,0 +1,118 @@ +include/libchamplain-%%VERSION%%/champlain/champlain-base-marker.h +include/libchamplain-%%VERSION%%/champlain/champlain-bounding-box.h +include/libchamplain-%%VERSION%%/champlain/champlain-defines.h +include/libchamplain-%%VERSION%%/champlain/champlain-enum-types.h +include/libchamplain-%%VERSION%%/champlain/champlain-error-tile-renderer.h +include/libchamplain-%%VERSION%%/champlain/champlain-features.h +include/libchamplain-%%VERSION%%/champlain/champlain-file-cache.h +include/libchamplain-%%VERSION%%/champlain/champlain-file-tile-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-image-renderer.h +include/libchamplain-%%VERSION%%/champlain/champlain-layer.h +include/libchamplain-%%VERSION%%/champlain/champlain-map-source-chain.h +include/libchamplain-%%VERSION%%/champlain/champlain-map-source-desc.h +include/libchamplain-%%VERSION%%/champlain/champlain-map-source-factory.h +include/libchamplain-%%VERSION%%/champlain/champlain-map-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-marker.h +include/libchamplain-%%VERSION%%/champlain/champlain-marshal.h +include/libchamplain-%%VERSION%%/champlain/champlain-memory-cache.h +include/libchamplain-%%VERSION%%/champlain/champlain-network-bbox-tile-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-network-tile-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-null-tile-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-point.h +include/libchamplain-%%VERSION%%/champlain/champlain-polygon.h +include/libchamplain-%%VERSION%%/champlain/champlain-renderer.h +include/libchamplain-%%VERSION%%/champlain/champlain-selection-layer.h +include/libchamplain-%%VERSION%%/champlain/champlain-tile-cache.h +include/libchamplain-%%VERSION%%/champlain/champlain-tile-source.h +include/libchamplain-%%VERSION%%/champlain/champlain-tile.h +include/libchamplain-%%VERSION%%/champlain/champlain-version.h +include/libchamplain-%%VERSION%%/champlain/champlain-view.h +include/libchamplain-%%VERSION%%/champlain/champlain.h +include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk-enum-types.h +include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk-marshal.h +include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk.h +include/libchamplain-gtk-%%VERSION%%/champlain-gtk/gtk-champlain-embed.h +lib/girepository-1.0/Champlain-%%VERSION%%.typelib +lib/girepository-1.0/GtkChamplain-%%VERSION%%.typelib +lib/libchamplain-%%VERSION%%.a +lib/libchamplain-%%VERSION%%.la +lib/libchamplain-%%VERSION%%.so +lib/libchamplain-%%VERSION%%.so.1 +lib/libchamplain-%%VERSION%%.so.1.1.2 +lib/libchamplain-gtk-%%VERSION%%.a +lib/libchamplain-gtk-%%VERSION%%.la +lib/libchamplain-gtk-%%VERSION%%.so +lib/libchamplain-gtk-%%VERSION%%.so.1 +lib/libchamplain-gtk-%%VERSION%%.so.1.1.2 +libdata/pkgconfig/champlain-%%VERSION%%.pc +libdata/pkgconfig/champlain-gtk-%%VERSION%%.pc +%%PORTDOCS%%%%DOCSDIRGTK%%/GtkChamplainEmbed.html +%%PORTDOCS%%%%DOCSDIRGTK%%/home.png +%%PORTDOCS%%%%DOCSDIRGTK%%/index.html +%%PORTDOCS%%%%DOCSDIRGTK%%/index.sgml +%%PORTDOCS%%%%DOCSDIRGTK%%/left.png +%%PORTDOCS%%%%DOCSDIRGTK%%/libchamplain-gtk.devhelp +%%PORTDOCS%%%%DOCSDIRGTK%%/libchamplain-gtk.devhelp2 +%%PORTDOCS%%%%DOCSDIRGTK%%/pt01.html +%%PORTDOCS%%%%DOCSDIRGTK%%/right.png +%%PORTDOCS%%%%DOCSDIRGTK%%/style.css +%%PORTDOCS%%%%DOCSDIRGTK%%/up.png +%%PORTDOCS%%%%DOCSDIR%%/ChamplainBaseMarker.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainErrorTileRenderer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainFileCache.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainFileTileSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainImageRenderer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainLayer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSourceChain.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMapSourceFactory.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMarker.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMemoryCache.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainMemphisRenderer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainNetworkBboxTileSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainNetworkTileSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainNullTileSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainPolygon.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainRenderer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainSelectionLayer.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainTile.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainTileCache.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainTileSource.html +%%PORTDOCS%%%%DOCSDIR%%/ChamplainView.html +%%PORTDOCS%%%%DOCSDIR%%/ch01.html +%%PORTDOCS%%%%DOCSDIR%%/ch02.html +%%PORTDOCS%%%%DOCSDIR%%/ch03.html +%%PORTDOCS%%%%DOCSDIR%%/ch04.html +%%PORTDOCS%%%%DOCSDIR%%/ch05.html +%%PORTDOCS%%%%DOCSDIR%%/ch06.html +%%PORTDOCS%%%%DOCSDIR%%/home.png +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/ix01.html +%%PORTDOCS%%%%DOCSDIR%%/ix02.html +%%PORTDOCS%%%%DOCSDIR%%/ix03.html +%%PORTDOCS%%%%DOCSDIR%%/ix04.html +%%PORTDOCS%%%%DOCSDIR%%/ix05.html +%%PORTDOCS%%%%DOCSDIR%%/ix06.html +%%PORTDOCS%%%%DOCSDIR%%/ix07.html +%%PORTDOCS%%%%DOCSDIR%%/left.png +%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainBoundingBox.html +%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainMapSourceDesc.html +%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainPoint.html +%%PORTDOCS%%%%DOCSDIR%%/libchamplain-ChamplainVersion.html +%%PORTDOCS%%%%DOCSDIR%%/libchamplain.devhelp +%%PORTDOCS%%%%DOCSDIR%%/libchamplain.devhelp2 +%%PORTDOCS%%%%DOCSDIR%%/pt01.html +%%PORTDOCS%%%%DOCSDIR%%/pt02.html +%%PORTDOCS%%%%DOCSDIR%%/pt03.html +%%PORTDOCS%%%%DOCSDIR%%/pt04.html +%%PORTDOCS%%%%DOCSDIR%%/pt05.html +%%PORTDOCS%%%%DOCSDIR%%/right.png +%%PORTDOCS%%%%DOCSDIR%%/style.css +%%PORTDOCS%%%%DOCSDIR%%/up.png +share/gir-1.0/Champlain-%%VERSION%%.gir +share/gir-1.0/GtkChamplain-%%VERSION%%.gir +share/vala/vapi/champlain-%%VERSION%%.deps +share/vala/vapi/champlain-%%VERSION%%.vapi +share/vala/vapi/champlain-gtk-%%VERSION%%.deps +share/vala/vapi/champlain-gtk-%%VERSION%%.vapi |