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/llama-cpp/Makefile | 2 | ||||
-rw-r--r-- | misc/llama-cpp/distinfo | 6 | ||||
-rw-r--r-- | misc/llama-cpp/pkg-plist | 4 | ||||
-rw-r--r-- | misc/py-gguf/Makefile | 4 | ||||
-rw-r--r-- | misc/py-gguf/distinfo | 6 | ||||
-rw-r--r-- | misc/py-instructor/Makefile | 2 | ||||
-rw-r--r-- | misc/py-instructor/distinfo | 6 | ||||
-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 |
13 files changed, 58 insertions, 33 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/llama-cpp/Makefile b/misc/llama-cpp/Makefile index edcfc0829cf0..e880ababbdc1 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b -DISTVERSION= 5287 +DISTVERSION= 5371 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo index 5682dec0737a..065e1989894b 100644 --- a/misc/llama-cpp/distinfo +++ b/misc/llama-cpp/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1746510097 -SHA256 (ggerganov-llama.cpp-b5287_GH0.tar.gz) = 2b62ce01b09300aa5ed628e520ea56a72aff64fda92c02c2576880e0810225a4 -SIZE (ggerganov-llama.cpp-b5287_GH0.tar.gz) = 21099950 +TIMESTAMP = 1747201270 +SHA256 (ggerganov-llama.cpp-b5371_GH0.tar.gz) = cce50220507565b78423fc45a1c534dc088289ab898517a379fdbf733ffd72bf +SIZE (ggerganov-llama.cpp-b5371_GH0.tar.gz) = 21147325 SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496 diff --git a/misc/llama-cpp/pkg-plist b/misc/llama-cpp/pkg-plist index fb952a574b2e..5b36c5809aaa 100644 --- a/misc/llama-cpp/pkg-plist +++ b/misc/llama-cpp/pkg-plist @@ -8,14 +8,13 @@ bin/convert_hf_to_gguf.py %%EXAMPLES%%bin/llama-embedding %%EXAMPLES%%bin/llama-eval-callback %%EXAMPLES%%bin/llama-export-lora +%%EXAMPLES%%bin/llama-finetune %%EXAMPLES%%bin/llama-gen-docs %%EXAMPLES%%bin/llama-gguf %%EXAMPLES%%bin/llama-gguf-hash %%EXAMPLES%%bin/llama-gguf-split %%EXAMPLES%%bin/llama-gritlm %%EXAMPLES%%bin/llama-imatrix -%%EXAMPLES%%bin/llama-infill -%%EXAMPLES%%bin/llama-llava-clip-quantize-cli %%EXAMPLES%%bin/llama-lookahead %%EXAMPLES%%bin/llama-lookup %%EXAMPLES%%bin/llama-lookup-create @@ -63,6 +62,5 @@ lib/libggml-cpu.so %%VULKAN%%lib/libggml-vulkan.so lib/libggml.so lib/libllama.so -%%EXAMPLES%%lib/libllava_shared.so lib/libmtmd_shared.so libdata/pkgconfig/llama.pc diff --git a/misc/py-gguf/Makefile b/misc/py-gguf/Makefile index b03b9d096471..05b335f0f495 100644 --- a/misc/py-gguf/Makefile +++ b/misc/py-gguf/Makefile @@ -1,5 +1,5 @@ PORTNAME= gguf -DISTVERSION= 0.16.2.${GH_TAGNAME:S/b//} # the base version is in pyproject.toml, updated by post-patch +DISTVERSION= 0.16.3.${GH_TAGNAME:S/b//} # the base version is in pyproject.toml, updated by post-patch CATEGORIES= misc python # machine-learning #MASTER_SITES= PYPI # the PYPI version is way behind of llama-cpp PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -24,7 +24,7 @@ USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= ggml-org GH_PROJECT= llama.cpp -GH_TAGNAME= b5287 +GH_TAGNAME= b5371 WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/gguf-py diff --git a/misc/py-gguf/distinfo b/misc/py-gguf/distinfo index 71d363f1c2b8..1b9000f89f7c 100644 --- a/misc/py-gguf/distinfo +++ b/misc/py-gguf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746512008 -SHA256 (ggml-org-llama.cpp-0.16.2.5287-b5287_GH0.tar.gz) = 2b62ce01b09300aa5ed628e520ea56a72aff64fda92c02c2576880e0810225a4 -SIZE (ggml-org-llama.cpp-0.16.2.5287-b5287_GH0.tar.gz) = 21099950 +TIMESTAMP = 1747201428 +SHA256 (ggml-org-llama.cpp-0.16.3.5371-b5371_GH0.tar.gz) = cce50220507565b78423fc45a1c534dc088289ab898517a379fdbf733ffd72bf +SIZE (ggml-org-llama.cpp-0.16.3.5371-b5371_GH0.tar.gz) = 21147325 diff --git a/misc/py-instructor/Makefile b/misc/py-instructor/Makefile index 589c6aa10009..11ff7d5970bf 100644 --- a/misc/py-instructor/Makefile +++ b/misc/py-instructor/Makefile @@ -1,5 +1,5 @@ PORTNAME= instructor -DISTVERSION= 1.7.9 +DISTVERSION= 1.8.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-instructor/distinfo b/misc/py-instructor/distinfo index 4817d4ae95ac..93ce5eb93284 100644 --- a/misc/py-instructor/distinfo +++ b/misc/py-instructor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744710464 -SHA256 (instructor-1.7.9.tar.gz) = 3b7ff9119b386ebdc3c683a8af3c6461f424b9d80795d5e12676990b8379dd8a -SIZE (instructor-1.7.9.tar.gz) = 69063860 +TIMESTAMP = 1747038054 +SHA256 (instructor-1.8.1.tar.gz) = 2c3db9cabeff7cbe066b8eba393c1126e6250131b659023963047187afc3b56b +SIZE (instructor-1.8.1.tar.gz) = 69245759 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 |