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: Wed, 8 Mar 2017 04:48:21 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #9, bug #50462 (project gnash):

Build results of the fixed patch (file #39935) on my system are as follows...

On-tree build, 144e082 on `master` branch:

$ git checkout -f master && patch -i
/tmp/0001_use-git-symbolicref-for-revno-branch-v2.patch && ./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

...Output omitted...

$ gui/gtk-gnash --version
Gnash 0.8.11dev (master-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
$


On-tree build, detached HEAD at 144e082:

$ git checkout -f 144e082 && patch -i
/tmp/0001_use-git-symbolicref-for-revno-branch-v2.patch && ./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

...Output omitted...

$ gui/gtk-gnash --version
Gnash 0.8.11dev (none-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
$


Off-tree build, 144e082 on `master` branch:

$ git checkout -f master && patch -i
/tmp/0001_use-git-symbolicref-for-revno-branch-v2.patch && ./autogen.sh &&
mkdir -p /tmp/gnash-build && cd /tmp/gnash-build && CC="ccache gcc"
CXX="ccache g++" ~/prog/gnash.git/configure --enable-media=ffmpeg,gst
--enable-renderer=agg,cairo,opengl --enable-gui=gtk,qt4,sdl,fb,dump
--enable-docbook && make

...Output omitted...

$ gui/gtk-gnash --version
Gnash 0.8.11dev (master-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
$


Off-tree build, detached HEAD at 144e082:

$ git checkout -f 144e082 && patch -i
/tmp/0001_use-git-symbolicref-for-revno-branch-v2.patch && ./autogen.sh &&
mkdir -p /tmp/gnash-build && cd /tmp/gnash-build && CC="ccache gcc"
CXX="ccache g++" ~/prog/gnash.git/configure --enable-media=ffmpeg,gst
--enable-renderer=agg,cairo,opengl --enable-gui=gtk,qt4,sdl,fb,dump
--enable-docbook && make

...Output omitted...

$ gui/gtk-gnash --version
Gnash 0.8.11dev (none-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 version displays are now showing expected branch
nickname in both normal and detached-HEAD repository, and in both on-tree and
off-tree build configuration. 

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

    _______________________________________________________

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]