mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 1.3.8
- Convert to USES - Stage support PR: 186738 Submitted by: ports fury
This commit is contained in:
parent
3c0ba34945
commit
60880dc81e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345744
11 changed files with 82 additions and 144 deletions
|
@ -2,66 +2,58 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= icewm
|
PORTNAME= icewm
|
||||||
PORTVERSION= 1.3.7
|
PORTVERSION= 1.3.8
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= x11-wm
|
CATEGORIES= x11-wm
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION}/
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Window Manager designed for speed, usability and consistency
|
COMMENT= Window Manager designed for speed, usability and consistency
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
WANT_GNOME= yes
|
USES= gmake iconv pkgconfig
|
||||||
USE_XORG= x11 ice xinerama xext xrandr sm
|
USE_XORG= ice sm x11 xext
|
||||||
USE_GNOME= gtk20 # gdkpixbuf really :-)
|
USE_GNOME= gdkpixbuf2
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CONFIGURE_ARGS= --enable-guievents \
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
|
||||||
USES= gmake pkgconfig
|
|
||||||
CONFIGURE_ARGS= --enable-shaped-decorations \
|
|
||||||
--enable-guievents \
|
|
||||||
--with-cfgdir=${DATADIR} \
|
--with-cfgdir=${DATADIR} \
|
||||||
--with-libdir=${DATADIR} \
|
--with-libdir=${DATADIR} \
|
||||||
--with-kdedatadir=${LOCALBASE}/share \
|
--with-kdedatadir=${LOCALBASE}/share \
|
||||||
--with-docdir=${PREFIX}/share/doc \
|
--with-docdir=${PREFIX}/share/doc \
|
||||||
--with-mkfontdir=${NONEXISTENT}
|
--with-mkfontdir=${NONEXISTENT}
|
||||||
|
|
||||||
OPTIONS_DEFINE= GNOME ESOUND XFT XINERAMA ASM BEASTIE NLS LITE MENUFIX
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
OPTIONS_DEFAULT= XFT XINERAMA ASM BEASTIE NLS MENUFIX
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
BEASTIE_DESC= Use Beastie'fied startup button
|
|
||||||
MENUFIX_DESC= MenuIconSize fix
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
OPTIONS_DEFINE= BEASTIE ESOUND GNOME LITE MENUFIX NLS XFT XINERAMA \
|
||||||
|
XRANDR
|
||||||
|
OPTIONS_DEFINE_i386= ASM
|
||||||
|
OPTIONS_DEFAULT= BEASTIE MENUFIX NLS XFT XINERAMA XRANDR
|
||||||
|
OPTIONS_DEFAULT_i386= ASM
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGNOME}
|
BEASTIE_DESC= Use Beastie'fied startup button
|
||||||
USE_GNOME+= gnomedesktop libgnomeui
|
ESOUND_USE= GNOME=esound
|
||||||
CONFIGURE_ARGS+=--enable-menus-gnome2
|
ESOUND_CONFIGURE_ON= --with-icesound=esound
|
||||||
INSTALL_TARGET= install
|
ESOUND_CONFIGURE_OFF= --with-icesound=oss
|
||||||
PLIST_SUB+= GNOMEDESKTOP=""
|
GNOME_DESC= Display GNOME 2 menus
|
||||||
.else
|
GNOME_USE= GNOME=gnomedesktop,libgnomeui
|
||||||
PLIST_SUB+= GNOMEDESKTOP="@comment "
|
GNOME_CONFIGURE_ENABLE= menus-gnome2
|
||||||
.endif
|
LITE_CONFIGURE_ENABLE= lite
|
||||||
|
MENUFIX_DESC= MenuIconSize fix
|
||||||
|
MENUFIX_EXTRA_PATCHES= ${FILESDIR}/extra-menu-icon-fix.patch
|
||||||
|
NLS_USES= gettext
|
||||||
|
NLS_CONFIGURE_ENABLE= nls
|
||||||
|
XFT_LIB_DEPENDS= libXft.so:${PORTSDIR}/x11-fonts/libXft
|
||||||
|
XFT_CONFIGURE_OFF= --enable-corefonts --disable-xfreetype
|
||||||
|
XINERAMA_USE= XORG=xinerama
|
||||||
|
XINERAMA_CONFIGURE_ENABLE= xinerama
|
||||||
|
XRANDR_USE= XORG=xrandr
|
||||||
|
XRANDR_CONFIGURE_ENABLE= xrandr
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MESOUND}
|
.include <bsd.port.options.mk>
|
||||||
USE_GNOME+= esound
|
|
||||||
CONFIGURE_ARGS+=--with-icesound=esound
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--with-icesound=oss
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MXFT}
|
.if ${PORT_OPTIONS:MASM}
|
||||||
LIB_DEPENDS+= Xft:${PORTSDIR}/x11-fonts/libXft
|
|
||||||
CONFIGURE_ARGS+=--enable-gradients
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--enable-corefonts --disable-xfreetype
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if empty(PORT_OPTIONS:MXINERAMA)
|
|
||||||
CONFIGURE_ARGS+=--disable-xinerama
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "i386" && ${PORT_OPTIONS:MASM}
|
|
||||||
CONFIGURE_ARGS+=--enable-x86-asm
|
CONFIGURE_ARGS+=--enable-x86-asm
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-x86-asm
|
CONFIGURE_ARGS+=--disable-x86-asm
|
||||||
|
@ -73,20 +65,10 @@ STARTUP_PIXMAP= ${DATADIR}/taskbar/bsd-daemon.xpm
|
||||||
STARTUP_PIXMAP= icewm-logo.xpm
|
STARTUP_PIXMAP= icewm-logo.xpm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
|
||||||
USES+= gettext
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--disable-nls --disable-i18n
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MLITE}
|
.if ${PORT_OPTIONS:MLITE}
|
||||||
MAKE_ENV+= LITE=1
|
PLIST_SUB+= NOLITE="@comment "
|
||||||
.endif
|
.else
|
||||||
|
PLIST_SUB+= NOLITE=""
|
||||||
.if ${PORT_OPTIONS:MMENUFIX}
|
|
||||||
EXTRA_PATCHES+= ${FILESDIR}/extra-menu-icon-fix.patch
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
|
@ -102,9 +84,15 @@ post-patch:
|
||||||
s|/usr/share/app|${LOCALBASE}/share/app|g ; \
|
s|/usr/share/app|${LOCALBASE}/share/app|g ; \
|
||||||
s|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \
|
s|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \
|
||||||
${WRKSRC}/src/gnome2.cc
|
${WRKSRC}/src/gnome2.cc
|
||||||
|
@${REINPLACE_CMD} -e \
|
||||||
post-configure:
|
's|SHELL=.*|SHELL=@SHELL@| ; \
|
||||||
${REINPLACE_CMD} -e 's|icewm-set-gnomewm||g' ${WRKSRC}/Makefile
|
s|icewm-set-gnomewm||g' ${WRKSRC}/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e \
|
||||||
|
's|icewm-$$(VERSION)|icewm| ; \
|
||||||
|
s|`pkg-config fontconfig --cflags`|| ; \
|
||||||
|
s|`pkg-config fontconfig --libs`|| ; \
|
||||||
|
/@echo/s|^|#| ; \
|
||||||
|
s|@$$(|$$(|' ${WRKSRC}/src/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.for dir in taskbar themes/Infadel2/taskbar
|
.for dir in taskbar themes/Infadel2/taskbar
|
||||||
|
@ -116,4 +104,4 @@ post-install:
|
||||||
. endfor
|
. endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (icewm-1.3.7.tar.gz) = ca1a78046ae340c324c441ce24a9675c24a8bafd3eb6ed8205345785da08887b
|
SHA256 (icewm-1.3.8.tar.gz) = 17588d9e0bbbb23587bc04c83da9dd94fd4da6894ecfee6d7f3ed50d780dcd18
|
||||||
SIZE (icewm-1.3.7.tar.gz) = 898197
|
SIZE (icewm-1.3.8.tar.gz) = 905680
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- ./src/Makefile.in.orig 2011-04-22 23:41:38.690448253 +0200
|
|
||||||
+++ ./src/Makefile.in 2011-04-22 23:41:53.522445343 +0200
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
-DICEWMBGEXE='"icewmbg$(EXEEXT)"' \
|
|
||||||
-DICESMEXE='"icewm-session$(EXEEXT)"' \
|
|
||||||
-DICEHELPEXE='"icehelp$(EXEEXT)"' \
|
|
||||||
- -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"'
|
|
||||||
+ -DICEHELPIDX='"$(DOCDIR)/icewm/icewm.html"'
|
|
||||||
|
|
||||||
CXXFLAGS = @CXXFLAGS@ $(DEBUG) $(DEFS) `pkg-config gdk-pixbuf-xlib-2.0 --cflags` \
|
|
||||||
@CORE_CFLAGS@ @IMAGE_CFLAGS@ @AUDIO_CFLAGS@ # `fc-config --cflags`
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- ./src/aapm.cc.orig 2010-10-31 10:09:36.000000000 -0400
|
|
||||||
+++ ./src/aapm.cc 2010-11-02 19:56:53.000000000 -0400
|
|
||||||
@@ -243,6 +243,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
void YApm::AcpiStr(char *s, bool Tool) {
|
|
||||||
+ size_t len;
|
|
||||||
char buf[80], buf2[80], bat_info[250];
|
|
||||||
FILE *fd;
|
|
||||||
//name of the battery
|
|
|
@ -1,17 +0,0 @@
|
||||||
Fix clang build errors
|
|
||||||
|
|
||||||
http://icewm.cvs.sourceforge.net/viewvc/icewm/icewm-1.2/src/apppstatus.cc?r1=1.24.2.1.2.4&r2=1.24.2.1.2.5&pathrev=icewm-1-3-BRANCH
|
|
||||||
|
|
||||||
--- src/apppstatus.cc 2009/11/08 19:24:08 1.24.2.1.2.4
|
|
||||||
+++ src/apppstatus.cc 2010/12/25 15:29:53 1.24.2.1.2.5
|
|
||||||
@@ -82,7 +82,9 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
NetStatus::~NetStatus() {
|
|
||||||
- delete[] color;
|
|
||||||
+ delete color[0];
|
|
||||||
+ delete color[1];
|
|
||||||
+ delete color[2];
|
|
||||||
delete[] ppp_in;
|
|
||||||
delete[] ppp_out;
|
|
||||||
delete fUpdateTimer;
|
|
20
x11-wm/icewm/files/patch-src__wmapp.cc
Normal file
20
x11-wm/icewm/files/patch-src__wmapp.cc
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/wmapp.cc.orig
|
||||||
|
+++ src/wmapp.cc
|
||||||
|
@@ -337,7 +337,7 @@
|
||||||
|
int ndirs; // ------------------- retrieve the old X's font path ---
|
||||||
|
char ** fontPath(XGetFontPath(xapp->display(), &ndirs));
|
||||||
|
|
||||||
|
- char ** newFontPath = new char *[ndirs + 1];
|
||||||
|
+ const char ** newFontPath = new const char *[ndirs + 1];
|
||||||
|
newFontPath[ndirs] = fontsdir;
|
||||||
|
|
||||||
|
if (fontPath)
|
||||||
|
@@ -383,7 +383,7 @@
|
||||||
|
XChangeProperty(xapp->display(), manager->handle(),
|
||||||
|
XA_ICEWM_FONT_PATH, XA_STRING, 8, PropModeReplace,
|
||||||
|
(unsigned char *) fontsdir, strlen(fontsdir));
|
||||||
|
- XSetFontPath(xapp->display(), newFontPath, ndirs + 1);
|
||||||
|
+ XSetFontPath(xapp->display(), (char **) newFontPath, ndirs + 1);
|
||||||
|
|
||||||
|
if (fontPath) XFreeFontPath(fontPath);
|
||||||
|
delete[] fontsdir;
|
11
x11-wm/icewm/files/patch-src__wmapp.h
Normal file
11
x11-wm/icewm/files/patch-src__wmapp.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/wmapp.h.orig
|
||||||
|
+++ src/wmapp.h
|
||||||
|
@@ -78,7 +78,7 @@
|
||||||
|
Window managerWindow;
|
||||||
|
};
|
||||||
|
|
||||||
|
-#if 0
|
||||||
|
+#ifdef CONFIG_GUIEVENTS
|
||||||
|
extern YWMApp * wmapp;
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
Fix build with clang
|
|
||||||
|
|
||||||
http://icewm.cvs.sourceforge.net/viewvc/icewm/icewm-1.2/src/yarray.h?r1=1.5.4.3&r2=1.5.4.4&pathrev=icewm-1-3-BRANCH
|
|
||||||
|
|
||||||
--- src/yarray.h 2009/06/01 17:10:07 1.5.4.3
|
|
||||||
+++ src/yarray.h 2010/12/25 15:29:53 1.5.4.4
|
|
||||||
@@ -152,7 +152,8 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void remove(const typename YArray<DataType *>::SizeType index) {
|
|
||||||
- if (index < YArray<DataType *>::getCount()) delete getItem(index);
|
|
||||||
+ if (index < YArray<DataType *>::getCount())
|
|
||||||
+ delete YArray<DataType *>::getItem(index);
|
|
||||||
YArray<DataType *>::remove(index);
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
--- src/base.h.orig 2010-10-31 15:09:36.000000000 +0100
|
|
||||||
+++ src/base.h 2013-05-25 12:39:49.498390711 +0200
|
|
||||||
@@ -1,12 +1,6 @@
|
|
||||||
#ifndef __BASE_H
|
|
||||||
#define __BASE_H
|
|
||||||
|
|
||||||
-#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
|
|
||||||
-#define deprecated __attribute__((deprecated))
|
|
||||||
-#else
|
|
||||||
-#define deprecated
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
/*** Atomar Data Types ********************************************************/
|
|
||||||
|
|
||||||
#ifdef NEED_BOOL
|
|
|
@ -1,12 +0,0 @@
|
||||||
==============================================================================
|
|
||||||
|
|
||||||
IceWM has been installed.
|
|
||||||
|
|
||||||
If you want more themes see:
|
|
||||||
|
|
||||||
* http://themes.freshmeat.net/browse/925/
|
|
||||||
|
|
||||||
If you do not see icons in the tray when they should be there, please try
|
|
||||||
rebuilding with the "IMLIB" option enabled.
|
|
||||||
|
|
||||||
==============================================================================
|
|
|
@ -1,8 +1,8 @@
|
||||||
bin/icehelp
|
%%NOLITE%%bin/icehelp
|
||||||
bin/icesh
|
bin/icesh
|
||||||
bin/icesound
|
bin/icesound
|
||||||
bin/icewm
|
bin/icewm
|
||||||
%%GNOMEDESKTOP%%bin/icewm-menu-gnome2
|
%%GNOME%%bin/icewm-menu-gnome2
|
||||||
bin/icewm-session
|
bin/icewm-session
|
||||||
bin/icewmbg
|
bin/icewmbg
|
||||||
bin/icewmhint
|
bin/icewmhint
|
||||||
|
|
Loading…
Add table
Reference in a new issue