今天为大家介绍一个非常有趣儿的开源软件,Gource可以将代码版本控制系统里面的日志全部可视化,也就是说可以看见每个成员在系统里面提交代码的行为,Gource目前支持git,hg,svn。

在这里可以下载到博主制作的屏幕录像:http://115.com/file/e7hrt6w3#gource.rar

安装:

安装下面几个软件包:

build-essentiallibsdl1.2-devfreetype2*glew*
下载0.37版并解压缩
root@cgweb-VirtualBox:/home/cgweb/gource-0.37#./configure
checkingforaBSD-compatibleinstall.../usr/bin/install-c
checkingwhetherbuildenvironmentissane...yes
checkingforathread-safemkdir-p.../bin/mkdir-p
checkingforgawk...no
checkingformawk...mawk
checkingwhethermakesets$(MAKE)...yes
checkingbuildsystemtype...x86_64-unknown-linux-gnu
checkinghostsystemtype...x86_64-unknown-linux-gnu
checkingforg++...g++
checkingwhethertheC++compilerworks...yes
checkingforC++compilerdefaultoutputfilename...a.out
checkingforsuffixofexecutables...
checkingwhetherwearecrosscompiling...no
checkingforsuffixofobjectfiles...o
checkingwhetherweareusingtheGNUC++compiler...yes
checkingwhetherg++accepts-g...yes
checkingforstyleofincludeusedbymake...GNU
checkingdependencystyleofg++...gcc3
checkingfortimegm...yes
checkingforunsetenv...yes
checkinghowtoruntheC++preprocessor...g++-E
checkingforX...libraries,headers
checkingforasedthatdoesnottruncateoutput.../bin/sed
checkingforgcc...gcc
checkingwhetherweareusingtheGNUCcompiler...yes
checkingwhethergccaccepts-g...yes
checkingforgccoptiontoacceptISOC89...noneneeded
checkingdependencystyleofgcc...gcc3
checkingforthepthreadslibrary-lpthreads...no
checkingwhetherpthreadsworkwithoutanyflags...no
checkingwhetherpthreadsworkwith-Kthread...no
checkingwhetherpthreadsworkwith-kthread...no
checkingforthepthreadslibrary-llthread...no
checkingwhetherpthreadsworkwith-pthread...yes
checkingforjoinablepthreadattribute...PTHREAD_CREATE_JOINABLE
checkingifmorespecialflagsarerequiredforpthreads...no
checkinghowtoruntheCpreprocessor...gcc-E
checkingforgrepthathandleslonglinesand-e.../bin/grep
checkingforegrep.../bin/grep-E
checkingforANSICheaderfiles...yes
checkingforsys/types.h...yes
checkingforsys/stat.h...yes
checkingforstdlib.h...yes
checkingforstring.h...yes
checkingformemory.h...yes
checkingforstrings.h...yes
checkingforinttypes.h...yes
checkingforstdint.h...yes
checkingforunistd.h...yes
checkingwhetherweareusingtheMicrosoftCcompiler...no
checkingwindows.husability...no
checkingwindows.hpresence...no
checkingforwindows.h...no
checkingforGL/gl.h...yes
checkingforOpenGL/gl.h...no
checkingforOpenGLlibrary...-lGL
checkingforGL/glu.h...yes
checkingforOpenGL/glu.h...no
checkingforOpenGLUtilitylibrary...-lGLU
checkingforvarargsGLUtesselatorcallbackfunctiontype...no
checkingforsdl-config.../usr/bin/sdl-config
checkingforSDL-version>=1.2.10...yes
checkingforfreetype-config.../usr/bin/freetype-config
checkingforFreeType--version>=9.0.3...yes
checkingforIMG_LoadPNG_RWin-lSDL_image...yes
checkingforIMG_LoadJPG_RWin-lSDL_image...yes
checkingforpcre_compilein-lpcre...yes
checkingforglewInitin-lGLEW...yes
checkingSDL.husability...yes
checkingSDL.hpresence...yes
checkingforSDL.h...yes
checkingSDL_image.husability...yes
checkingSDL_image.hpresence...yes
checkingforSDL_image.h...yes
checkingpcre.husability...yes
checkingpcre.hpresence...yes
checkingforpcre.h...yes
checkingGL/glew.husability...yes
checkingGL/glew.hpresence...yes
checkingforGL/glew.h...yes
configure:creating./config.status
config.status:creatingMakefile
config.status:executingdepfilescommands
root@cgweb-VirtualBox:/home/cgweb/gource-0.37#make;makeinstall
编译完成后的gource程序大小约5M左右。下面配置视频相关内容
root@cgweb-VirtualBox:/home/cgweb/gource-0.37/x264#./configure
platform:X86_64
system:LINUX
cli:yes
libx264:internal
shared:no
static:no
asm:yes
interlaced:yes
avs:no
lavf:no
ffms:no
gpac:no
gpl:yes
thread:posix
filters:cropselect_every
debug:no
gprof:no
strip:no
PIC:no
visualize:no
bitdepth:8
chromaformat:all

