具有可视化的功能的一款开源软件Gource

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

具有可视化的功能的一款开源软件Gource_第1张图片

在这里可以下载到博主制作的屏幕录像: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

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

你可能感兴趣的:(开源软件)