[Midnightbsd-cvs] mports: mports/x11: Archite shouldn't mention software to me :)

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 22 16:33:48 EDT 2007


Log Message:
-----------
Archite shouldn't mention software to me :)

Modified Files:
--------------
    mports/x11:
        Makefile (r1.29 -> r1.30)

Added Files:
-----------
    mports/x11/idesk:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/x11/idesk/files:
        patch-src_DesktopConfig.cpp (r1.1)
        patch-src_Timer.cpp (r1.1)
        patch-src_XImlib2Background.cpp (r1.1)
        pkg-message.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -Lx11/Makefile -Lx11/Makefile -u -r1.29 -r1.30
--- x11/Makefile
+++ x11/Makefile
@@ -9,6 +9,7 @@
     SUBDIR += etoile
     SUBDIR += etoile-iterm
     SUBDIR += etoile-xwindowserverkit
+    SUBDIR += idesk
     SUBDIR += kde3
     SUBDIR += kdebase3
     SUBDIR += kdelibs3
--- /dev/null
+++ x11/idesk/pkg-descr
@@ -0,0 +1,4 @@
+iDesk lets you put launch icons and background directly on the
+root window of your X.
+
+WWW: http://idesk.sourceforge.net
--- /dev/null
+++ x11/idesk/pkg-plist
@@ -0,0 +1,3 @@
+bin/idesk
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ x11/idesk/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for:	idesk
+# Date created:		16 February 2003
+# Whom:			Sascha Holzleiter <sascha at root-login.org>
+#
+# $MidnightBSD: mports/x11/idesk/Makefile,v 1.1 2007/08/22 20:33:46 laffer1 Exp $
+# $FreeBSD: ports/x11/idesk/Makefile,v 1.20 2007/05/19 20:26:40 flz Exp $
+#
+
+PORTNAME=	idesk
+PORTVERSION=	0.7.5
+PORTREVISION=	2
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Place launch icons and background directly on your desktop
+
+BUILD_DEPENDS=	imlib2-config:${PORTSDIR}/graphics/imlib2
+
+USE_XLIB=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	autoconf:259
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+CXXFLAGS+=	`imlib2-config --cflags` `freetype-config --cflags`
+MAKE_ARGS=	cc="${CXX}" cflags="${CXXFLAGS}"
+SUB_FILES=	pkg-message
+
+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)
+		${MKDIR} ${DOCSDIR}
+		${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ x11/idesk/distinfo
@@ -0,0 +1,3 @@
+MD5 (idesk-0.7.5.tar.bz2) = beb48c97815c7b085e3b3d601297fbb8
+SHA256 (idesk-0.7.5.tar.bz2) = d4b7ea5dcf6d49d83e2df9512d4c6388f11632a702b14f42a1bc6bffb617b3d3
+SIZE (idesk-0.7.5.tar.bz2) = 185858
--- /dev/null
+++ x11/idesk/files/patch-src_XImlib2Background.cpp
@@ -0,0 +1,16 @@
+*** src/XImlib2Background.cpp.orig	Tue Sep  6 01:03:34 2005
+--- src/XImlib2Background.cpp	Mon Sep 12 22:39:11 2005
+***************
+*** 23,32 ****
+--- 23,33 ----
+   */
+  
+  #include "Database.h"
+  #include "XImlib2Background.h"
+  #include <X11/Xatom.h>
++ #include "sys/stat.h"
+  
+  XImlib2Background::XImlib2Background(AbstractContainer * c, AbstractConfig * con): TimerControl(), 
+                                                      container(c), config(con),delay(0), mode(0),  save(NULL), show(NULL),
+  						    srctime(0), images(""), directory(""), OneShot(false)
+  {
--- /dev/null
+++ x11/idesk/files/pkg-message.in
@@ -0,0 +1,10 @@
+
+Idesk was installed
+
+You need to configure idesk before you can use it. A detailed explanation can 
+be found in the README file which resides in:
+
+%%PREFIX%%/share/doc/idesk
+
+Unless you have chosen not to install it ;)
+
--- /dev/null
+++ x11/idesk/files/patch-src_Timer.cpp
@@ -0,0 +1,10 @@
+--- src/Timer.cpp.orig	Mon Aug 15 07:26:39 2005
++++ src/Timer.cpp	Tue Sep 13 23:14:32 2005
+@@ -26,6 +26,7 @@
+ #include "Database.h"
+ #include <X11/Xlib.h>
+ #include "Timer.h"
++#include <sys/time.h>
+ 
+ vector<TimerControl*> Timer::items;
+ 
--- /dev/null
+++ x11/idesk/files/patch-src_DesktopConfig.cpp
@@ -0,0 +1,16 @@
+*** src/DesktopConfig.cpp.orig	Mon Sep  5 21:03:05 2005
+--- src/DesktopConfig.cpp	Mon Sep 12 22:38:55 2005
+***************
+*** 22,31 ****
+--- 22,32 ----
+   * (See the included file COPYING / BSD )
+   */
+  
+  #include "DesktopConfig.h"
+  #include "Util.h"
++ #include "sys/stat.h"
+  
+  //the initilizer list just sets the program defaults for non-necessary options
+  DesktopConfig::DesktopConfig(Database db, string ideskrcFile) :
+                               AbstractConfig(ideskrcFile)
+  {


More information about the Midnightbsd-cvs mailing list