From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCJox-0004r0-Jd for guix-patches@gnu.org; Thu, 12 Mar 2020 05:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCJow-0001SN-C1 for guix-patches@gnu.org; Thu, 12 Mar 2020 05:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCJov-0001S9-Tl for guix-patches@gnu.org; Thu, 12 Mar 2020 05:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCJov-0007fN-N2 for guix-patches@gnu.org; Thu, 12 Mar 2020 05:08:01 -0400 Subject: [bug#39881] Add couchdb Resent-Message-ID: Date: Thu, 12 Mar 2020 10:07:26 +0100 From: Lars-Dominik Braun Message-ID: <20200312090726.GA845@zpidnp36> References: <20200303095049.GA2963@zpidnp36> <20200310110822.GW1423@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20200310110822.GW1423@E5400> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner Cc: 39881@debbugs.gnu.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Efraim, > There are a couple of bundled fonts as well as bundled javascript inside > the share directory, which also makes it to the output. we can probably unbundle fontawesome, but not their own font. The web front= end (fauxton) depends on NPM and a bunch of JavaScript packages =E2=80=93 nothi= ng we can do about that. > Looking at %out/lib/ it looks like there are a bunch of other libraries > bundled with couchdb. I don't know much about erlang but I assume all > these libraries should be unbundled. Looking inside erlang I see there > are also a lot of what looks like bundled libraries so I'm not really > sure how that goes. As far as I see there is a mix between bundled external libraries and those internal to couchdb. External libraries in src/ are: - bear (https://github.com/boundary/bear) - dreyfus (https://github.com/cloudant-labs/dreyfus) - folsom (https://github.com/boundary/folsom) - hyper (https://github.com/GameAnalytics/hyper) - jiffy (https://github.com/davisp/jiffy) - meck (https://github.com/eproxus/meck) - mochiweb (https://github.com/mochi/mochiweb/) - proper (https://github.com/proper-testing/proper) - rebar (https://github.com/rebar/rebar) - recon (https://github.com/ferd/recon) - snappy (https://github.com/skunkwerks/snappy-erlang-nif) All modules are also mirrored by the Apache project here https://github.com/apache?q=3Dcouchdb&type=3D&language=3D so it might be possible to build most of them =E2=80=9Cout of tree=E2=80=9D= , i.e. create separate packages and somehow =E2=80=9Clink=E2=80=9D to them. I=E2=80=99ll = look into that when I have some time, but I=E2=80=99m not an Erlang guru. In the meantime I=E2=80=99ll= be maintaining the package over here[1], since the current state is not good enough for inclus= ion into guix. > Anyway, take a look at the changes I made and see if anything/everything > works :) Yep, I can confirm the server and web interface are working. Thanks for the review, Lars [1] https://github.com/leibniz-psychology/guix-zpid/blob/master/zpid/packag= es/couchdb.scm --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl5p+8EACgkQQhN3ARo3 hEacdQv7BJkU+ffQk+BcLeRoT63vpDEYcJZpuQd7aekSwUitZahYnaKNSp7ESKZh 5LyOll665iIRzwxwgmOeXS0B51a627ut11aUeMY4Ud88VFr79VOcl6vmdiIpO+Q7 KCmFmDndTdBT0l7Fy0nPSxfQSmnpwZVtXewwdfBXvW+3e03+3yI+lmOonwLYo0KU 97Jk19l6Zlwnb9K59S1M4MppPJtJ/QXs4pWfN8wgUP/f6PF0d1n29dLgsO2D8ctN D57AjTN6RqBr65XR8quC8e/wZFX3oCsUbXQ/mJu5xG4Cm+EtMPa9L7csDDWPeo2N 9D32nZgPLmMIXVhnjbi9EJnSI1o3qnotY/3NmlJR2cx/pX9/3u3UNwn1WLcBQDCR 3ae7/ZZCmr8SF8Eeidt0l2wio3wQLz1GvU5x23WYzVC8OJuhyAtvNBg+xWKV72Oj 6Tg6xf7raS7765UhBe/dJp4YaEzWwBSTAdL5HSRWTnQ3ec1VbQIashrBwkxfvWTb MR+TTvYl =uR7f -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--