Bug 89673 - [MAINTAINER] x11/idesk: update to 0.7.5
Summary: [MAINTAINER] x11/idesk: update to 0.7.5
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: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 14:20 UTC by Jose Alonso Cardenas Marquez
Modified: 2005-12-03 04:00 UTC (History)
0 users

See Also:


Attachments
idesk-0.7.5_1.patch (2.02 KB, patch)
2005-11-28 14:20 UTC, Jose Alonso Cardenas Marquez
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Alonso Cardenas Marquez 2005-11-28 14:20:02 UTC
- Update to 0.7.5
- Add SHA256
- Add OPTIONS
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-28 16:24:06 UTC
State Changed
From-To: open->feedback

looks like there's no --disable-libsn in this software: 

checking for LIBSN... gnome-config: not found 
configure: error: Package requirements (libstartup-notification-1.0 >= 0.5) were not met. 
Consider adjusting the PKG_CONFIG_PATH environment variable if you 
installed software in a non-standard prefix. 

Alternatively you may set the LIBSN_CFLAGS and LIBSN_LIBS environment variables 
to avoid the need to call pkg-config.  See the pkg-config man page for 
more details. 



Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-28 16:24:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 3 Jose Alonso Cardenas Marquez 2005-11-28 20:50:05 UTC
New patch, --enable-libsn default is "no", i removed "else" WITH_SN option.

--- idesk-0.7.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11/idesk/Makefile /usr/ports/x11/idesk-new/Makefile
--- Makefile	Wed Nov 16 12:51:51 2005
+++ Makefile	Mon Nov 28 15:40:42 2005
@@ -6,16 +6,15 @@
 #
 
 PORTNAME=	idesk
-PORTVERSION=	0.7.4
+PORTVERSION=	0.7.5
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}/
-EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	acardenas@bsd.org.pe
 COMMENT=	Place launch icons and background directly on your desktop
 
-LIB_DEPENDS=	Xft.2:${PORTSDIR}/x11-fonts/libXft
 BUILD_DEPENDS=	imlib2-config:${PORTSDIR}/graphics/imlib2
 
 USE_X_PREFIX=	yes
@@ -28,6 +27,30 @@
 CXXFLAGS+=	`imlib2-config --cflags` `freetype-config --cflags`
 MAKE_ARGS=	cc="${CXX}" cflags="${CXXFLAGS}"
 
+OPTIONS=	XFT	"XFT antialias support"	on \
+		SHAPE	"Enable support of the XShape extension"	on \
+		SN	"Startup notification support"	off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_XFT)
+LIB_DEPENDS+=	Xft.2:${PORTSDIR}/x11-fonts/libXft
+CONFIGURE_ARGS+=	--enable-xft
+.else
+CONFIGURE_ARGS+=	--disable-xft
+.endif
+
+.if !defined(WITHOUT_SHAPE)
+CONFIGURE_ARGS+=	--enable-shape
+.else
+CONFIGURE_ARGS+=	--disable-shape
+.endif
+
+.if defined(WITH_SN)
+LIB_DEPENDS+=	startup-notification-1.0:${PORTSDIR}/x11/startup-notification
+CONFIGURE_ARGS+=	--enable-libsn
+.endif
+
 do-install:
 		${INSTALL_PROGRAM} ${WRKSRC}/src/idesk ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
@@ -36,4 +59,4 @@
 .endif
 		@${SED} -e 's:%%PREFIX%%:${PREFIX}:' ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/x11/idesk/distinfo /usr/ports/x11/idesk-new/distinfo
--- distinfo	Tue Sep 13 16:18:31 2005
+++ distinfo	Mon Nov 28 15:33:35 2005
@@ -1,2 +1,3 @@
-MD5 (idesk-0.7.4.tar.bz2) = 7e11b0b5cc181e74616e24600b354698
-SIZE (idesk-0.7.4.tar.bz2) = 156141
+MD5 (idesk-0.7.5.tar.bz2) = beb48c97815c7b085e3b3d601297fbb8
+SHA256 (idesk-0.7.5.tar.bz2) = d4b7ea5dcf6d49d83e2df9512d4c6388f11632a702b14f42a1bc6bffb617b3d3
+SIZE (idesk-0.7.5.tar.bz2) = 185858
--- idesk-0.7.5_1.patch ends here ---

ACM
-- 
Grupo de Usuarios *BSD Peru - BSDPeru
http://www.bsd.org.pe
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-28 20:56:07 UTC
Jose Alonso Cardenas Marquez pí¹e v po 28. 11. 2005 v 15:50 -0500:

> +OPTIONS=	XFT	"XFT antialias support"	on \
> +		SHAPE	"Enable support of the XShape extension"	on \
> +		SN	"Startup notification support"	off


> +.if defined(WITH_SN)
> +LIB_DEPENDS+=	startup-notification-1.0:${PORTSDIR}/x11/startup-notification
> +CONFIGURE_ARGS+=	--enable-libsn
> +.endif


This means that if you happen to have startup-notification installed,
configure will pick up the dependency but port will not record it.

Is it correct?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

As to floating eyes, let them float :).
  - r.g.r.a
Comment 5 Florent Thoumie freebsd_committer freebsd_triage 2005-11-30 16:35:35 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-30 16:39:35 UTC
State Changed
From-To: open->feedback

No it hasn't
Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-30 17:58:53 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 8 Jose Alonso Cardenas Marquez 2005-12-03 03:41:21 UTC
If you do not set --enable-libsn, configure ignore startup-notification installed, startup-notification is disable for default, port will record it without problems(WITH and WITHOUT) 

ACM
-- 
Grupo de Usuarios *BSD Peru - BSDPeru
http://www.bsd.org.pe