Youcanrun'make'or'makefprofiled'now.

root@cgweb-VirtualBox:/home/cgweb/gource-0.37/x264#checkinstall--pkgname=x264--pkgversion"2:0.`grepX264_BUILDx264.h-m1|cut-d``-f3`.'gitrev-listHEAD|wc-l'+git'gitrev-listHEAD-n1|head-c7'"--backup=no--default
cut:选项需要一个参数--d
请尝试执行“cut--help”来获取更多信息。
-f3:找不到命令

checkinstall1.6.2,Copyright2009FelipeEduardoSanchezDiazDuran
本软件以GNUGPL版权协议颁布

Thepackagedocumentationdirectory./doc-pakdoesnotexist.
ShouldIcreateadefaultsetofpackagedocs?[y]:y

准备软件包的文档……OK

*****************************************
****Debianpackagecreationselected***
*****************************************

***Warning:Thepackageversion"2:0..gitrev-listHEAD|wc-l+gitgitrev-listHEAD-n1|head-c7"isnota
***Warning:debianpolicycompliantone.Pleasespecifyanalternateone

软件包将用下面的值来创建:

0-Maintainer:[root@cgweb-VirtualBox]
1-Summary:[Packagecreatedwithcheckinstall1.6.2]
2-Name:[x264]
3-Version:[0]
4-Release:[1]
5-License:[GPL]
6-Group:[checkinstall]
7-Architecture:[amd64]
8-Sourcelocation:[x264]
9-Alternatesourcelocation:[]
10-Requires:[]
11-Provides:[x264]
12-Conflicts:[]
13-Replaces:[]

输入一个数字来改变它们,或按回车键继续:

Installingwithmakeinstall...

===============================安装结果=================================
install-d/usr/local/bin
installx264/usr/local/bin

===============================安装成功=================================

Copyingdocumentationdirectory...
./
./AUTHORS
./doc/
./doc/regression_test.txt
./doc/standards.txt
./doc/threads.txt
./doc/vui.txt
./doc/ratecontrol.txt
./COPYING

把文件拷贝到临时目录……OK

StrippingELFbinariesandlibraries...OK

压缩man手册页……OK

创建文件列表……OK

创建Debian包……OK

安装Debian包……OK

删除临时文件……OK

删除临时目录……OK

**********************************************************************

Done.Thenewpackagehasbeeninstalledandsavedto

/home/cgweb/gource-0.37/x264/x264_0-1_amd64.deb

Youcanremoveitfromyoursystemanytimeusing:

dpkg-rx264

**********************************************************************

root@cgweb-VirtualBox:/home/cgweb/gource-0.37/x264/ffmpeg#./configure--enable-gpl--enable-version3--enable-nonfree--enable-postproc--enable-pthreads--enable-libmp3lame--enable-libopencore-amrnb--enable-libopencore-amrwb--enable-libtheora--enable-libxvid--enable-x11grab
installprefix/usr/local
sourcepath/home/cgweb/gource-0.37/x264/ffmpeg
Ccompilergcc
ARCHx86(generic)
big-endianno
runtimecpudetectionno
yasmyes
MMXenabledyes
MMX2enabledyes
3DNow!enabledyes
3DNow!extendedenabledyes
SSEenabledyes
SSSE3enabledyes
CMOVenabledyes
CMOVisfastyes
EBXavailableyes
EBPavailableyes
10operandssupportedyes
debugsymbolsyes
stripsymbolsyes
optimizationsyes
staticyes
sharedno
postprocessingsupportyes
newfiltersupportyes
networksupportyes
threadingsupportpthreads
SDLsupportyes
Sunmedialibsupportno
AVISynthenabledno
frei0renabledno
libdc1394supportno
libdiracenabledno
libfaacenabledno
libgsmenabledno
libmp3lameenabledyes
libnutenabledno
libopencore-amrnbsupportyes
libopencore-amrwbsupportyes
libopencvsupportno
libopenjpegenabledno
librtmpenabledno
libschroedingerenabledno
libspeexenabledno
libtheoraenabledyes
libvorbisenabledno
libvpxenabledno
libx264enabledno
libxavsenabledno
libxvidenabledyes
zlibenabledyes
bzlibenabledno

