X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=VEp3tXXjCNTXSp6Qd5gbij2MeeXtTA4U1o+Pcb9trqM=; b=oepZFdPTS/NTUQOn9t0ukypkf9WaiLWzAO9iLSR6ME5V+tWZ1wtApJWzqMJoLdZ2QF lUhIVvhT8Bocppj6BKtSG/wSvkATw3YG4ILOVuDt02QkmEJG1kuAuqOWlcCVtl2xa9f3 eBi4fmPE4IY6WKWUbNARMwk1Wsim6n0hH/+gWAq/pSXGFhcIMuNF7xz3RMwIsYNvaIAW FYaEVoncN6jhWOwR/m5T5IVBJMIB83Y/PYg58UGNJvzpF2GdWZtr7CZCBCwxis8hrtRT 04JdUDirhFdU6oM8PdAVqahl/JhIygdOmb5+rEm4EpBmdeX6LPX79dI5MZ20bTi43zE8 28mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=VEp3tXXjCNTXSp6Qd5gbij2MeeXtTA4U1o+Pcb9trqM=; b=UpVwOz+BE+lFvQopyfNEN8UA+Z0ASZOAdOav/OF88ofDvj2g3sUwcqKYLR4ZyupIkV AAUTlTkD+KcqCZoDsytmJOV3LlrfMCajair00f5nhODVyy0btUaTnUBb/UT+lhDI7k2/ Q/JJ/A5MCUCSlq9CggZnXcakaGjpHOVPOGNXUEqRhTW3dKlPblFxkBBqeJahLhW6SJ/n O3C5Gik+9OVroNjvJQHdjC83HKXq53UdDqPbFZiF8kM3eCHzjhhXmA7F0ofvtic8JTyO aU97YkAwbDSkg/1zRfSkIaVdt9RZyMuMMxlsxWqDv0h3pV0g7R61sdwPBWJMCyDSzg12 x5rg== X-Gm-Message-State: AEkoouvXI6ULJs+X9+3sk5KQblORF5gVpqw0K+p5AV209RRma9K/wFGE9vF+uAXmiuf5lg== X-Received: by 10.25.21.167 with SMTP id 39mr6947350lfv.12.1471894068708; Mon, 22 Aug 2016 12:27:48 -0700 (PDT) Date: Mon, 22 Aug 2016 22:27:41 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] Copy version.h from tarball to git clone Message-ID: <20160822192741.GA2833@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <20160822b AT crcomp DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160822b@crcomp.net> User-Agent: Mutt/1.5.23 (2014-03-12) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, Aug 22, 2016 at 10:05:00AM -0700, Don Kuenz wrote: > Greetings, > > My git host lacked a proper repository. So a version.h file was copied ?? You can make a new clone, if you want: git clone git://git.geda-project.org/geda-gaf.git > from the 1.9.2-20150930 tarball and pasted into the topmost geda-gaf git > clone directory. The tarball version.h contains: > > ------------------------------------------------------------------------ > /* Date part of package version string. */ > #define PACKAGE_DATE_VERSION "20150930" > > /* Dotted part of package version string. */ > #define PACKAGE_DOTTED_VERSION "1.9.2" > > /* Current git commit. */ > #define PACKAGE_GIT_COMMIT "7b0ee03164717d9b9ba9edacd1b1711281a864ef" > > /* Current 'git describe' version string. */ > #define PACKAGE_GIT_VERSION "1.9.1-20140308-471-g7b0ee03" > ------------------------------------------------------------------------ > > Does anyone know how to obtain the proper values of those four > defines? The command ./autogen.sh && ./configure && make will create version.h > Does git log -p -1 return the PACKAGE_GIT_COMMIT? (A last commit date of > Sat Jan 16 seems wrong to me.) > > ------------------------------------------------------------------------ > $ git log -p -1 > commit f85c2c71ca422a17011ab59d1f886cb85306980e > Author: Peter TB Brett > Date: Sat Jan 16 11:26:33 2016 +0000 > ------------------------------------------------------------------------ It shows one first commit (the option '-1') using one of patch formats (the option '-p'), and this commit is HEAD of the branch you've checked out. If you want to have the last changes in the repository, use 'git pull'. -- Vladimir