From owner-svn-ports-head@freebsd.org Thu Mar 22 08:26:46 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54276F4F7C5; Thu, 22 Mar 2018 08:26:46 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBA8887374; Thu, 22 Mar 2018 08:26:45 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E1E1C706B; Thu, 22 Mar 2018 08:26:45 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2M8QjTv031407; Thu, 22 Mar 2018 08:26:45 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2M8QjZk031405; Thu, 22 Mar 2018 08:26:45 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201803220826.w2M8QjZk031405@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 22 Mar 2018 08:26:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465266 - head/deskutils/xfce4-generic-slider X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/deskutils/xfce4-generic-slider X-SVN-Commit-Revision: 465266 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 08:26:46 -0000 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 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