Enableddecoders:
aacdsicinaudiomp3on4
aac_latmdsicinvideomp3on4float
aascdvbsubmpc7
ac3dvdsubmpc8
adpcm_4xmdvvideompeg1video
adpcm_adxdxampeg2video
adpcm_cteac3mpeg4
adpcm_eaeacmvmpegvideo
adpcm_ea_maxis_xaeamadmsmpeg4v1
adpcm_ea_r1eatgqmsmpeg4v2
adpcm_ea_r2eatgvmsmpeg4v3
adpcm_ea_r3eatqimsrle
adpcm_ea_xaseightbpsmsvideo1
adpcm_g722eightsvx_expmszh
adpcm_g726eightsvx_fibnellymoser
adpcm_ima_amvescape124nuv
adpcm_ima_dk3ffv1pam
adpcm_ima_dk4ffvhuffpbm
adpcm_ima_ea_eacsflacpcm_alaw
adpcm_ima_ea_seadflashsvpcm_bluray
adpcm_ima_issflicpcm_dvd
adpcm_ima_qtflvpcm_f32be
adpcm_ima_smjpegfourxmpcm_f32le
adpcm_ima_wavfrapspcm_f64be
adpcm_ima_wsfrwupcm_f64le
adpcm_msgifpcm_lxf
adpcm_sbpro_2gsmpcm_mulaw
adpcm_sbpro_3gsm_mspcm_s16be
adpcm_sbpro_4h261pcm_s16le
adpcm_swfh263pcm_s16le_planar
adpcm_thph263ipcm_s24be
adpcm_xah264pcm_s24daud
adpcm_yamahahuffyuvpcm_s24le
alacidcinpcm_s32be
alsiff_byterun1pcm_s32le
amrnbiff_ilbmpcm_s8
amrwbimcpcm_u16be
amvindeo2pcm_u16le
anmindeo3pcm_u24be
ansiindeo5pcm_u24le
apeinterplay_dpcmpcm_u32be
assinterplay_videopcm_u32le
asv1jpeglspcm_u8
asv2kgv1pcm_zork
atrac1kmvcpcx
atrac3lagarithpgm
auralibopencore_amrnbpgmyuv
aura2libopencore_amrwbpgssub
avslocopictor
bethsoftvidmace3png
bfimace6ppm
binkmdecptx
binkaudio_dctmimicqcelp
binkaudio_rdftmjpegqdm2
bmpmjpegbqdraw
c93mlpqpeg
cavsmmvideoqtrle
cdgraphicsmotionpixelsr10k
cinepakmp1r210
cljrmp1floatra_144
cookmp2ra_288
cscdmp2floatrawvideo
cyuvmp3rl2
dcamp3aduroq
dnxhdmp3adufloatroq_dpcm
dpxmp3floatrpza
rv10tiffvp6
rv20tmvvp6a
rv30truehdvp6f
rv40truemotion1vp8
sgitruemotion2vqa
shortentruespeechwavpack
siprtsccwmapro
smackaudttawmav1
smackertwinvqwmav2
smctxdwmavoice
snowultiwmv1
sol_dpcmv210wmv2
sonicv210xwmv3
sp5xvbwnv1
srtvc1ws_snd1
sunrastvcr1xan_dpcm
svq1vmdaudioxan_wc3
svq3vmdvideoxl
targavmncxsub
theoravorbisyop
thpvp3zlib
tiertexseqvideovp5zmbv

Enabledencoders:
a64multilibmp3lamepcm_u24le
a64multi5libopencore_amrnbpcm_u32be
aaclibtheorapcm_u32le
ac3libxvidpcm_u8
ac3_fixedljpegpcm_zork
adpcm_adxmjpegpcx
adpcm_g722mp2pgm
adpcm_g726mpeg1videopgmyuv
adpcm_ima_qtmpeg2videopng
adpcm_ima_wavmpeg4ppm
adpcm_msmsmpeg4v1qtrle
adpcm_swfmsmpeg4v2ra_144
adpcm_yamahamsmpeg4v3rawvideo
alacnellymoserroq
asspamroq_dpcm
asv1pbmrv10
asv2pcm_alawrv20
bmppcm_f32besgi
dnxhdpcm_f32lesnow
dvbsubpcm_f64besonic
dvdsubpcm_f64lesonic_ls
dvvideopcm_mulawsvq1
ffv1pcm_s16betarga
ffvhuffpcm_s16letiff
flacpcm_s24bev210
flashsvpcm_s24daudvorbis
flvpcm_s24lewmav1
gifpcm_s32bewmav2
h261pcm_s32lewmv1
h263pcm_s8wmv2
h263ppcm_u16bexsub
huffyuvpcm_u16lezlib
jpeglspcm_u24bezmbv

