Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2019 21:33:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520955 - in head/cad/linuxcnc-devel: . files
Message-ID:  <201912262133.xBQLXhYZ024603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 26 21:33:43 2019
New Revision: 520955
URL: https://svnweb.freebsd.org/changeset/ports/520955

Log:
  Remove gnomeprint support, which is deprecated in gnome for a while now.

Modified:
  head/cad/linuxcnc-devel/Makefile
  head/cad/linuxcnc-devel/files/patch-src_configure.in

Modified: head/cad/linuxcnc-devel/Makefile
==============================================================================
--- head/cad/linuxcnc-devel/Makefile	Thu Dec 26 21:16:20 2019	(r520954)
+++ head/cad/linuxcnc-devel/Makefile	Thu Dec 26 21:33:43 2019	(r520955)
@@ -3,7 +3,7 @@
 
 PORTNAME=	linuxcnc
 PORTVERSION=	20170708
-PORTREVISION=	16
+PORTREVISION=	17
 CATEGORIES=	cad
 PKGNAMESUFFIX=	-devel
 
@@ -45,7 +45,7 @@ MAKE_ENV=	BUILD_VERBOSE=1
 USES=		autoreconf gettext gl gmake gnome ncurses pkgconfig python:2.7 \
 		readline shebangfix tk xorg
 USE_GL=		gl glu
-USE_GNOME=	cairo gdkpixbuf2 libgnomeprintui pygtksourceview
+USE_GNOME=	cairo gdkpixbuf2 pygtksourceview
 USE_XORG=	ice sm x11 xext xft xinerama xmu xrender xscrnsaver xt
 USE_LDCONFIG=	yes
 USE_GITHUB=	yes

Modified: head/cad/linuxcnc-devel/files/patch-src_configure.in
==============================================================================
--- head/cad/linuxcnc-devel/files/patch-src_configure.in	Thu Dec 26 21:16:20 2019	(r520954)
+++ head/cad/linuxcnc-devel/files/patch-src_configure.in	Thu Dec 26 21:33:43 2019	(r520955)
@@ -1,6 +1,6 @@
---- src/configure.in.orig	2016-06-25 02:19:12 UTC
+--- src/configure.in.orig	2019-12-26 21:08:10 UTC
 +++ src/configure.in
-@@ -665,7 +665,7 @@ else
+@@ -711,7 +711,7 @@ else
      esac
      LINUXCNC_CONFIG_PATH="~/linuxcnc/configs:/usr/local/etc/linuxcnc/configs:"$(eval echo $EMC2_HELP_DIR)"/examples/sample-configs"
      EMC2_NCFILES_DIR=${prefix}/share/linuxcnc/ncfiles
@@ -9,7 +9,24 @@
      EMC2_IMAGE_DIR=$(fe "$datadir")/linuxcnc
      HALLIB_DIR=${prefix}/share/linuxcnc/hallib
  fi
-@@ -807,25 +807,25 @@ then
+@@ -787,16 +787,6 @@ if test "$BUILD_GTK" = "yes"; then
+     AC_MSG_RESULT(yes - $GTK_VER)
+     GTK_CFLAGS=`pkg-config gtk+-2.0 --cflags`
+     GTK_LIBS=`pkg-config gtk+-2.0 --libs`
+-    AC_MSG_CHECKING(for libgnomeprintui-2.2)
+-    if pkg-config --exists libgnomeprintui-2.2; then
+-      AC_MSG_RESULT(yes)
+-      GTK_CFLAGS="$GTK_CFLAGS `pkg-config --cflags libgnomeprintui-2.2`"
+-      GTK_LIBS="$GTK_LIBS `pkg-config --libs libgnomeprintui-2.2`"
+-      HAVE_GNOMEPRINT=yes
+-    else
+-      AC_MSG_RESULT(no -- printing from classicladder will not be possible)
+-      HAVE_GNOMEPRINT= 
+-    fi
+   else
+     AC_MSG_RESULT(no)
+     AC_MSG_ERROR([GTK2 missing.  Install it or specify --disable-gtk to skip the parts of LinuxCNC that depend on GTK])
+@@ -853,25 +843,25 @@ then
      AC_MSG_ERROR([awk not found])
  fi
  
@@ -39,11 +56,11 @@
  if test $PIDOF = "none"
  then
      AC_MSG_ERROR([pidof not found])
-@@ -1180,7 +1180,6 @@ AC_MSG_RESULT($HAVE_OPTRESET)
+@@ -1211,7 +1201,6 @@ extern int optreset;
+     [HAVE_OPTRESET=no])
+ AC_MSG_RESULT($HAVE_OPTRESET)
  AC_SUBST([HAVE_OPTRESET])
+-
  
  
--
  LIBS_hold=$LIBS
- LIBS=
- AC_SEARCH_LIBS(dlopen, [c dl], [



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912262133.xBQLXhYZ024603>