Bug 185914 - [PATCH] x11-toolkits/libunique3: disable g-ir-scanner cache, support staging
Summary: [PATCH] x11-toolkits/libunique3: disable g-ir-scanner cache, support staging
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:10 UTC by Dmitry Marakasov
Modified: 2014-02-16 15:20 UTC (History)
1 user (show)

See Also:


Attachments
libunique-3.0.2.patch (785 bytes, patch)
2014-01-20 14:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-01-20 14:10:01 UTC
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Use new LIB_DEPENDS syntax
- Support staging

Port maintainer (kwm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-27 04:19:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov 2014-01-28 23:12:42 UTC
* Dmitry Marakasov (amdmi3@amdmi3.ru) wrote:

Updated patch, which makes use of USE_GNOME=introspection to take 
care of environement for g-ir-scanner automatically.

--- libunique3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -9,8 +9,7 @@
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Library for single instance applications
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 
 LATEST_LINK=	libunique3
 USE_XORG=	ice x11
@@ -18,13 +17,12 @@
 USES=		gettext gmake pkgconfig
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool
-USE_GNOME=	gtk30 gnomeprefix ltverhack:0
+USE_GNOME=	gtk30 gnomeprefix ltverhack:0 introspection:build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-maintainer-flags --enable-gtk-doc-html=no
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
 		-e 's|unique tests doc|unique tests|g' \
--- libunique3.patch ends here ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-16 15:11:43 UTC
Author: kwm
Date: Sun Feb 16 15:11:35 2014
New Revision: 344582
URL: http://svnweb.freebsd.org/changeset/ports/344582
QAT: https://qat.redports.org/buildarchive/r344582/

Log:
  Stagify, new lib_depend syntax, strip library.
  Use USE_GNOME introspection component.
  Switch from ltverhack to USES=libtool
  
  PR:		ports/185914 (based on)
  Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru>

Modified:
  head/x11-toolkits/libunique3/Makefile
  head/x11-toolkits/libunique3/pkg-plist

Modified: head/x11-toolkits/libunique3/Makefile
==============================================================================
--- head/x11-toolkits/libunique3/Makefile	Sun Feb 16 15:07:26 2014	(r344581)
+++ head/x11-toolkits/libunique3/Makefile	Sun Feb 16 15:11:35 2014	(r344582)
@@ -9,24 +9,21 @@ MASTER_SITES=	GNOME
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Library for single instance applications
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 
-LATEST_LINK=	libunique3
 USE_XORG=	ice x11
 USE_XZ=		yes
-USES=		gettext gmake pkgconfig
+USES=		gettext gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	libtool
-USE_GNOME=	gtk30 gnomeprefix ltverhack:0
+USE_GNOME=	gtk30 gnomeprefix
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-maintainer-flags --enable-gtk-doc-html=no
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
+	@${REINPLACE_CMD} \
 		-e 's|unique tests doc|unique tests|g' \
 		${WRKSRC}/configure ${WRKSRC}/Makefile.in
 

Modified: head/x11-toolkits/libunique3/pkg-plist
==============================================================================
--- head/x11-toolkits/libunique3/pkg-plist	Sun Feb 16 15:07:26 2014	(r344581)
+++ head/x11-toolkits/libunique3/pkg-plist	Sun Feb 16 15:11:35 2014	(r344582)
@@ -5,10 +5,10 @@ include/unique-3.0/unique/uniqueenumtype
 include/unique-3.0/unique/uniquemessage.h
 include/unique-3.0/unique/uniqueversion.h
 lib/girepository-1.0/Unique-3.0.typelib
-lib/libunique-3.0.a
 lib/libunique-3.0.la
 lib/libunique-3.0.so
 lib/libunique-3.0.so.0
+lib/libunique-3.0.so.0.0.2
 libdata/pkgconfig/unique-3.0.pc
 share/gir-1.0/Unique-3.0.gir
 @dirrm include/unique-3.0/unique
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Koop Mast freebsd_committer freebsd_triage 2014-02-16 15:13:35 UTC
State Changed
From-To: open->closed

Committed with additional changes.