diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/flag-icons/Makefile | 8 | ||||
-rw-r--r-- | misc/flag-icons/files/makeflags.sh | 36 | ||||
-rw-r--r-- | misc/py-litellm/Makefile | 2 | ||||
-rw-r--r-- | misc/py-litellm/distinfo | 6 | ||||
-rw-r--r-- | misc/tellico/Makefile | 3 | ||||
-rw-r--r-- | misc/tellico/distinfo | 6 |
6 files changed, 44 insertions, 17 deletions
diff --git a/misc/flag-icons/Makefile b/misc/flag-icons/Makefile index 21cf09b196fc..7a123012a67d 100644 --- a/misc/flag-icons/Makefile +++ b/misc/flag-icons/Makefile @@ -27,9 +27,13 @@ FLAVORS= plain bordered rounded PKGNAMESUFFIX= -${FLAVOR} .endif +post-extract: + cd ${WRKSRC}/flags && ${SH} ${FILESDIR}/makeflags.sh add-missing-flags + do-build: - cd ${BUILD_WRKSRC}/flags && ${SH} ${FILESDIR}/makeflags.sh \ - ${FLAVOR} ${STAGEDIR}${FLAGS_TOPDIR}/${FLAVOR} ${FLAG_SIZES} + cd ${BUILD_WRKSRC}/flags && JOBS=${MAKE_JOBS_NUMBER} ${SH} \ + ${FILESDIR}/makeflags.sh ${FLAVOR} \ + ${STAGEDIR}${FLAGS_TOPDIR}/${FLAVOR} ${FLAG_SIZES} post-stage: cd ${STAGEDIR}${PREFIX} && ${FIND} share -type f >> ${TMPPLIST} diff --git a/misc/flag-icons/files/makeflags.sh b/misc/flag-icons/files/makeflags.sh index 160212b7c673..b98888fa1546 100644 --- a/misc/flag-icons/files/makeflags.sh +++ b/misc/flag-icons/files/makeflags.sh @@ -1,6 +1,26 @@ +# https://commons.wikimedia.org/wiki/File:Flag_of_Esperanto.svg +add-esperanto-flag() +{ + cat > "$1/epo.svg" << EOD +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="$2" height="400"> +<path fill="#FFF" d="m0,0h202v202H0"/> +<path fill="#090" d="m0,200H200V0H$2V400H0m58-243 41-126 41,126-107-78h133"/> +</svg> +EOD +} + +add-missing-flags() +{ + add-esperanto-flag 1x1 400 + add-esperanto-flag 4x3 533 +} + +async() { "$@" & } + simple() { - local comment convert_extra_args destdir height ratio subdir t0 width + local comment convert_extra_args destdir flag height i=0 ratio subdir t0 width comment=$1; convert_extra_args=$2; destdir=$3; shift 3 @@ -12,9 +32,11 @@ simple() echo -n "Generating $comment flags ${width}x${height}... " t0=$(date +%s) for flag in $subdir/*.svg; do - convert -resize ${width}x${height} $convert_extra_args \ + i=$((i % ${JOBS:-1})) + test $((i+=1)) -eq 1 && wait + async convert -resize ${width}x${height} $convert_extra_args \ "$flag" "$destdir/${width}x${height}/$(basename "$flag" svg)png" - done + done; wait echo "finished in $(date -ur $((`date +%s`-t0)) +%M:%S)" done done @@ -33,7 +55,7 @@ bordered() # https://joeldare.com/rounding-image-corners-with-imagemagick rounded() { - local destdir height mask radius ratio subdir t0 width + local destdir flag height i=0 mask radius ratio subdir t0 width destdir=$1; shift mask=$(mktemp) @@ -53,11 +75,13 @@ rounded() echo -n "Generating rounded corner flags ${width}x${height}... " t0=$(date +%s) for flag in $subdir/*.svg; do - convert -resize ${width}x${height} \ + i=$((i % ${JOBS:-1})) + test $((i+=1)) -eq 1 && wait + async convert -resize ${width}x${height} \ "$flag" -matte "$mask" \ -compose DstIn -composite -strip \ "$destdir/${width}x${height}/$(basename "$flag" svg)png" - done + done; wait echo "finished in $(date -ur $((`date +%s`-t0)) +%M:%S)" done done diff --git a/misc/py-litellm/Makefile b/misc/py-litellm/Makefile index 7f610c79d0c1..56f0704bc0a3 100644 --- a/misc/py-litellm/Makefile +++ b/misc/py-litellm/Makefile @@ -1,5 +1,5 @@ PORTNAME= litellm -DISTVERSION= 1.68.0 +DISTVERSION= 1.69.0 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-litellm/distinfo b/misc/py-litellm/distinfo index 1fcf2bbbe413..ecade3d2774d 100644 --- a/misc/py-litellm/distinfo +++ b/misc/py-litellm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746493464 -SHA256 (litellm-1.68.0.tar.gz) = 9fb24643db84dfda339b64bafca505a2eef857477afbc6e98fb56512c24dbbfa -SIZE (litellm-1.68.0.tar.gz) = 7314051 +TIMESTAMP = 1747053292 +SHA256 (litellm-1.69.0.tar.gz) = 9f37f5fedef87fa13ebfe89a8c9c484d609ffcbd6b82f2d1bb6e1f78761be335 +SIZE (litellm-1.69.0.tar.gz) = 7365657 diff --git a/misc/tellico/Makefile b/misc/tellico/Makefile index 1692585336ce..a07e2d37e3a9 100644 --- a/misc/tellico/Makefile +++ b/misc/tellico/Makefile @@ -1,6 +1,5 @@ PORTNAME= tellico -DISTVERSION= 4.1.1 -PORTREVISION= 2 +DISTVERSION= 4.1.2 CATEGORIES= misc kde MASTER_SITES= http://tellico-project.org/files/ diff --git a/misc/tellico/distinfo b/misc/tellico/distinfo index 6b5ee83402be..637da85a7277 100644 --- a/misc/tellico/distinfo +++ b/misc/tellico/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1739510299 -SHA256 (tellico-4.1.1.tar.xz) = 0a72d60f78ec60fc990f031cd1fcdf1dca9b7c32c620ac60839f4a8353ce3ca0 -SIZE (tellico-4.1.1.tar.xz) = 6788272 +TIMESTAMP = 1747072931 +SHA256 (tellico-4.1.2.tar.xz) = 3c00d5213d36fb6faa16d57dba42568e801505f25846e41b342c159c1b3b66a5 +SIZE (tellico-4.1.2.tar.xz) = 6789616 |