From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52339 invoked by alias); 19 Jul 2015 19:54:55 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 52329 invoked by uid 89); 19 Jul 2015 19:54:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-wg0-f50.google.com Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 19 Jul 2015 19:54:54 +0000 Received: by wgmn9 with SMTP id n9so116682610wgm.0 for ; Sun, 19 Jul 2015 12:54:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=H8fFKj54d6GchWxXdUtz7EXQ8MSDFRCzDv2oxNbYdps=; b=hqOpUO+t0O0PFeU08VOPCMH2PAEgOSa9v3UO5+eKXvhkqbxnpNcD8PEYAg5hsUzKTP s4aaqxqc1NPKKm8Y1zzsEdujnd+RiqPo8kruasn5bP8bj9NpuXGmgvpQUb5An29P2QFS X+dNM6eASgm4nYUOMnkKOZGjUM1aUND8pH3h2bDaYKnNbwyxvNGWm7FwW6vgko2c01sO VAVZy9OFWfDUCoQPpUUZMOE4wXp/0SXxgrawOEt3vQuwRxCNuqER/OG5oXFyS7gQvJoj KWEJjdIAomGjkaWwLCtaLkWefOLy/e6r3hqaVdfFP/LeAITre5uGTWLBxAunIhTxn8Mw bZyA== X-Gm-Message-State: ALoCoQkLgPy0pnK/ODTIJp43GN+BvuFGV4ZEJthxPsodfK/ydCw3GYSHIcV97vWu5dXbmiyxIG0R X-Received: by 10.194.104.98 with SMTP id gd2mr46649504wjb.35.1437335691338; Sun, 19 Jul 2015 12:54:51 -0700 (PDT) Received: from ?IPv6:2001:470:6c46:1:12c3:7bff:fe9d:8df0? ([2001:470:6c46:1:12c3:7bff:fe9d:8df0]) by smtp.googlemail.com with ESMTPSA id bm9sm8336626wib.10.2015.07.19.12.54.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 12:54:50 -0700 (PDT) Message-ID: <55AC0089.2090304@asokolov.org> Date: Sun, 19 Jul 2015 19:54:00 -0000 From: Alexey Sokolov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: [ITP] znc 1.6.0 References: <55AA752A.3000303@asokolov.org> <55AABF89.7030306@asokolov.org> <55AADC2C.1070802@asokolov.org> <55AB5EC2.2060400@asokolov.org> <20150719100317.GD19825@calimero.vinschen.de> <55ABA522.9000008@asokolov.org> <87d1zogku1.fsf@Rainer.invalid> <55ABEC90.3040106@asokolov.org> <55ABECDD.9040805@asokolov.org> <87zj2sezel.fsf@Rainer.invalid> In-Reply-To: <87zj2sezel.fsf@Rainer.invalid> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00124.txt.bz2 19.07.2015 20:10, Achim Gratz ïèøåò: > Alexey Sokolov writes: >>> Is "1" some special number which should be used? > > Just some number that gets bumped whenever the ABI changes > (i.e. applications that link against the library would need to be > recompiled). > Well, in that case 1.6 works fine. When 1.7.0 will be released, the filename will be changed to cygznc-1.7.dll. >>> ZNC 1.6.0 is supposed to be ABI-compatible with ZNC 1.6.1 (when it will >>> be released), so third-party modules compiled against cygznc-1.6.dll >>> from 1.6.0 should work fine with cygznc-1.6.dll from 1.6.1 without >>> recompilation. > > I've just looked at Debian and openSUSE and both do not have a ZNC > library? > On Linux the whole program is in /usr/bin/znc executable, and modules (opened via dlopen()) use symbols from it. But it's not possible on Windows, because linker requires all used symbols to be found at build time instead of runtime. So for Windows, most of code needed to be moved to a DLL, which both modules and (now small) znc.exe can link to. >>> That's why I chose 1.6 as version number for the filename. >>> >>> Also, most of .dll files I see in /bin have "-" before the number, >>> that's why I've put it here too... > > You ahould ask Yaakov, but I seem to remember that the preferred way to > name new libraries is now without the hyphen. > Hm, ok... Yaakov, what's the plan?