Skip to content

Commit

Permalink
print/ghostscript9-agpl-*: Remove expired port
Browse files Browse the repository at this point in the history
2023-12-31 print/ghostscript9-agpl-x11: Obsolete and unsupported upstream, consider using print/ghostscipt10
2023-12-31 print/ghostscript9-agpl-base: Obsolete and unsupported upstream, consider using print/ghostscipt10

Differential Revision:	https://reviews.freebsd.org/D42376
  • Loading branch information
michael-o authored and 5u623l20 committed Dec 31, 2023
1 parent 72872ea commit b05ed46
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 844 deletions.
2 changes: 2 additions & 0 deletions MOVED
Expand Up @@ -8280,3 +8280,5 @@ www/py-dj41-django-redis|www/py-dj42-django-redis|2023-12-31|Has expired: Extend
www/py-dj41-django-prometheus|www/py-dj42-django-prometheus|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj41-django-mptt|www/py-dj42-django-mptt|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj41-drf-yasg|www/py-dj42-drf-yasg|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
print/ghostscript9-agpl-x11|print/ghostscript10|2023-12-31|Has expired: Obsolete and unsupported upstream, consider using print/ghostscipt10
print/ghostscript9-agpl-base|print/ghostscript10|2023-12-31|Has expired: Obsolete and unsupported upstream, consider using print/ghostscipt10
43 changes: 10 additions & 33 deletions Mk/Uses/ghostscript.mk
Expand Up @@ -4,12 +4,12 @@
# Usage: USES=ghostscript or USES=ghostscript:args
# Valid ARGS: <version>, build, lib, run, test, x11
#
# version The chooseable versions are 9, agpl and 10. If no version is
# specified version 10 is selected. 9 and agpl are synonymous.
# version The chooseable versions are 10 only. If no version is
# specified version 10 is selected.
#
# USES=ghostscript:10 # Use Ghostscript 10
# USES=ghostscript:run # Use to set default Ghostscript as a run dependency
# USES=ghostscript:9,build # Use Ghostscript 9 as a build dependency.
# USES=ghostscript:10,build # Use Ghostscript 10 as a build dependency.
#
# build Ghostscript is used as BUILD_DEPENDS
# lib Ghostscript is used as LIB_DEPENDS
Expand All @@ -29,15 +29,15 @@ _INCLUDE_USES_GHOSTSCRIPT_MK= yes
# allowed versions
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
_GS_VERSION= 9 agpl 10
_GS_VERSION= 10

_GS_ARGS= ${ghostscript_ARGS}

. if ${_GS_ARGS:N9:N10:Nagpl:Nbuild:Nlib:Nrun:Ntest:Nx11}
. if ${_GS_ARGS:N10:Nbuild:Nlib:Nrun:Ntest:Nx11}
IGNORE?= Unknown ghostscript argument ${_GS_ARGS}
. endif

. if ${GHOSTSCRIPT_DEFAULT:N9:Nagpl:N10}
. if ${GHOSTSCRIPT_DEFAULT:N10}
IGNORE?= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION}
. endif

Expand Down Expand Up @@ -72,48 +72,25 @@ _GS_RUN_DEP= yes
_V=${V}
. if ${_V:M10}
_GS_SELECTED?= 10
. elif ${_V:M9}
_GS_SELECTED?= 9-agpl
. elif ${_V:Magpl}
_GS_SELECTED?= 9-agpl
. endif
. endfor

. undef _GS_STATIC
. if empty(_GS_SELECTED:M9-agpl)
_GS_STATIC= yes
. endif

# Resolve minor version number for X11.so library.
. if !empty(_GS_SELECTED:M10)
_GS_VERSION_MINOR= 10.02.0
. elif !empty(_GS_SELECTED:M9-agpl)
_GS_VERSION_MINOR= 9.56.1
_GS_FULL_VERSION= 10.02.0
. endif

# dependencies
_GS_LIB= libgs.so
_GS_PKGNAME= ghostscript${_GS_SELECTED}${_GS_STATIC:?:-base}
_GS_X11_PKGNAME=ghostscript${_GS_SELECTED}${_GS_STATIC:?:-x11}
_GS_PORT= print/ghostscript${_GS_SELECTED}${_GS_STATIC:?:-base}
_GS_X11_PORT= print/ghostscript${_GS_SELECTED}${_GS_STATIC:?:-x11}
_GS_PKGNAME= ghostscript${_GS_SELECTED}
_GS_PORT= print/ghostscript${_GS_SELECTED}

. for type in BUILD LIB RUN TEST
. if defined(_GS_${type}_DEP)
. if !defined(_GS_STATIC) || !${_GS_ARGS:Mx11}
. if ${type:MLIB}
${type}_DEPENDS+= ${_GS_LIB}:${_GS_PORT}
. else
${type}_DEPENDS+= ${_GS_PKGNAME}>=${_GS_VERSION_MINOR}:${_GS_PORT}
. endif
. endif
. if ${_GS_ARGS:Mx11}
. if ${type:MLIB}
${type}_DEPENDS+= ${_GS_LIB}:${_GS_X11_PORT}
. else
${type}_DEPENDS+= ${_GS_X11_PKGNAME}>=${_GS_VERSION_MINOR}:${_GS_X11_PORT}
${type}_DEPENDS+= ${_GS_PKGNAME}>=${_GS_FULL_VERSION}:${_GS_PORT}
. endif
. endif
. endif
. endfor

Expand Down
2 changes: 1 addition & 1 deletion Mk/bsd.default-versions.mk
Expand Up @@ -63,7 +63,7 @@ GCC_DEFAULT?= 8
. else
GCC_DEFAULT?= 12
. endif
# Possible values: 9, agpl, 10
# Possible values: 10
GHOSTSCRIPT_DEFAULT?= 10
# Possible values: mesa-libs, mesa-devel
GL_DEFAULT?= mesa-libs
Expand Down
2 changes: 0 additions & 2 deletions print/Makefile
Expand Up @@ -56,8 +56,6 @@
SUBDIR += freetype2
SUBDIR += ft2demos
SUBDIR += ghostscript10
SUBDIR += ghostscript9-agpl-base
SUBDIR += ghostscript9-agpl-x11
SUBDIR += gimp-gutenprint
SUBDIR += gl2ps
SUBDIR += gsfonts
Expand Down
100 changes: 0 additions & 100 deletions print/ghostscript9-agpl-base/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions print/ghostscript9-agpl-base/distinfo

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
62 changes: 0 additions & 62 deletions print/ghostscript9-agpl-base/files/patch-Resource_Init_FAPIcidfmap

This file was deleted.

10 changes: 0 additions & 10 deletions print/ghostscript9-agpl-base/files/patch-Resource_Init_FAPIconfig

This file was deleted.

67 changes: 0 additions & 67 deletions print/ghostscript9-agpl-base/files/patch-Resource_Init_cidfmap

This file was deleted.

23 changes: 0 additions & 23 deletions print/ghostscript9-agpl-base/files/patch-base_cbcp.c

This file was deleted.

16 changes: 0 additions & 16 deletions print/ghostscript9-agpl-base/files/patch-configure

This file was deleted.

0 comments on commit b05ed46

Please sign in to comment.