View | Details | Raw Unified | Return to bug 205335 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/gexiv2/Makefile (-16 / +7 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gexiv2
4
PORTNAME=	gexiv2
5
PORTVERSION=	0.6.1
5
PORTVERSION=	0.10.3
6
PORTREVISION=	5
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
MASTER_SITES=	http://yorba.org/download/${PORTNAME}/${PORTVERSION:R}/
7
MASTER_SITES=	GNOME
9
DISTNAME=	lib${PORTNAME}_${PORTVERSION}
10
8
11
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	GObject-based wrapper around Exiv2 library
10
COMMENT=	GObject-based wrapper around Exiv2 library
Lines 17-40 Link Here
17
BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
15
BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
18
LIB_DEPENDS=	libexiv2.so:${PORTSDIR}/graphics/exiv2
16
LIB_DEPENDS=	libexiv2.so:${PORTSDIR}/graphics/exiv2
19
17
20
USES=		gmake libtool:build pkgconfig tar:xz
18
USES=		gmake libtool:build pkgconfig python:3 tar:xz
21
USE_GNOME=	glib20 introspection:build
19
USE_GNOME=	glib20 introspection:build py3gobject3
22
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
23
MAKE_ARGS=	REQUIRED_CFLAGS="" ENABLE_INTROSPECTION=1
21
GNU_CONFIGURE=	yes
24
WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
22
CONFIGURE_ARGS=	--enable-introspection --enable-static
25
23
26
post-patch:
27
	@${REINPLACE_CMD} -E \
28
		-e 's|^([[:space:]]+)m4[[:space:]]|\1gm4 |' \
29
		-e 's|\$$\(LIB\)/pkgconfig|libdata/pkgconfig|' \
30
		-e '/^CFLAGS/ s|CFLAGS|CXXFLAGS|' \
31
		-e 's|\(CFLAGS\)|(CXXFLAGS)|' \
32
		${WRKSRC}/${MAKEFILE}
33
34
pre-install:
24
pre-install:
35
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi
25
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi
36
26
37
post-install:
27
post-install:
28
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/python2.7/
38
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so
29
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so
39
30
40
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)graphics/gexiv2/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libgexiv2_0.6.1.tar.xz) = 72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3
1
SHA256 (gexiv2-0.10.3.tar.xz) = 390cfb966197fa9f3f32200bc578d7c7f3560358c235e6419657206a362d3988
2
SIZE (libgexiv2_0.6.1.tar.xz) = 27300
2
SIZE (gexiv2-0.10.3.tar.xz) = 244816
(-)graphics/gexiv2/files/patch-Makefile.in (+20 lines)
Line 0 Link Here
1
--- Makefile.in.orig	2015-12-14 22:55:38.007000000 +0100
2
+++ Makefile.in	2015-12-14 23:06:41.026990000 +0100
3
@@ -410,7 +410,7 @@
4
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
5
 
6
 # Installation directories.
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(libdir)data/pkgconfig
9
 GEXIV2_publicdir = $(includedir)/gexiv2
10
 girdir = $(datadir)/gir-1.0
11
 typelibdir = `pkg-config gobject-introspection-no-export-1.0 --variable typelibdir`
12
@@ -476,7 +476,7 @@
13
 
14
 # REQUIRED_CFLAGS absolutely get appended to CFLAGS, whatever the
15
 # the value of CFLAGS in the environment.
16
-REQUIRED_CXXFLAGS = -Wl,-lstdc++ $(am__append_1)
17
+REQUIRED_CXXFLAGS = -Wl,-lc++ $(am__append_1)
18
 AM_CXXFLAGS = $(REQUIRED_CXXFLAGS)
19
 lib@PACKAGE_NAME@_la_SOURCES = $(GEXIV2_sources) $(GEXIV2_public_HEADERS)
20
 lib@PACKAGE_NAME@_la_LIBADD = $(EXIV2_LIBS) $(GLIB_LIBS)
(-)graphics/gexiv2/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
gexiv2 is a GObject-based wrapper around the Exiv2 library.  It makes the
1
gexiv2 is a GObject-based wrapper around the Exiv2 library.  It makes the
2
basic features of Exiv2 available to GNOME applications.
2
basic features of Exiv2 available to GNOME applications.
3
3
4
WWW: http://trac.yorba.org/wiki/gexiv2/
4
WWW: https://wiki.gnome.org/Projects/gexiv2
(-)graphics/gexiv2/pkg-plist (-2 / +4 lines)
Lines 5-15 Link Here
5
include/gexiv2/gexiv2-preview-properties.h
5
include/gexiv2/gexiv2-preview-properties.h
6
include/gexiv2/gexiv2-preview-image.h
6
include/gexiv2/gexiv2-preview-image.h
7
include/gexiv2/gexiv2-startup.h
7
include/gexiv2/gexiv2-startup.h
8
lib/girepository-1.0/GExiv2-0.4.typelib
8
include/gexiv2/gexiv2-version.h
9
lib/girepository-1.0/GExiv2-0.10.typelib
9
lib/libgexiv2.a
10
lib/libgexiv2.a
10
lib/libgexiv2.so
11
lib/libgexiv2.so
11
lib/libgexiv2.so.2
12
lib/libgexiv2.so.2
12
lib/libgexiv2.so.2.0.0
13
lib/libgexiv2.so.2.0.0
13
libdata/pkgconfig/gexiv2.pc
14
libdata/pkgconfig/gexiv2.pc
14
share/gir-1.0/GExiv2-0.4.gir
15
%%PYTHON_SITELIBDIR%%/gi/overrides/GExiv2.py
16
share/gir-1.0/GExiv2-0.10.gir
15
share/vala/vapi/gexiv2.vapi
17
share/vala/vapi/gexiv2.vapi

Return to bug 205335