Date: Thu, 22 Mar 2018 08:26:45 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465266 - head/deskutils/xfce4-generic-slider Message-ID: <201803220826.w2M8QjZk031405@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Mar 22 08:26:45 2018 New Revision: 465266 URL: https://svnweb.freebsd.org/changeset/ports/465266 Log: Update to a newer snapshot from it's source. Move to the official github mirror, since this allows to use the USE_GITHUB helper. Unfortunately this snapshot is not tagged so we have to use GH_TAGNAME. One big advantage is that this new version does not depend on the deprecated x11-toolkits/libxfce4gui component anymore. Since it's a in development plugin it does not provide a configure script but depends on devel/xfce4-dev-tools to generate the required parts. Move the two files from pkg-plist to PLIST_FILES. PR: 226821 Submitted by: madpilot Deleted: head/deskutils/xfce4-generic-slider/pkg-plist Modified: head/deskutils/xfce4-generic-slider/Makefile head/deskutils/xfce4-generic-slider/distinfo Modified: head/deskutils/xfce4-generic-slider/Makefile ============================================================================== --- head/deskutils/xfce4-generic-slider/Makefile Thu Mar 22 08:23:57 2018 (r465265) +++ head/deskutils/xfce4-generic-slider/Makefile Thu Mar 22 08:26:45 2018 (r465266) @@ -2,43 +2,33 @@ # $FreeBSD$ PORTNAME= xfce4-generic-slider -PORTVERSION= 0.0.20100827 -PORTREVISION= 7 +PORTVERSION= 0.0.20171223 CATEGORIES= deskutils -MASTER_SITES= LOCAL/ehaupt/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Slider plugin to adjust and/or monitor any numeric variable LICENSE= GPLv3 +BUILD_DEPENDS= xdt-autogen:devel/xfce4-dev-tools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= gettext-runtime pkgconfig xfce -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango -USE_XFCE= libgui panel +USES= gettext gmake libtool pkgconfig xfce +USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 intltool pango +USE_XFCE= libmenu panel -CFLAGS+= `pkg-config --cflags libxfce4panel-1.0 libxfcegui4-1.0` -LDFLAGS+= `pkg-config --libs libxfce4panel-1.0 libxfcegui4-1.0` +USE_GITHUB= yes +GH_ACCOUNT= xfce-mirror +GH_TAGNAME= d1fc31f -post-patch: - @${REINPLACE_CMD} -e \ - "s|@PLUGINDIR@|${PREFIX}/lib/xfce4/xfce4/panel-plugins|" \ - ${WRKSRC}/generic-slider.desktop +PLIST_FILES= lib/xfce4/panel/plugins/libgeneric-slider.so \ + share/xfce4/panel/plugins/generic-slider.desktop -do-build: - ${CC} ${CFLAGS} -c ${WRKSRC}/generic-slider.c \ - -o ${WRKSRC}/generic-slider.o - ${CC} ${LDFLAGS} ${WRKSRC}/generic-slider.o \ - -o ${WRKSRC}/xfce4-generic-slider-plugin +pre-configure: + (cd ${WRKSRC} && ./autogen.sh) -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins - ${INSTALL_DATA} ${WRKSRC}/generic-slider.desktop \ - ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins - ${INSTALL_PROGRAM} ${WRKSRC}/xfce4-generic-slider-plugin \ - ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins/libgeneric-slider.so .include <bsd.port.mk> Modified: head/deskutils/xfce4-generic-slider/distinfo ============================================================================== --- head/deskutils/xfce4-generic-slider/distinfo Thu Mar 22 08:23:57 2018 (r465265) +++ head/deskutils/xfce4-generic-slider/distinfo Thu Mar 22 08:26:45 2018 (r465266) @@ -1,2 +1,3 @@ -SHA256 (xfce4-generic-slider-0.0.20100827.tar.gz) = 79f3c8e4853bace9ac8abd454311ae02b06d02466b3a8c29135514d06b38fdb8 -SIZE (xfce4-generic-slider-0.0.20100827.tar.gz) = 19542 +TIMESTAMP = 1521623607 +SHA256 (xfce-mirror-xfce4-generic-slider-0.0.20171223-d1fc31f_GH0.tar.gz) = f616dfb951c5ee396e29c2dcff3eac3620bc5e14b0c20b0e1de60e0296ba3d7e +SIZE (xfce-mirror-xfce4-generic-slider-0.0.20171223-d1fc31f_GH0.tar.gz) = 21843
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803220826.w2M8QjZk031405>