Index: head/emulators/xsystem35/Makefile =================================================================== --- head/emulators/xsystem35/Makefile (revision 378786) +++ head/emulators/xsystem35/Makefile (revision 378787) @@ -1,81 +1,81 @@ # Created by: Seiichirou Hiraoka # $FreeBSD$ PORTNAME= xsystem35 DISTVERSION= 1.7.3-pre5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators games MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= jbeich@FreeBSD.org COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System LICENSE= GPLv2 # (or later) LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libltdl.so:${PORTSDIR}/devel/libltdl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg OPTIONS_DEFINE= ESOUND DOCS EXAMPLES OPTIONS_DEFINE_i386= MMX OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK1 GTK2 OPTIONS_DEFAULT=GTK2 OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MMMX} ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_ON=--enable-audio=oss,esd --with-default-output=esd GTK1_USE= GNOME=gtk12 GTK1_CONFIGURE_OFF=--with-glib-prefix=${NONEXISTENT} \ --with-gtk-prefix=${NONEXISTENT} GTK2_USE= GNOME=gtk20 GTK2_USES= pkgconfig MMX_BUILD_DEPENDS=nasm:${PORTSDIR}/devel/nasm MMX_CONFIGURE_ENABLE=mmx EXTRACT_AFTER_ARGS=--exclude libltdl USES= gettext gmake libtool shebangfix SHEBANG_FILES= contrib/instgame USE_XORG= x11 xext xxf86vm GNU_CONFIGURE= yes CONFIGURE_ENV= X_LIBS="-lX11" CONFIGURE_ARGS= \ --with-cachesize=20 \ --disable-static \ --enable-audio=oss \ --with-default-output=oss \ --enable-midi=seq,extp,raw \ --enable-cdrom=bsd,mp3 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//} DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} post-patch: @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL @${REINPLACE_CMD} -e '/-lxpg4/d' \ -e '/INCLTDL=/d; /LTDLINCL=/d' \ -e '/LIBLTDL=/s/=.*/="-lltdl"/' \ ${WRKSRC}/configure @${REINPLACE_CMD} '/^SUBDIRS/s/ libltdl//' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|__COUNTER__|__COUNTER_H__|' ${WRKSRC}/src/counter.h post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc;\ ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/src/xsys35rc.sample ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/contrib; \ ${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR}) @(cd ${WRKSRC}/patch; \ ${INSTALL_DATA} pastel.diff ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/emulators/xsystem35/files/patch-wmclass =================================================================== --- head/emulators/xsystem35/files/patch-wmclass (nonexistent) +++ head/emulators/xsystem35/files/patch-wmclass (revision 378787) @@ -0,0 +1,15 @@ +Origin: https://gist.github.com/smly/5787574 + +--- src/xcore_video.c.orig 2003-06-29 15:28:12 UTC ++++ src/xcore_video.c +@@ -307,6 +307,10 @@ static void init_window(void) { + 0, WIN_DEPTH, + InputOutput, x11_visual, attrib_mask, &at); + } ++ XClassHint wm_class; ++ wm_class.res_name = "XSystem35"; ++ wm_class.res_class = "XSystem35"; ++ XSetClassHint( x11_display, x11_window, &wm_class ); + + /* determin dib depth candidate */ + dib_depth_candidate = (depth == 16 && vinfo.red_mask == 0x7c00) ? 15: WIN_DEPTH; Property changes on: head/emulators/xsystem35/files/patch-wmclass ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property