git: 1bc4afd4b4e7 - main - devel/ORBit2: remove gnome2 library

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 15 Mar 2022 19:16:25 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1bc4afd4b4e7eba318816c408521e6739c929009

commit 1bc4afd4b4e7eba318816c408521e6739c929009
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-03-15 19:10:58 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-03-15 19:16:13 +0000

    devel/ORBit2: remove gnome2 library
---
 MOVED                                              |  1 +
 Mk/Scripts/qa.sh                                   |  1 -
 Mk/Uses/gnome.mk                                   |  5 +-
 devel/Makefile                                     |  1 -
 devel/ORBit2/Makefile                              | 40 ------------
 devel/ORBit2/distinfo                              |  2 -
 devel/ORBit2/files/patch-Makefile.in               | 11 ----
 .../ORBit2/files/patch-src__orb__util__Makefile.in | 11 ----
 .../files/patch-src_orb_orb-core_orbit-typelib.c   | 10 ---
 devel/ORBit2/pkg-descr                             |  3 -
 devel/ORBit2/pkg-plist                             | 72 ----------------------
 11 files changed, 2 insertions(+), 155 deletions(-)

diff --git a/MOVED b/MOVED
index 7fe73b8dfd10..92b67a5d1b87 100644
--- a/MOVED
+++ b/MOVED
@@ -16961,3 +16961,4 @@ net-im/pidgin-bs|net-im/pidgin-bot-sentry|2022-03-13|Project was renamed
 math/qalculate|math/qalculate-gtk|2022-03-14|Renamed to match project name
 deskutils/nautilus-actions||2022-03-15|Abandonware
 textproc/rarian||2022-03-15|Abandonware