Enabledhwaccels:

Enabledparsers:
aacdvdsubmpeg4video
aac_latmflacmpegaudio
ac3h261mpegvideo
cavsvideoh263pnm
dcah264vc1
diracmjpegvp3
dnxhdmlpvp8
dvbsub

Enableddemuxers:
aacipmoviepcm_u32be
ac3isspcm_u32le
aeaiv8pcm_u8
aiffivfpva
amrlmlm4qcp
anmlxfr3d
apcm4vrawvideo
apematroskarl2
applehttpmjpegrm
asfmlproq
assmmrpl
aummfrso
avimovrtp
avsmp3rtsp
bethsoftvidmpcsap
bfimpc8sdp
binkmpegpssegafilm
c93mpegtsshorten
cafmpegtsrawsiff
cavsvideompegvideosmacker
cdgmsnwc_tcpsol
daudmtvsox
diracmvispdif
dnxhdmxfsrt
dsicinmxgstr
dtsncswf
dvnsvthp
dxanuttiertexseq
eanuvtmv
ea_cdataoggtruehd
eac3omatta
ffmpcm_alawtty
ffmetadatapcm_f32betxd
filmstrippcm_f32levc1
flacpcm_f64bevc1t
flicpcm_f64levmd
flvpcm_mulawvoc
fourxmpcm_s16bevqf
g722pcm_s16lew64
gsmpcm_s24bewav
gxfpcm_s24lewc3
h261pcm_s32bewsaud
h263pcm_s32lewsvqa
h264pcm_s8wtv
idcinpcm_u16bewv
iffpcm_u16lexa
image2pcm_u24beyop
image2pipepcm_u24leyuv4mpegpipe
ingenient

Enabledmuxers:
a64ipodpcm_s16le
ac3m4vpcm_s24be
adtsmatroskapcm_s24le
aiffmatroska_audiopcm_s32be
amrmd5pcm_s32le
asfmjpegpcm_s8
asf_streammlppcm_u16be
assmmfpcm_u16le
aumovpcm_u24be
avimp2pcm_u24le
avm2mp3pcm_u32be
cavsvideomp4pcm_u32le
crcmpeg1systempcm_u8
daudmpeg1vcdpsp
diracmpeg1videorawvideo
dnxhdmpeg2dvdrm
dtsmpeg2svcdroq
dvmpeg2videorso
eac3mpeg2vobrtp
ffmmpegtsrtsp
ffmetadatampjpegsap
filmstripmxfsox
flacmxf_d10spdif
flvnullsrt
framecrcnutswf
framemd5oggtg2
g722pcm_alawtgp
gifpcm_f32betruehd
gxfpcm_f32levc1t
h261pcm_f64bevoc
h263pcm_f64lewav
h264pcm_mulawwebm
image2pcm_s16beyuv4mpegpipe
image2pipe

Enabledprotocols:
concatmmstrtmpt
filepipertmpte
gopherrtmprtp
httprtmpetcp
md5rtmpsudp
mmsh

Enabledfilters:
anullformatscale
anullsinkgradfunsetdar
anullsrchflipsetpts
blackframehqdn3dsetsar
buffernoformatsettb
colornullslicify
copynullsinktranspose
cropnullsrcunsharp
cropdetectoverlayvflip
drawboxpadyadif
fifopixdesctest

Enabledbsfs:
aac_adtstoascmjpeg2jpegmp3_header_decompress
chompmjpega_dump_headernoise
dump_extradatamov2textsubremove_extradata
h264_mp4toannexbmp3_header_compresstext2movsub
imx_dump_header

Enabledindevs:
alsaossv4l2
dv1394v4lx11_grab_device

Enabledoutdevs:
alsaoss

License:nonfreeandunredistributable
Creatingconfig.makandconfig.h...

本文出自 “李晨光原创技术博客” 博客,请务必保留此出处http://chenguang.blog.51cto.com/350944/774539

版权声明:本文为博主原创文章,未经博主允许不得转载。

