From nobody Thu Aug 08 12:43:07 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wfmt343PYz5Sh7s; Thu, 08 Aug 2024 12:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wfmt33XtMz3y1p; Thu, 8 Aug 2024 12:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723120987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k9u8wwGhZds61jo66f1E03IudKbfdMj16DAshNQ6Oo4=; b=DhYHLPMamooxSgQov4woFcWaC3kD2igvyCBAfmJYvhY5mmzs7AcCe/dnulXYOCQw9Q58rp em4/GyFadM1UuVFNhuk+dbhZkNPY9PeCp9WfOyjsX+QmdKYoTMW6Wql/UB+PmYMv0Squk5 IcXxj9LiZFGiElZ9a/e2MFhBU0rppbhkUyRGObVjssefndTVFdgiFbkdg+lSYwUyXVnvBB SnUc4Mxnz/nNT8P6/KbTM134Q/KwoEIigtbPt97F4m+WCG3Hbaj9Zuz+dUffuXqOGH+wzm qYP8FoV1qPX287WgMGFtRcj+n8SXQLBi5ryQaXFe0wGmGTj5LDzHB52EejT/1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723120987; a=rsa-sha256; cv=none; b=iGK9OY9BrCQSfmlZMVPmZFSrxIF/B9t4Jc6Klzc2XCMNyJcGKg6k2dViKW/unLjx0649vB NNeCUYhaC+tE3/Bx4ZpFEvY/ZNZcLEYzSRrnOTNU0rVxxWEByVhIW+2DRXQnr9Zv5+VF+Q mZt2xldZg0FHVOVLGWx6BHfIyS8i0XBR2YpjVaNKmEnDXQZQBLCPIBIcVW5L+sfvsKEsyN sx5epx2bfYUS6SUzpVDqbkKLOgo/mcc/hpBOa0zWTB9NDpXXxEtfRiKyFJqdmQYNiM5y8C zwEIXO9/PchnKTvKg96yc8rphkoFQIjz7JA0DG4xhqfwNbbNCxxi9ElwUqHYmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723120987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k9u8wwGhZds61jo66f1E03IudKbfdMj16DAshNQ6Oo4=; b=Rr/4MPefKfVD4riUt0Zdc/ota56xQbCYazb0jOvpvqNz8ZzitTZCLl4l4ODTQlXX4d0Yjq 4+hP4CRXqvbMPg3/6HGzTEVaic15gNP0HI4JNpYnlh5HHw0GZlcmaWTm/EHHOxqTr+37LV Ypt+M/py2DAVAFQTwZf9nJltkZ4veU3cEPNySxl/xdoefTtHjanV6pB9ckhWgoiautzQSR lNj3DBD1/cFWNa8062uf7HMALt7uPrD/ARGzWVrdJmXKeb2utaZMRoKRCxS/BX9/OYGVd6 hu+WsfVhDzoztUjtDNcNFAfXvPEsGc+Jhx1IynLGKVm3TSJzaeasm3J0Sx4Edw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wfmt333WbzZ4s; Thu, 8 Aug 2024 12:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 478Ch7Ck069538; Thu, 8 Aug 2024 12:43:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 478Ch7Mn069535; Thu, 8 Aug 2024 12:43:07 GMT (envelope-from git) Date: Thu, 8 Aug 2024 12:43:07 GMT Message-Id: <202408081243.478Ch7Mn069535@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: dfe6343be551 - main - misc/alpaca: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dfe6343be55169c57a23d93edaaece445afb875a Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=dfe6343be55169c57a23d93edaaece445afb875a commit dfe6343be55169c57a23d93edaaece445afb875a Author: Nicola Vitale AuthorDate: 2024-08-08 12:42:17 +0000 Commit: Nicola Vitale CommitDate: 2024-08-08 12:42:17 +0000 misc/alpaca: Add new port Alpaca is an Ollama client where you can manage and chat with multiple models. Alpaca provides an easy and beginner friendly way of interacting with local AI, everything is open source and powered by Ollama. https://github.com/Jeffser/Alpaca --- misc/Makefile | 1 + misc/alpaca/Makefile | 30 ++++++++++++++++++++++++++++++ misc/alpaca/distinfo | 3 +++ misc/alpaca/pkg-descr | 3 +++ misc/alpaca/pkg-plist | 25 +++++++++++++++++++++++++ 5 files changed, 62 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index c7728cbd8c79..246769ca9f23 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -8,6 +8,7 @@ SUBDIR += adios2 SUBDIR += aichat SUBDIR += air + SUBDIR += alpaca SUBDIR += amanda-client SUBDIR += amanda-perl-wrapper SUBDIR += amanda-server diff --git a/misc/alpaca/Makefile b/misc/alpaca/Makefile new file mode 100644 index 000000000000..7e8ef9536239 --- /dev/null +++ b/misc/alpaca/Makefile @@ -0,0 +1,30 @@ +PORTNAME= alpaca +DISTVERSION= 1.0.6 +CATEGORIES= misc + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Ollama client made with GTK4 and Adwaita +WWW= https://github.com/Jeffser/Alpaca + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libgtksourceview-5.so:x11-toolkits/gtksourceview5 +RUN_DEPENDS= ${PY_PILLOW} \ + ${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html2text>=2.2.3:textproc/py-html2text@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypdf>=4.3.1:print/py-pypdf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytube>=15.0.0:multimedia/py-pytube@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR} \ + ollama:misc/ollama + +USES= meson python +USE_GITHUB= yes +GH_ACCOUNT= Jeffser +GH_PROJECT= Alpaca + +post-patch: + @${REINPLACE_CMD} \ + -e 's/python3/${PYTHON_VERSION}/1' ${WRKSRC}/src/meson.build + +.include diff --git a/misc/alpaca/distinfo b/misc/alpaca/distinfo new file mode 100644 index 000000000000..4217fedd1cbc --- /dev/null +++ b/misc/alpaca/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723016383 +SHA256 (Jeffser-Alpaca-1.0.6_GH0.tar.gz) = a75ba86855cd6c29ccd7787258c5a554a3065f80792b9fb87f0a6a352e76d72c +SIZE (Jeffser-Alpaca-1.0.6_GH0.tar.gz) = 289795 diff --git a/misc/alpaca/pkg-descr b/misc/alpaca/pkg-descr new file mode 100644 index 000000000000..0cdc1d5836a7 --- /dev/null +++ b/misc/alpaca/pkg-descr @@ -0,0 +1,3 @@ +Alpaca is an Ollama client where you can manage and chat with multiple models, +Alpaca provides an easy and beginner friendly way of interacting with local AI, +everything is open source and powered by Ollama. diff --git a/misc/alpaca/pkg-plist b/misc/alpaca/pkg-plist new file mode 100644 index 000000000000..cfdd9ba8211e --- /dev/null +++ b/misc/alpaca/pkg-plist @@ -0,0 +1,25 @@ +bin/alpaca +share/Alpaca/alpaca.gresource +share/Alpaca/alpaca/__init__.py +share/Alpaca/alpaca/available_models.json +share/Alpaca/alpaca/available_models_descriptions.py +share/Alpaca/alpaca/connection_handler.py +share/Alpaca/alpaca/dialogs.py +share/Alpaca/alpaca/internal.py +share/Alpaca/alpaca/local_instance.py +share/Alpaca/alpaca/main.py +share/Alpaca/alpaca/table_widget.py +share/Alpaca/alpaca/window.py +share/applications/com.jeffser.Alpaca.desktop +share/glib-2.0/schemas/com.jeffser.Alpaca.gschema.xml +share/icons/hicolor/512x512/apps/com.jeffser.Alpaca.png +share/icons/hicolor/scalable/apps/com.jeffser.Alpaca.svg +share/icons/hicolor/symbolic/apps/com.jeffser.Alpaca-symbolic.svg +share/locale/bn/LC_MESSAGES/alpaca.mo +share/locale/es/LC_MESSAGES/alpaca.mo +share/locale/fr/LC_MESSAGES/alpaca.mo +share/locale/nb_NO/LC_MESSAGES/alpaca.mo +share/locale/pt_BR/LC_MESSAGES/alpaca.mo +share/locale/ru/LC_MESSAGES/alpaca.mo +share/locale/zh_CN/LC_MESSAGES/alpaca.mo +share/metainfo/com.jeffser.Alpaca.metainfo.xml