Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AD25A782B27 for <~alpine/devel@lists.alpinelinux.org>; Thu, 23 Jan 2020 20:55:27 +0000 (UTC) Date: Thu, 23 Jan 2020 20:55:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogitri.dev; s=protonmail; t=1579812926; bh=pkl3n+v5IIt2O0giwvyqoS4U4nuaozxvZdXFXUU2P6g=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=JleNvdB8/1cA17dZholcZbUYGwd9fc3TzArwl6CxYDELavjGOt71SptpXS1rF9BNM cwF7WUWxvYA7xtCCQ3fKwGK4ZZ9fKo+9gVPXIvxst3akYmJY2dCCMK/YayZaywgbtg eg9CizxJFT+enwkBJmGhNcH961o++fkw3gc++oI4= To: ~alpine/devel@lists.alpinelinux.org From: Rasmus Thomsen Reply-To: Rasmus Thomsen Subject: Making libapk(-3) nicer to use Message-ID: <56e40eb9b0e998eb16892573068fa7e44804bab5.camel@cogitri.dev> Feedback-ID: LZW2MXNaH7NSG88i8lGpebeqB0wmcl0-3TbzkSuzsmAwEQspn4GI-WRe8j3PhRL4SBmua4rQWq6fadPcLS5uxQ==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,BAYES_40, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch Hello, since there's currently quite some talk about apk-tools-3 I thought it might be worth mentioning this too, as libapk currently isn't too nice to use. There are currently a plugin for GNOME Software and Qt library[1] for usage in KDE Discover in the works, but they have to jump through some hoops to get it to work. As of now apk doesn't even always install a shared library, nor a static library or even its headers, making it hard to work with it ( https://gitlab.alpinelinux.org/alpine/apk-tools/merge_requests/11 tries to fix that though). Additionally most of the convenience functions (e.g. apk_repository_update) aren't in libapk but in apk, forcing other frontends using libapk to reimplement these. It'd be nice if these functions were included in libapk instead, so they could be reused. 1: https://gitlab.com/minlexx/libapk-qt