具有可视化的功能的一款开源软件Gource相关推荐

  1. 如何快速上手一款开源软件

    最近一篇比较火的文章中提到,techcrunch上有一篇文章,列举了当前最火的开源软件列表 https://techcrunch.com/2017/04/07/tracking-the-explosi ...

  2. 2016年开源软件排名TOP50,最受IT公司欢迎的50款开源软件

    2016年开源软件排名TOP50,最受IT公司欢迎的50款开源软件 过去十年间,许多科技公司已开始畅怀拥抱开源.许多公司使用开源工具来运行自己的 IT 基础设施和网站,一些提供与开源工具相关的产品和服 ...

  3. 3款开源软件帮你缩短链接

    导读 没有人喜欢一个非常长的 URL.它们很难解析.但有时候,站点的深层目录结构还有最后加上的大量参数使得 URL 开始变得冗长.在 Twitter 添加自己的链接缩短服务之前的那些日子里,一个长的 ...

  4. 最受程序员欢迎的30款开源软件,个个都很能打,值得拥有!

    作者:IT程序猿的科技营 链接:toutiao.com/i6837606893884539399 所谓开源,就是把软件的源代码开放出来,大家都能看到源代码,大家可以一起研究源代码并对软件进行功能扩展和 ...

  5. 玩转Windows下40款开源软件 (转)

    玩转Windows下40款开源软件   <script src="http://blog.csdn.net/count.aspx?ID=1789004&Type=Rank&qu ...

  6. 玩转Windows下40款开源软件

    这是国外较有影响的网站于2007年9月8日发布的新文章,算是windows下20款开源软件的续篇.发出不久,digg数已上千.xbeta进行简译,以便于国内用户在免费软件方面有更多选择. 信息安全 这 ...

  7. 开源公司黄页 关于/ 阿里巴巴的50款开源软件[大部分为Java语言]

    服务框架 Dubbo Dubbo 是阿里巴巴公司开源的一个高性能优秀的服务框架,使得应用可通过高性能的 RPC 实现服务的输出和输入功能,可以和 Spring框架无缝集成. 主要核心部件: Remot ...

  8. 最受 IT 公司欢迎的 30 款开源软件

    来源: http://www.360doc.com/content/20/0613/14/49290572_918245894.shtml 所谓开源,就是把软件的源代码开放出来,大家都能看到源代码,大 ...

  9. 最受IT公司欢迎的50款开源软件

    过去十年间,许多科技公司已开始畅怀拥抱开源.许多公司使用开源工具来运行自己的 IT 基础设施和网站,一些提供与开源工具相关的产品和服务,或基于开源工具而建的产品和服务,还有一些在为开源代码贡献代码或支 ...

最新文章

  1. 高防服务器究竟能防御哪些攻击?
  2. 这份深度学习课程笔记获吴恩达点赞
  3. 多少血的教训,才能换来对自动驾驶的严格限定、真实了解和正确使用?
  4. 从小白到精通python要多久-超适合小白的python新手教程
  5. 理解ROS服务和参数---ROS学习第6篇
  6. 【DIY】最简单粗暴便宜的DIY定时器方法,没有之一
  7. buuoj-crypto 2
  8. 简单好用的计算器:bc
  9. node 安装 webpack
  10. BZOJ3495 PA2010 Riddle 【2-sat】
  11. win7 更改IP 脚本(自动获取和手动设置多个IP),将里面内容拷贝到记事本另存为set_win7_IP.bat
  12. HYSPLIT模式简介及使用
  13. 常用的20个js简洁代码
  14. 视频倍速播放方法(有效!)
  15. 【Spring Security OAuth2笔记系列】- spring security - 图片验证码
  16. 计算机实验室之树莓派
  17. 19 | 防火墙:如何和黑客“划清界限”?
  18. win10默认浏览器中找不到谷歌浏览器最快速的解决办法
  19. 三、docker镜像创建
  20. android自动拨号 代码,在Android上,是否有一种方法可以强行自动自动拨号?_android_开发99编程知识库...

热门文章

  1. 速算24点java_HDU-1427-速算24点
  2. Android | navigation入门详解
  3. 如何关闭Mysql后台运行
  4. 互联网时代网赚项目分析
  5. Tensorflow White Paper(一)
  6. 华为又一黑科技:AR高精地图服务即将上线
  7. 服务器部署_打包前后端代码
  8. JS中将对象转化为数组
  9. 【JavaScript】MDN 阅读笔记
  10. Http跨站点请求伪造解决方案