gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #50462] Gnash shows weird version information when b


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #50462] Gnash shows weird version information when built from detached-HEAD Git repository
Date: Sun, 5 Mar 2017 10:59:05 -0500 (EST)
User-agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.64

URL:
  <http://savannah.gnu.org/bugs/?50462>

                 Summary: Gnash shows weird version information when built
from detached-HEAD Git repository
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Sun 05 Mar 2017 10:59:04 PM ICT
                Category: build
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This is a minor issue, but it would be nice if it get fixed.

While I was going back and forth in local Gnash Git repository, I ran into
some oddity when I leave the repository in detatched HEAD mode (a la `git
checkout REVSHA1`): I found that Gnash built from that repository would show a
weird version string:

$ git checkout 144e082
Note: checking out '144e082'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 144e082... Note fscommand support in MovieClip.getURL
$ ./autogen.sh && CC="ccache gcc" CXX="ccache g++" ./configure
--enable-media=ffmpeg,gst --enable-renderer=agg,cairo,opengl
--enable-gui=gtk,qt4,sdl,fb,dump --enable-docbook && make && su -c "make
install"

...Output omitted...

$ gnash --version
Gnash 0.8.11dev ((no-22387-144e082)

Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free
Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License.  For more information, see the file named COPYING.

Build options 
   Renderers: agg cairo opengl
   Hardware Acceleration: RawFB
   GUI: GTK
   Media handlers: ffmpeg gst 
   Configured with: --enable-media=ffmpeg,gst
--enable-renderer=agg,cairo,opengl --enable-gui=gtk,qt4,sdl,fb,dump
--enable-docbook
   CXXFLAGS: -g -O2 -std=c++11          -W     -Wall     -Wcast-qual    
-Wpointer-arith     -Wreturn-type     -Wnon-virtual-dtor     -Wunused     
-fvisibility-inlines-hidden -fvisibility=hidden -fpie -fPIE -Wformat
-Werror=format-security -fstack-protector --param ssp-buffer-size=4
$


You would see that the branch part displayed in the version string is "(no",
which is not normal; and this oddity also show up in GTK-Gnash's About dialog
too (see the attached screenshot).

This problem does not seem to affect usability of the build, though it may
cause confusion when user try to report bugs in Gnash built from that kind of
repository configuration.

Gnash: 0.8.11dev (git 144e082 22-Feb-2017)
Git: 1:1.7.10.4-1+wheezy1 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 05 Mar 2017 10:59:04 PM ICT  Name: aboutgnash_0.8.11dev-144e082.png 
Size: 8kB   By: nachanon
About Gnash dialog from Gnash 0.8.11dev git 144e082, built in detatched-HEAD
mode
<http://savannah.gnu.org/bugs/download.php?file_id=39895>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50462>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]