Page MenuHomeFreeBSD

D21556.id62323.diff
No OneTemporary

D21556.id62323.diff

Index: x11/xlockmore/Makefile
===================================================================
--- x11/xlockmore/Makefile
+++ x11/xlockmore/Makefile
@@ -3,8 +3,8 @@
PORTNAME= xlockmore
PORTVERSION= 5.58
-PORTREVISION= 1
-CATEGORIES?= x11
+PORTREVISION= 2
+CATEGORIES= x11
MASTER_SITES= http://www.sillycycle.com/xlock/ \
SF/bsdsrc/${.CURDIR:T}
@@ -13,25 +13,30 @@
LICENSE= BSD2CLAUSE
-USES= tar:xz gnome xorg
+LIB_DEPENDS= libfreetype.so:print/freetype2
+
+USES= tar:xz xorg
+USE_XORG= ice sm x11 xaw xext xpm
-GNU_CONFIGURE= yes
-PORTDOCS= README ${PORTNAME}.README
CONFIGURE_ARGS= --without-motif --without-ttf --without-editres \
--without-dtsaver --without-rplay --without-nas \
- --without-gtk --without-esound --disable-setuid
-
-USE_XORG= x11 xaw ice sm xpm xext xinerama
-
-LIB_DEPENDS+= libfreetype.so:print/freetype2 \
- libpng.so:graphics/png
+ --without-gtk --without-esound --disable-kerberos4
+GNU_CONFIGURE= yes
+PORTDOCS= README ${PORTNAME}.README
OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
- KERBEROS5 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP \
- XINERAMA DOCS
-OPTIONS_DEFAULT= XINERAMA
+ BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP XINERAMA DOCS
+OPTIONS_RADIO= ONE
+OPTIONS_RADIO_ONE= PAM XLOCK_GROUP
+OPTIONS_SINGLE= KERBEROS5
+OPTIONS_SINGLE_KERBEROS5= KRB5_BASE KRB5_HEIMDAL KRB5_MIT KRB5_NONE
+OPTIONS_DEFAULT= KRB5_NONE MB XINERAMA
OPTIONS_SUB= yes
+KRB5_BASE_DESC= Kerberos support via base system (BUILD FAILS)
+KRB5_HEIMDAL_DESC= Kerberos support via security/heimdal (BUILD FAILS)
+KRB5_MIT_DESC= Kerberos support via security/krb5
+KRB5_NONE_DESC= Disable Kerberos support
MESAGL_DESC= Mesa 3D (for GL modes)
MB_DESC= Xmb function series
SYSLOG_DESC= Syslog logging
@@ -45,43 +50,54 @@
CUSTOMIZATION_DESC= Allow tune through resource file
JP_DESC= Japanese Language Support
-OPTIONS_RADIO= ONE
-OPTIONS_RADIO_ONE= PAM XLOCK_GROUP
-
-NO_OPTIONS_SORT=yes
-
-JP_IMPLIES= MB
+NO_OPTIONS_SORT= yes
MAKE_ARGS+= bindir=${PREFIX}/bin \
mandir=${PREFIX}/man/man1 \
datarootdir=${PREFIX}/share \
xapploaddir=${PREFIX}/lib/X11/app-defaults
-MESAGL_CONFIGURE_WITH= mesa
-MESAGL_VARS= CFLAGS+="-I${LOCALBASE}/include/FTGL -I${LOCALBASE}/include/freetype2" USE_GL=yes
-MESAGL_LIB_DEPENDS= libftgl.so:graphics/ftgl
+KRB5_BASE_CFLAGS= ${GSSAPICPPFLAGS}
+KRB5_BASE_CONFIGURE_ENV= XLOCKLIBS="${GSSAPILDFLAGS} ${GSSAPILIBS} -lcom_err"
+KRB5_BASE_CONFIGURE_ON= --enable-kerberos5
+KRB5_BASE_USES= gssapi
+KRB5_HEIMDAL_CFLAGS= ${GSSAPICPPFLAGS}
+KRB5_HEIMDAL_CONFIGURE_ENV= XLOCKLIBS="${GSSAPILDFLAGS} ${GSSAPILIBS} -lcom_err"
+KRB5_HEIMDAL_CONFIGURE_ON= --enable-kerberos5
+KRB5_HEIMDAL_USES= gssapi:heimdal
+KRB5_MIT_CFLAGS= ${GSSAPICPPFLAGS}
+KRB5_MIT_CONFIGURE_ENV= XLOCKLIBS="${GSSAPILDFLAGS} ${GSSAPILIBS} -lcom_err"
+KRB5_MIT_CONFIGURE_ON= --enable-kerberos5
+KRB5_MIT_USES= gssapi:mit
+KRB5_NONE_CONFIGURE_ON= --disable-kerberos5
+MESAGL_CFLAGS= -I${LOCALBASE}/include/FTGL
MESAGL_CONFIGURE_ENV= XLOCKLIBS="-lpthread"
-MESAGL_CONFIGURE_OFF= --without-opengl --without-ftgl
-KERBEROS5_CONFIGURE_ENABLE= kerberos5
-KERBEROS5_VARS= CFLAGS+=-I${KRB5_HOME}/include KRB5LIB=-L${KRB5_HOME}/lib
-KERBEROS5_CONFIGURE_ENV= XLOCKLIBS="${KRB5LIB}"
+MESAGL_CONFIGURE_WITH= mesa opengl ftgl
+MESAGL_LIB_DEPENDS= libftgl.so:graphics/ftgl
+MESAGL_USES= gl
+MESAGL_USE= gl=gl,glu
BAD_PAM_CONFIGURE_ENABLE= bad-pam
PAM_CONFIGURE_ENABLE= pam
NICE_ONLY_CONFIGURE_ENABLE= nice-only
BLANK_ONLY_CONFIGURE_ENABLE= blank-only
-MB_CONFIGURE_ON= --enable-use-mb
-MB_CONFIGURE_OFF= --disable-mb
+MB_CONFIGURE_ENABLE= mb
SYSLOG_CONFIGURE_ENABLE= syslog
XINERAMA_CONFIGURE_WITH= xinerama
-DISABLE_ALLOW_ROOT_CONFIGURE_ON= --disable-allow-root
+XINERAMA_USE= xorg=xinerama
+DISABLE_ALLOW_ROOT_CONFIGURE_ENABLE= allow-root
XLOCK_GROUP_CONFIGURE_ENABLE= xlock-group
-TIME_BOMB_CONFIGURE_ENABLE= bomb
+TIME_BOMB_CONFIGURE_ENABLE= bomb
CUSTOMIZATION_CONFIGURE_ENABLE= customization
+JP_IMPLIES= MB
JP_VARS= XLOCKMORE_LANG=ja CATEGORIES+=japanese
-MAGICK_CONFIGURE_OFF= --without-magick
-MAGICK_LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6
+MAGICK_CONFIGURE_WITH= magick
+MAGICK_LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 \
+ libpng16.so:graphics/png
GTK2_CONFIGURE_WITH= gtk2
-GTK2_VARS+= USE_GNOME+=gtk20
+GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libpng16.so:graphics/png
+GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20
+GTK2_USES= gnome pkgconfig
.include <bsd.port.options.mk>
@@ -89,10 +105,6 @@
CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG}
.endif
-.if ${PORT_OPTIONS:MKERBEROS5} && empty(KRB5_HOME)
-BROKEN= KRB5_HOME is undefined!
-.endif
-
.if ${PORT_OPTIONS:MPAM} && empty(PORT_OPTIONS:MBAD_PAM)
pre-extract:
@${ECHO}
@@ -107,7 +119,8 @@
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/Revisions ${STAGEDIR}${DOCSDIR}/${PORTNAME}.README
+ ${INSTALL_DATA} ${WRKSRC}/docs/Revisions \
+ ${STAGEDIR}${DOCSDIR}/${PORTNAME}.README
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Index: x11/xlockmore/files/patch-xglock_xglock.c
===================================================================
--- x11/xlockmore/files/patch-xglock_xglock.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- xglock/xglock.c.orig 2017-01-06 05:18:57 UTC
-+++ xglock/xglock.c
-@@ -1,3 +1,27 @@
-+Assertion failed: (SE.DT.dominates(Ret, &*BIP)), function ReuseOrCreateCast, file /usr/src/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp, line 83.
-+cc: error: unable to execute command: Abort trap (core dumped)
-+cc: error: clang frontend command failed due to signal (use -v to see invocation)
-+
-+--- xglock/xglock.c.orig 2018-07-08 11:29:53 UTC
-++++ xglock/xglock.c
-+@@ -1489,7 +1489,7 @@ static void
-+ create_boolOptions_buttons(GtkScrolledWindow *parent)
-+ {
-+ gint i;
-+- gpointer iptr = 0;
-++ guint iptr = 0;
-+ GtkWidget *box0;
-+ GtkWidget *box1;
-+ GtkWidget *box2;
-+@@ -1514,7 +1514,7 @@ create_boolOptions_buttons(GtkScrolledWindow *parent)
-+ gtk_box_pack_start(GTK_BOX(i%2 ? box1 : box2), button, TRUE, TRUE, 0);
-+ gtk_signal_connect(GTK_OBJECT(button), "clicked",
-+ (GtkSignalFunc) bool_option_clicked_cb,
-+- iptr++);
-++ GUINT_TO_POINTER(iptr++));
-+ gtk_widget_show(button);
-+ }
-+ }
- /*-
- * xglock.c - main file for xglock, the GTK+ gui interface to xlock.
- *

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 8:53 AM (14 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14734455
Default Alt Text
D21556.id62323.diff (6 KB)

Event Timeline