+devel/ORBit2||2022-02-14|Gnome2 library unused anymore
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index b9bb541c45ef..cf52eda4c731 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -412,7 +412,6 @@ proxydeps_suggest_uses() {
 	elif [ ${pkg} = "graphics/libart_lgpl" ]; then warn "you need USE_GNOME+=libartlgpl2"
 	elif [ ${pkg} = "devel/libIDL" ]; then warn "you need USE_GNOME+=libidl"
 	elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus3"
-	elif [ ${pkg} = "devel/ORBit2" ]; then warn "you need USE_GNOME+=orbit2"
 	elif [ ${pkg} = "graphics/librsvg2-rust" ]; then warn "you need USE_GNOME+=librsvg2"
 	# mate
 	# grep LIB_DEPENDS= Mk/Uses/mate.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_MATE+=\1"|'
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 3610735f4fb5..02cf11f0a56d 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -66,7 +66,7 @@ _USE_GNOME_ALL+= atk cairo \
 		libglade2 libgnomecanvas \
 		libgsf libidl librsvg2 libwnck \
 		libxml2 libxslt \
-		orbit2 pango pangox-compat \
+		pango pangox-compat \
 		vte
 
 # GNOME 3 components
@@ -182,9 +182,6 @@ GTK4_VERSION=		4.0.0
 libidl_LIB_DEPENDS=	libIDL-2.so:devel/libIDL
 libidl_USE_GNOME_IMPL=	glib20
 
-orbit2_LIB_DEPENDS=	libORBit-2.so:devel/ORBit2
-orbit2_USE_GNOME_IMPL=	libidl
-
 libglade2_LIB_DEPENDS=	libglade-2.0.so:devel/libglade2
 libglade2_USE_GNOME_IMPL=libxml2 gtk20
 
diff --git a/devel/Makefile b/devel/Makefile
index c989e9f8c448..d6ef8b842b16 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3,7 +3,6 @@
     SUBDIR += 9base
     SUBDIR += ChipmunkPhysics
     SUBDIR += ElectricFence
-    SUBDIR += ORBit2
     SUBDIR += R-cran-BH
     SUBDIR += R-cran-Defaults
     SUBDIR += R-cran-Hmisc
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
deleted file mode 100644
index 0d2fefed05fc..000000000000
--- a/devel/ORBit2/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# Created by: Chia-liang Kao <clkao@CirX.ORG>
-#   $MCom: ports/trunk/devel/ORBit2/Makefile 18393 2013-04-26 21:23:07Z kwm $
-
-PORTNAME=	ORBit2
-PORTVERSION=	2.14.19
-PORTREVISION?=	2
-CATEGORIES=	devel gnome
-MASTER_SITES=	GNOME
-DIST_SUBDIR=	gnome2
-
-MAINTAINER=	desktop@FreeBSD.org
-COMMENT=	High-performance CORBA ORB with support for the C language
-
-USES=		tar:bzip2
-
-GNU_CONFIGURE=	yes
-USES+=		gettext gmake gnome libtool:keepla pathfix pkgconfig
-USE_GNOME=	libidl referencehack
-USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc \
-		--disable-gtk-doc
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-MAKE_JOBS_UNSAFE=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-		${WRKSRC}/src/orb/orb-core/orbit-typelib.c
-	@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
-		${WRKSRC}/configure ${WRKSRC}/linc2/src/Makefile.in
-	@${REINPLACE_CMD} '/DESTDIR.*RANLIB/d' \
-		${WRKSRC}/src/services/name/Makefile.in
-
-post-install:
-	@${ECHO_CMD} "ORBIIOPIPv4=0" > ${STAGEDIR}${PREFIX}/etc/orbit2rc.sample
-	@${ECHO_CMD} "ORBIIOPIPv6=0" >> ${STAGEDIR}${PREFIX}/etc/orbit2rc.sample
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/orbit-2.0/idl-backends
-
-.include <bsd.port.mk>
diff --git a/devel/ORBit2/distinfo b/devel/ORBit2/distinfo
deleted file mode 100644
index 86ee9a51df0c..000000000000
--- a/devel/ORBit2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gnome2/ORBit2-2.14.19.tar.bz2) = 55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550
-SIZE (gnome2/ORBit2-2.14.19.tar.bz2) = 764820
diff --git a/devel/ORBit2/files/patch-Makefile.in b/devel/ORBit2/files/patch-Makefile.in
deleted file mode 100644
index 70131ebc1062..000000000000
--- a/devel/ORBit2/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Mon Dec 18 07:20:12 2006
-+++ Makefile.in	Mon Dec 18 07:20:47 2006
-@@ -239,7 +239,7 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
--SUBDIRS = linc2 src include test docs
-+SUBDIRS = linc2 src include docs
- bin_SCRIPTS = orbit2-config
- EXTRA_DIST = \
- 	ORBit2.m4	\
diff --git a/devel/ORBit2/files/patch-src__orb__util__Makefile.in b/devel/ORBit2/files/patch-src__orb__util__Makefile.in
deleted file mode 100644
index e048ca634226..000000000000
--- a/devel/ORBit2/files/patch-src__orb__util__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/orb/util/Makefile.in.orig	Fri Mar  5 23:39:16 2004
-+++ src/orb/util/Makefile.in	Fri Mar  5 23:39:43 2004
-@@ -126,7 +126,7 @@
- INCLUDES = \
- 	-I$(top_srcdir)/include				\
- 	-I$(top_builddir)/include			\
--	-DORBIT_SYSTEM_RCFILE=\"$(sysconfdir)/orbitrc\"	\
-+	-DORBIT_SYSTEM_RCFILE=\"$(sysconfdir)/orbit2rc\"	\
- 	-DORBIT2_INTERNAL_API				\
- 	$(WARN_CFLAGS)					\
- 	$(ORBIT_DEBUG_CFLAGS)				\
diff --git a/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c b/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c
deleted file mode 100644
index 6af92e3af9ad..000000000000
--- a/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/orb/orb-core/orbit-typelib.c.orig	2007-07-27 10:58:37.000000000 -0500
-+++ src/orb/orb-core/orbit-typelib.c	2007-07-27 10:58:41.000000000 -0500
-@@ -218,6 +218,7 @@
- 	paths = g_ptr_array_sized_new (8);
- 
- 	g_ptr_array_add (paths, g_strdup (ORBIT_TYPELIB_DIR));
-+	add_if_unique(paths, "%%LOCALBASE%%", TRUE);
- 
- 	if ((path = g_getenv ("ORBIT_TYPELIB_PATH"))) {
- 		char **strv;
diff --git a/devel/ORBit2/pkg-descr b/devel/ORBit2/pkg-descr
deleted file mode 100644
index 7111576759dd..000000000000
--- a/devel/ORBit2/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-ORBit is a high-performance CORBA ORB with support for the C language.
-It allows programs to communicate with each other, regardless of their
-physical and logical locations.
diff --git a/devel/ORBit2/pkg-plist b/devel/ORBit2/pkg-plist
deleted file mode 100644
index 3726e32ec5c9..000000000000
--- a/devel/ORBit2/pkg-plist
+++ /dev/null
@@ -1,72 +0,0 @@
-bin/linc-cleanup-sockets
-bin/orbit-idl-2
-bin/orbit2-config
-@sample etc/orbit2rc.sample
-include/orbit-2.0/ORBitservices/CosNaming.h
-include/orbit-2.0/ORBitservices/CosNaming_impl.h
-include/orbit-2.0/ORBitservices/orbit-imodule.h
-include/orbit-2.0/orbit-idl/orbit-idl-backend.h
-include/orbit-2.0/orbit/dynamic/dynamic-defs.h
-include/orbit-2.0/orbit/dynamic/dynamic.h
-include/orbit-2.0/orbit/orb-core/allocators.h
-include/orbit-2.0/orbit/orb-core/corba-any-type.h
-include/orbit-2.0/orbit/orb-core/corba-any.h
-include/orbit-2.0/orbit/orb-core/corba-context-type.h
-include/orbit-2.0/orbit/orb-core/corba-context.h
-include/orbit-2.0/orbit/orb-core/corba-defs.h
-include/orbit-2.0/orbit/orb-core/corba-environment-type.h
-include/orbit-2.0/orbit/orb-core/corba-environment.h
-include/orbit-2.0/orbit/orb-core/corba-nvlist.h
-include/orbit-2.0/orbit/orb-core/corba-object-type.h
-include/orbit-2.0/orbit/orb-core/corba-object.h
-include/orbit-2.0/orbit/orb-core/corba-orb-type.h
-include/orbit-2.0/orbit/orb-core/corba-orb.h
-include/orbit-2.0/orbit/orb-core/corba-pobj.h
-include/orbit-2.0/orbit/orb-core/corba-policy-type.h
-include/orbit-2.0/orbit/orb-core/corba-string.h
-include/orbit-2.0/orbit/orb-core/corba-typecode-type.h
-include/orbit-2.0/orbit/orb-core/corba-typecode.h
-include/orbit-2.0/orbit/orb-core/iop-defs.h
-include/orbit-2.0/orbit/orb-core/orb-core-types.h
-include/orbit-2.0/orbit/orb-core/orb-core.h
-include/orbit-2.0/orbit/orb-core/orb-types.h
-include/orbit-2.0/orbit/orb-core/orbit-interface.h
-include/orbit-2.0/orbit/orb-core/orbit-object.h
-include/orbit-2.0/orbit/orb-core/orbit-small.h
-include/orbit-2.0/orbit/orbit-config.h
-include/orbit-2.0/orbit/orbit-types.h
-include/orbit-2.0/orbit/orbit.h
-include/orbit-2.0/orbit/poa/orbit-adaptor.h
-include/orbit-2.0/orbit/poa/poa-basics.h
-include/orbit-2.0/orbit/poa/poa-defs.h
-include/orbit-2.0/orbit/poa/poa-policy.h
-include/orbit-2.0/orbit/poa/poa-types.h
-include/orbit-2.0/orbit/poa/poa.h
-include/orbit-2.0/orbit/poa/portableserver-current-type.h
-include/orbit-2.0/orbit/poa/portableserver-poa-type.h
-include/orbit-2.0/orbit/util/basic_types.h
-include/orbit-2.0/orbit/util/orbit-genrand.h
-include/orbit-2.0/orbit/util/orbit-util.h
-lib/libORBit-2.a
-lib/libORBit-2.la
-lib/libORBit-2.so
-lib/libORBit-2.so.0
-lib/libORBit-2.so.0.1.0
-lib/libORBit-imodule-2.a
-lib/libORBit-imodule-2.la
-lib/libORBit-imodule-2.so
-lib/libORBit-imodule-2.so.0
-lib/libORBit-imodule-2.so.0.0.0
-lib/libORBitCosNaming-2.a
-lib/libORBitCosNaming-2.la
-lib/libORBitCosNaming-2.so
-lib/libORBitCosNaming-2.so.0
-lib/libORBitCosNaming-2.so.0.1.0
-lib/libname-server-2.a
-libdata/pkgconfig/ORBit-2.0.pc
-libdata/pkgconfig/ORBit-CosNaming-2.0.pc
-libdata/pkgconfig/ORBit-idl-2.0.pc
-libdata/pkgconfig/ORBit-imodule-2.0.pc
-share/aclocal/ORBit2.m4
-share/idl/orbit-2.0/CosNaming.idl
-@dir lib/orbit-2.0/idl-backends