From owner-svn-ports-head@freebsd.org Wed May 8 08:14:55 2019 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 85CBD15A1636; Wed, 8 May 2019 08:14:55 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DB0891032; Wed, 8 May 2019 08:14:55 +0000 (UTC) (envelope-from pkubaj@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 06CD42FA0; Wed, 8 May 2019 08:14:55 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x488Es1r069105; Wed, 8 May 2019 08:14:54 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x488EsX4069103; Wed, 8 May 2019 08:14:54 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201905080814.x488EsX4069103@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Wed, 8 May 2019 08:14:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501005 - in head/graphics/gimp-beautify-plugin: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/graphics/gimp-beautify-plugin: . files X-SVN-Commit-Revision: 501005 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2DB0891032 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 08 May 2019 08:14:55 -0000 Author: pkubaj Date: Wed May 8 08:14:54 2019 New Revision: 501005 URL: https://svnweb.freebsd.org/changeset/ports/501005 Log: graphics/gimp-beautify-plugin: fix build with GCC-based architectures Respect CFLAGS and LDFLAGS to fix build when using GCC. Also add USES=gnome. Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D20180 Modified: head/graphics/gimp-beautify-plugin/Makefile head/graphics/gimp-beautify-plugin/files/patch-Makefile Modified: head/graphics/gimp-beautify-plugin/Makefile ============================================================================== --- head/graphics/gimp-beautify-plugin/Makefile Wed May 8 08:12:37 2019 (r501004) +++ head/graphics/gimp-beautify-plugin/Makefile Wed May 8 08:14:54 2019 (r501005) @@ -24,7 +24,7 @@ USE_GITHUB= yes GH_ACCOUNT= hejiann GH_TAGNAME= e209c8d -USES= gettext gmake pkgconfig +USES= gettext gmake gnome pkgconfig USE_GCC= yes USE_GNOME= atk cairo gdkpixbuf2 gtk20 USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender Modified: head/graphics/gimp-beautify-plugin/files/patch-Makefile ============================================================================== --- head/graphics/gimp-beautify-plugin/files/patch-Makefile Wed May 8 08:12:37 2019 (r501004) +++ head/graphics/gimp-beautify-plugin/files/patch-Makefile Wed May 8 08:14:54 2019 (r501005) @@ -1,10 +1,59 @@ --- Makefile.orig 2012-08-12 09:23:45 UTC +++ Makefile -@@ -13,7 +13,6 @@ +@@ -13,17 +13,16 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -CC = gcc - GIMPTOOL = gimptool-2.0 +-GIMPTOOL = gimptool-2.0 ++GIMPTOOL = /usr/local/bin/gimptool-2.0 + GIMP_LIBS = `$(GIMPTOOL) --libs` + GIMP_CFLAGS = `$(GIMPTOOL) --cflags` + + LIBS = $(GIMP_LIBS) -lm +-CFLAGS = $(GIMP_CFLAGS) ++CFLAGS += $(GIMP_CFLAGS) + +-GDK_PIXBUF_CSOURCE = gdk-pixbuf-csource ++GDK_PIXBUF_CSOURCE = /usr/local/bin/gdk-pixbuf-csource + + all: beautify skin-whitening simple-border border + +@@ -71,7 +70,7 @@ useruninstall: + $(GIMPTOOL) --uninstall-bin texture-border + + beautify: beautify.o beautify-effect.o +- $(CC) -o $@ $^ $(LIBS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) + + beautify.o: beautify.c + $(CC) $(CFLAGS) -c beautify.c -o beautify.o +@@ -83,7 +82,7 @@ beautify-textures.h: beautify-textures.list + $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat beautify-textures.list` > $(@F) + + skin-whitening: skin-whitening.o skin-whitening-effect.o +- $(CC) -o $@ $^ $(LIBS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) + + skin-whitening.o: skin-whitening.c skin-whitening-images.h + $(CC) $(CFLAGS) -c skin-whitening.c -o skin-whitening.o +@@ -95,7 +94,7 @@ skin-whitening-effect.o: skin-whitening-effect.c skin- + $(CC) $(CFLAGS) -c skin-whitening-effect.c -o skin-whitening-effect.o + + simple-border: simple-border.o +- $(CC) -o $@ $^ $(LIBS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) + + simple-border.o: simple-border.c simple-border-textures.h + $(CC) $(CFLAGS) -c simple-border.c -o simple-border.o +@@ -104,7 +103,7 @@ simple-border-textures.h: simple-border-textures.list + $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat simple-border-textures.list` > $(@F) + + border: border.o +- $(CC) -o $@ $^ $(LIBS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) + + border.o: border.c border-textures.h + $(CC) $(CFLAGS) -c border.c -o border.o