git: 5b3967bbeaf9 - main - devel/libegit2: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Sep 2024 19:24:31 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b3967bbeaf9d8d6e0ce73fc8f18c7a78847fcc4 commit 5b3967bbeaf9d8d6e0ce73fc8f18c7a78847fcc4 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-09-30 19:24:26 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-09-30 19:24:26 +0000 devel/libegit2: Remove expired port 2024-09-30 devel/libegit2: No consumer in ports tree --- MOVED | 1 + devel/Makefile | 1 - devel/libegit2/Makefile | 51 ------------------ devel/libegit2/distinfo | 3 -- devel/libegit2/files/patch-libgit.el | 11 ---- devel/libegit2/files/patch-use-system-libgit2 | 78 --------------------------- devel/libegit2/pkg-descr | 2 - devel/libegit2/pkg-plist | 3 -- 8 files changed, 1 insertion(+), 149 deletions(-) diff --git a/MOVED b/MOVED index ebdb0a6baee6..3f2cfd818ddf 100644 --- a/MOVED +++ b/MOVED @@ -3515,3 +3515,4 @@ www/template_||2024-09-30|Has expired: Abandonware, outdated and last version re www/screego||2024-09-30|Has expired: Outdated, unmaintained in tree and marked broken over a year ago archivers/py-borgbackup11||2024-09-30|Has expired: No longer supported upstream, use borgbackup 1.2 (oldstable) or 1.4 (stable) instead devel/rth||2024-09-30|Has expired: Abandonware, Unmaintained upstream as of 2013 +devel/libegit2||2024-09-30|Has expired: No consumer in ports tree diff --git a/devel/Makefile b/devel/Makefile index 98b13a4c1d4b..c9c346ca26e3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1261,7 +1261,6 @@ SUBDIR += libdwarf SUBDIR += libe SUBDIR += libedit - SUBDIR += libegit2 SUBDIR += libeio SUBDIR += libelf SUBDIR += libepoll-shim diff --git a/devel/libegit2/Makefile b/devel/libegit2/Makefile deleted file mode 100644 index b0b9548247a6..000000000000 --- a/devel/libegit2/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -PORTNAME= libegit2 -DISTVERSION= g20200515 -PORTREVISION= 18 -CATEGORIES= devel elisp -PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} - -MAINTAINER= yasu@FreeBSD.org -COMMENT= Emacs bindings for libgit2 -WWW= https://github.com/magit/libegit2 - -LICENSE= GPLv3+ -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= No consumer in ports tree -EXPIRATION_DATE= 2024-09-30 - -LIB_DEPENDS= libgit2.so:devel/libgit2 - -USES= cmake:noninja emacs pkgconfig -USE_GITHUB= yes -GH_ACCOUNT= magit -GH_TAGNAME= 0ef8b13 -USE_LDCONFIG= yes - -CMAKE_ON= USE_SYSTEM_LIBGIT2 - -PORTDOCS= README.md - -OPTIONS_DEFINE= DOCS - -post-patch: - ${REINPLACE_CMD} \ - 's,%%LIBEGIT2_INSTALL_DIR%%,${PREFIX}/${EMACS_VERSION_SITE_LISPDIR},' \ - ${WRKSRC}/libgit.el - -post-build: - (cd ${WRKSRC} \ - && ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile libgit.el) - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/../.build/libegit2.so \ - ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} - ${INSTALL_DATA} ${WRKSRC}/libgit.el ${WRKSRC}/libgit.elc \ - ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/devel/libegit2/distinfo b/devel/libegit2/distinfo deleted file mode 100644 index 0524a0ccb307..000000000000 --- a/devel/libegit2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1610571142 -SHA256 (magit-libegit2-g20200515-0ef8b13_GH0.tar.gz) = d746fd8120948ac1d2a3c12f25a65a2720ca8bdd7a794c9b2bc120ff95ed0ce9 -SIZE (magit-libegit2-g20200515-0ef8b13_GH0.tar.gz) = 131990 diff --git a/devel/libegit2/files/patch-libgit.el b/devel/libegit2/files/patch-libgit.el deleted file mode 100644 index 4f272799f782..000000000000 --- a/devel/libegit2/files/patch-libgit.el +++ /dev/null @@ -1,11 +0,0 @@ ---- libgit.el.orig 2020-05-15 17:59:08.000000000 +0000 -+++ libgit.el 2021-04-01 04:02:35.637193000 +0000 -@@ -41,7 +41,7 @@ - "Directory where the libegit2 dynamic module file should be built.") - - (defvar libgit--module-file -- (expand-file-name (concat "libegit2" module-file-suffix) libgit--build-dir) -+ (expand-file-name (concat "libegit2" module-file-suffix) "%%LIBEGIT2_INSTALL_DIR%%") - "Path to the libegit2 dynamic module file.") - - (defun libgit--configure () diff --git a/devel/libegit2/files/patch-use-system-libgit2 b/devel/libegit2/files/patch-use-system-libgit2 deleted file mode 100644 index 0118744c1d2a..000000000000 --- a/devel/libegit2/files/patch-use-system-libgit2 +++ /dev/null @@ -1,78 +0,0 @@ -From de3c48d72ec7064e7f0522877fe759c729df0c50 Mon Sep 17 00:00:00 2001 -From: Maxim Cournoyer <maxim.cournoyer@gmail.com> -Date: Wed, 25 Mar 2020 11:32:18 -0400 -Subject: [PATCH] Allow using a system provided libgit2 library - -Setting the USE_SYSTEM_LIBGIT2 Make or CMake variable (through the -BUILD_OPTIONS variable) to any value enables using the system library. -The default behavior of using a bundled copy of libgit2 is unchanged. ---- CMakeLists.txt.orig 2020-05-15 17:59:08 UTC -+++ CMakeLists.txt -@@ -7,9 +7,14 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "shared" FORCE) - set(BUILD_CLAR OFF CACHE BOOL "clar" FORCE) - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DEGIT_DEBUG") - --add_subdirectory(libgit2) -+if(USE_SYSTEM_LIBGIT2) -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(git2 REQUIRED IMPORTED_TARGET libgit2) -+else() -+ add_subdirectory(libgit2) -+ find_library(git2 libgit2.a) -+endif() - --find_library(git2 libgit2.a) - add_subdirectory(src) - - enable_testing() - CMakeLists.txt | 9 +++++++-- - Makefile | 11 +++++++++++ - src/CMakeLists.txt | 9 +++++++-- - 3 files changed, 25 insertions(+), 4 deletions(-) - ---- Makefile.orig 2020-05-15 17:59:08 UTC -+++ Makefile -@@ -13,6 +13,13 @@ ifeq ($(UNAME),MSYS) - BUILD_OPTIONS+= -G "MSYS Makefiles" - endif - -+# If the variable USE_SYSTEM_LIBGIT2 is set to *any* value, use the -+# system provided libgit2 library. -+USE_SYSTEM_LIBGIT2? := \ -+ $(if $(or $(USE_SYSTEM_LIBGIT2),\ -+ $(findstring USE_SYSTEM_LIBGIT2,$(BUILD_OPTIONS))),\ -+ true) -+ - ifeq "$(TRAVIS)" "true" - ## Makefile for Travis ################################################### - # -@@ -87,7 +94,11 @@ submodule-update: - @git submodule update - - libgit2: -+ifeq ($(USE_SYSTEM_LIBGIT2?),) - @git submodule update --init -+else -+ @echo "Using the system provided libgit2 library" -+endif - - CLEAN = $(ELCS) $(PKG)-autoloads.el build - ---- src/CMakeLists.txt.orig 2020-05-15 17:59:08 UTC -+++ src/CMakeLists.txt -@@ -13,8 +13,13 @@ if(WIN32) - set_target_properties(egit2 PROPERTIES PREFIX lib) - endif(WIN32) - --target_link_libraries(egit2 git2) --target_include_directories(egit2 SYSTEM PRIVATE "${libgit2_SOURCE_DIR}/include") -+if(USE_SYSTEM_LIBGIT2) -+ target_link_libraries(egit2 PRIVATE PkgConfig::git2) -+else() -+ target_link_libraries(egit2 git2) -+ target_include_directories( -+ egit2 SYSTEM PRIVATE "${libgit2_SOURCE_DIR}/include") -+endif() - - if(CMAKE_COMPILER_IS_GNUCC) - target_compile_options(egit2 PRIVATE -Wall -Wextra) diff --git a/devel/libegit2/pkg-descr b/devel/libegit2/pkg-descr deleted file mode 100644 index 84912fbc1fea..000000000000 --- a/devel/libegit2/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -This is an experimental module for libgit2 bindings to Emacs, intended -to boost the performance of Magit (https://magit.vc/). diff --git a/devel/libegit2/pkg-plist b/devel/libegit2/pkg-plist deleted file mode 100644 index 3f8b58f34a7d..000000000000 --- a/devel/libegit2/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%EMACS_VERSION_SITE_LISPDIR%%/libegit2.so -%%EMACS_VERSION_SITE_LISPDIR%%/libgit.el -%%EMACS_VERSION_SITE_LISPDIR%%/libgit.elc