From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24205 invoked by alias); 14 Sep 2016 07:23:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39316 Received: (qmail 27911 invoked from network); 14 Sep 2016 07:23:19 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f171.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.171):SA:0(0.0/5.0):. Processed in 0.146924 secs); 14 Sep 2016 07:23:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DtFnp4W5qK6p+L5O9Bp0VN6Puu1buowmvd0fk3L65WY=; b=nktk/JmOyRZtfstPx/PkPlJKUOyCCvyy7GE0NPLB94yhc9JJi3QH8SbC82WtdPC5CT dUX9czXsdFBrVt16PIox/YxRrziD/evZVQtKevl9GP7cuZ/if98XdBRMw9OaZbQdLN2y xTtY+mrJy1pmvm5XGoaFBMocEpf9i63Znd98WyDJKIm4FEJbW9uCUmW3n9InENqHFP20 v2r3kbzPoheVxhG3xCBbgc8LWsx6EcXLLdAjmszhZ6aBNBwpqSUfOF9pmp0fqTKrDuqy BMLKN6BYwKtiOT1/ztnl2c/T3dTVHyLr9mVNcMNAJDDGujhvbMkOxspHqymg3AqIAfWA wIrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DtFnp4W5qK6p+L5O9Bp0VN6Puu1buowmvd0fk3L65WY=; b=EDybxEeQmr1mzUv+QaZZCVW1NjKga5ykcvfxeyrnB65x+jrvBiBTCxKGG6L65zgOQk f+sTF3ZsomlHHO36yDWc+kXRpKtSrruvatgFkAwkAe/a48ewLeJCFEgXV4YDeQY2XD7C acZNFfmlML5h5LG2/5sp7Atn9rBih3Mf8yIQrCg9EebMPKnl0146qFCqavmz5kfOCWBb GnTSul0mF7NS2rLIo/SGaOXbaooqx3lo5EVOi0SC8a9610w/EzP3IguIQB2iPaF6XTN8 aY+oPqPEQrsJvojGU2G24z/VZbOb8beKbdifO+3fZE9drxl5RPaO3WFwUGfGeyHldifj YEZA== X-Gm-Message-State: AE9vXwOhpxUvl+cLfuN2FNu2TqMbeDPekkRV1v5K4vT9wse5q0jeRdHmKHxZ/1Q4bkHGFZENdhw9x7ioa9mb4A== X-Received: by 10.55.132.71 with SMTP id g68mr1271225qkd.50.1473837417922; Wed, 14 Sep 2016 00:16:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <160912103839.ZM25202@torch.brasslantern.com> References: <160912103839.ZM25202@torch.brasslantern.com> From: Sebastian Gniazdowski Date: Wed, 14 Sep 2016 09:16:37 +0200 Message-ID: Subject: Re: Adding (compiling) a module to already build Zsh To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 On 12 September 2016 at 19:38, Bart Schaefer wrote: > On Sep 12, 8:12am, Sebastian Gniazdowski wrote: > } > } on IRC someone asked how to "add gdbm". I wonder if the module can be > } easily added to already installed Zsh, if it's not already bundled? > > It should be possible to do this provided that > (a) the zsh source matching the installed binary is available to > compile against and Could be something like the commonly occurring package kernel-headers-*.(deb|rpm|etc.) created, with mostly header files constituting a build environment (source files are rather not needed?) ? It would be cool thing from one other reason. For example, there is gdbm module for Zsh. Its features make it capable of rising Zsh code to another level. However, it is rarely available in distributed Zsh packages (licensing issue? I'm not sure if license issue doesn't apply only to pcre module). However, with easily available build environment one would be able to distribute a gdbm module together with his plugin and this way overcome licensing issue. Best regards, Sebastian Gniazdowski