sysinfo-0.7/artwork/fedora_logo.png0000664000076400007640000001024310373347544016767 0ustar ghaefbghaefbPNG  IHDRdP bKGDC pHYs  tIME 5&mktEXtCommentCreated with GIMPW IDATx]ixE~Oם:{B@D6Deq}TpAQm\uQt.xyDg\g@l,a d'{'U BwWHUS:!B!B!=,b}"w Wa /= \LtO!~9߅a::-8DHp5♜|iR"3c&%_ǸVa/$)f7"X+X}e8GgʶP_!Bq/5hw@K Z^`0X9!lkl=E֯|"v|)?,=gm.E~Ma wI\xݟ_? H2=zܰNwy~r7 uDsi`<f:53{` PlyPZUK DSs4's| yUJK)S$zޘ7A:KYaIBž1;$C$tz(Ʈej]Ʋ\},Q+2=TQsώ_]>P"ûA AW P+Hn+VZc|ky)`hix4n_y$[c?O z-B)a?H|V ",]hۥTZ%@ܹe0}d Is\9PoB3+{;gi4|ܦ}}*`rz/n.kzJrˆ@ؓVeIfoR0za횐+˅QmrV+h@%T@$PvMtAZ؇Hmi2{ߎc~$'LcX&d9{$ d>+m hׄѱ`NFۢ5A7*;׾Yvj؛.V,g3kB0Jx:%hBn VGUTGLcXԙ$(ClkH;`34`P[ )QfJbHZRgWՠ1Y3 YT` D9zzt:e8 DQX$um쎦ziUk !Ff- HIBʌRO`V%!7οALXf׸A›|RT`k73n q92/f׶ZaV&{̌BQ_ dd]# #@xXB_!rSW`S.:(Hge%ŠH}4nGL7 dk*0˜!짏Cr$ЌJŹèvj!g*䱡pP_ T 0 gT}o0'~O1]@ncgcd{|Py^jJX[WZ!$ҮmA'#"ѫ'P]o優Z$%k?)oV`ؠ-&8~N-׾N0kn 5g #\p5>_.P]Tl(Ft(BHS|WR|FUCBzCSб\b}f{`R* }Z]"rVT Wz>X =Gm-H2Nd_N[yKAN rKB'%Cms/DgRB0^'_ <(:{mNKa"4LL֎۠9buҧ8:I1tʩo3w/,p R2IF 8/.^c}sg$UMi][ak_6~dĝU\F]%p0L)|pI_xY3@ l6=o7y0 v6́5@Я3>=9||Z0L75 LA{A@]W|"<eY  к<!G-uZɨ'+sb^F{,emCqNITRy`1>ȘH%XXt;_H!B!B!B! ҟʒ~IENDB`sysinfo-0.7/artwork/sysinfo_system.png0000664000076400007640000000167710400605313017576 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oy_IDATHǵMh\UI38IkkHZDܺ)&;W b%).5EE]Qºp(.+b%`hj$Ѧљ7o&3xo^$vlw?λpMs?d˜?ɪڗo۱Dxsǟf[J>l;^oNY`&r͝9+Wn 0;~ATEqEC̅@Rn}mݓN`L@(Bb\HV:t/~nHوuaAQV¯lmX^D$v`N`I&r6JVR@K4-1 P"AUHk r nRb#GZiw#X)q~[ B!\5PC B@(ըP#cm{ ^0HWks[]wξTnhpo\8>|8; % *劻s.<`rX5ì^p^]~8(͍M]03xp0x}kb|ժA 4 .p+kc"rZq*"'^}ԏ1/ev#F*:L&OμK{|2_`p&**ccc mWub`аfg&=/#dDz F::~byealḋZ tNLMS}\ˑƿe-2U|69ǟoENxE'.D%#Ҟڱi&P@ }7~be~z{uIENDB`sysinfo-0.7/artwork/sysinfo_logo.png0000664000076400007640000002524110404252507017212 0ustar ghaefbghaefbPNG  IHDR>abKGD pHYs B(xtIME tpx IDATx}yy5XHQ DQ,J"vQSrT)GvYG,S(v%KhA$^؝3s.v({֮kZ~JͿ;'/j!Burx׆ˌ?g?{-DW_MGo~[ݟJ?JD01 CV-'|dz(ޛssԮhgQ=|>5&fΝ}>ѓsowEU$Ӵ6n<"σ|٭}UUq#]*zJ Iѓ* 0>1Eô̎ydmNHjNڂD-T?dY*Ikʕzeħ aď&,AxjAoj!IhL_<77-$ ϯ@&F_J,uLZ^: ~_bpG|A"ʲD9^JT%>uj ~:) H&[nݡZ;P.{$e܀i{y8t2IHܶOA-<n")>Ⱜ^x A`ҩJRM PK'(L0m!ȧ(_; i~m{tW'BQ(dlp KdD& K$szB?wT I5]1!L/:$ɪ1E&a=WB$qXӴ ɅX<>@DiWJ"B`@dYz#Ҥx)IdiݿlalU*d2ѻ^$IiA/MHC%A?񄎺Vpc= xWD58˃*1 $s!BPo;0Ӹ]kmoMn ;|k|ny{xM;A~) 9hEG` ÷%XG*ՇX"&3 ԛP#KkEί/L"4\3΍z"Gasy6$1 ł?LL+xbU(pj%'m!ҙn 'L#l{"?(ß݌pAUU@d!7##.U -0DD"^~U̡(3L ;J=4t(In^܄Ac*Ξ99A dKdMU}s@Z/uòb17 a_nsEt>cKjUGXFPe  _2R>4-$Vae X4 ,Tk4ݹvZp4c>^.WϗP(P(T`?I`f.p!܌$IS^@'L/nFxmm495X꿻-@MgG B kkryU.V2XjVS4;Nv>@Q\_ B>/ $IR^S5 W$jX~U WA{":J70niae%+W,vX,Pr+)bue D}>$q$I(0PD_bѕivƭ]l ڰ)@ e,-b}T60 +׳\RBV49Ȗ8 K RI$4ͫ im[JD^A(^_7 Qc MOh /cyyatNw:PoD* *A.ȲB{  cH |4vlɠ5 u[yF$c>")`IًP4a PU?~/L>o._0,Ήھ%%$I`}O#N<Hp-REQjX0EC-@;*wg!HA_X\\uR:zhh 92%T'FDgzJh@{H*emgE8kQ"ZB>_ZD Ftz{._hG+pAN[Xg$@h"%~łU" 9ֱآQRH-VW Pn|k,;p_$[[*$W8FZגy  JWBAͺ~f|a(̦wjU}[㾙-<7Эz%@vk0Z <|'Ӵp:,"zmWJ V.$8n( ż` @ Řa(Ukr0&mA=#͞&Hc kippW@@ B w*/d5&P#AጱP$Q2` z@RSG~ AETFwnvvm(M K2EeY!~1P XzU  @JuN$ T*ސYk / (̙{k4T Jڰ򅽛 w|@LJ"]کbk4OosO\&TN&Mx)6kTsBTaXm˷F&l;P`r-,P phBЬ!88-B\mnV`Mc PG|Jp HN@4U6 &dI8":|U}wXڗsjUiZ!b{uC@MWz WFX2 p}%{ 7 ìZn휰1"U  Sජ]l$+> [ J:AZ5Q*U|uzK$r-uɖwKw {gx*— wpǵmD |^w,;†rðj!ŭ[eaDf y*-vdY f@ !b 쉔mjfzԒ0rF$k 0> P*{y( g;ɞtтi[iwcܺ5mPUߌawmw dQ[etbzCI@!a@C6 ̚^eOxGmvj||gȮicԿp]Yk^gV/f@2^֍|T խT+ JW#71UU$6^&P~3W[7ְAr о&X2x IRZa& +66[ەaDvTsBl!zq@aVuqP(zj1{O _-/{plI@hKB:bX`q?|CEw.n&X412jM9;sQnX4&ETEub*آpǁXL e@dNqk/몀@B(t\Rd*HP7A]hv9Xkl׽ˮpў7#6ԧDj5y3K sVJJ/-&X4GP*-*-ȲLq"7Q,r\۲wr7ՉijxBxɢ;=\MG욱6:^S߆v5lb2ehyL&k46[ D\*fӥ:OF-ܴ wc=C9xGT^ǽi_ؾaCi9/ PU s 0ɫ4uħS 8[Ş-l%e]8oӐMSqص{L?5aGD"0_pF`Tt 8D{ ^z1@PDvh;6(7%C@k*yqW[#ˊ#],T·jj\OLػO5F}OM]@b1ovglFs =y%IB.%"-@er9d$ ^";Dt-EƭƠs$ RmEi3bϞ`al8C#N(l>Ww~ >^c=E_ .;z4vVPEĥ j*H&FsX>Gx\׿G eYei"J>7ҋ/#fx?^gp_DC0@EeU5N0]/ ~O]Ql퓈(Rz /\w*///VE?O!* 2V0-O0Ttow_q/:\l3k;鴦iڹSn Pj86iK7﷐Hkp7`FGG122!1808}СfggrA8^6r~y7I!AQ{^k["k $8אH$,ERibn;6RTvÇ߫KҥT*~ [ ~}oV4޳}}I  !CTC nXLdZձ wGU!]511A(J Y*%]_ 8>gO:sn:*݋7M$͖ߊi$Kq2n@7 fK&Q.aVM꛰r٫wie^4$IT*eXBTbBuP&ձ1LOO@˲LT*eRǎK# jeag>3o x-B ԟ9R!;t"!ٗ  az4TEARATe6ş@v ߒrE!bdyWj`3I0Arf4$b* "f/\BT$8+c( سgu 7d2h,ɰd2٠T*VT*(JJb`JisDɓ'O1wԄ𭀡Po;w~@$ @<1͂PVQ.WmTH -/bHuCE,0(H&H$b,1isssB@Qz `|j5zԱc۷̓E 4M3SL&cDDx<AuJ%EQ,bQ`IC!?!4ͧ?O[-rwD|/@6 t&a0cr jzUQm)PY|K50$~,2D1MC<A${ 8|xclvW*+eTU$ H$bTJC2 RX,"\δ,K$9x| Z:j51؂O~Wm+Drё޻_zccc1CHh^2EďI`C7# x[^yTUWS?xA|c_+rcVY"Wf~7| b}Nءgl|݌1L?fvD"n"]e2@BU(\sL79,nR`=*7ȑ$Ο;Nn;릙?g/̞#n;oj+#L2{c81??o0ƞ,N8VxJbo{hhhu{0;p32e1>6dʞrDM\c @!_ً a 3Oy0r}[ݣ>z#C cltxxX8x񢹰 !>pĉom?b!]3rY- eYeYi\ᜫsIBE*PH%"s@dR3$%& J`Z,nWH l=l}9 X܂+X][eU=dFn-vn9U7b&X7%IҝMI,ILYMY-EQLEQLXiyyyqvv6.*}K_:'#bff&Ű3gTcG?!IDD?KDOB*xR_wGyd${Ն‚]>яWw?ODP⊭ J|19npĉ'NΝ+0Y1 "IDATallLJb׺Be n-CiM9 4uq^\S}}q nq8{U[ƾo}[籁q_'_z\.gϞ{u B EDΣxoN~(ucQYx.!5y醃OB1v?9y|{GR)L&AD]'\κAB/nzeZܰg fvbt(./@ jV]rab;L+<JωS;'"4187p V_|7wqvaj?$ݴΞ=Z T寧dUU177gzW(H[o0?t.?myiJ.]qF<7B}ٳ=l|e7{"={hl}}nUϻo ,^^jDO~_/mqqYB UӘZ<|p;L~\q4MӰ3gT9pɳ#H}0{ O=`ey5)\["w^si{Q<Yߴk׮.\xɿHx<.s=C aqv/?9VW/%R}x,V[VT)\x}###y&i9N#LBQUQ5Z]]-[ň8O:-w}i^4VV첬kՕ\ 011RA摒֮ߟq'*&&&e,4M,//RR9}'7񍯿 % h dDۏkį5윙N || >>ABC*0 |xW}h | vgŸ dכWg`95(ۀ> K5?c)B#n6Dzk3Y?jD$i`)`~( u,U  @. _amN#n֠AeA <&ml+H,!CUJ mޣiWAI?0`CT9M P( d,{HUqZp8}`L5q{5&|*S`_t‰)&c2Hdu}d\rFF@I"2Pl7Zf>;0;FK+ՠ' /\iBgh:wd+p]uҠ aA+yJh1@|; dCd[| W&d@O qam{Q6 ͆c>΁zT!/nsB]CtPcz@Lz]G{[C\a;;*S.3MWS6K`tXFiz;rdwµ`Xe/4w  * ^GS8NnakМN=Ll YiI L%XKW`fv+ 6HǺr(MauƂe?!X- I ;懀} Xx!+xABa-w TL2d!sie%pj^qmsDL[fepBxJA P,~ i=Z{6h D%XT{|"pP n nWUߏHƳK' ViOI=t % !wCԎPׁ+TekQR UӉec]MȢ+G zx M vBb35A ]&-`#xz+S{_Wwey )Ԩ ``} TS7?r20Kܫ`'eZkd͑is?'B#smFBy)`U|FvLL`m׸*Ǡ"WR ,z0@M #:*ǧzQEk" zY^!5`?-h{4յl f̘qɓ|&oZǏXvf[w+x7. urssVTT x<HJKK늊RU0Y+p#$):goB42FӧOo Yf]/ p@'{: Pv?ׄ p`H^,jjj_{eR›qk\?QSX4&Bp*=niٛ099ZTmhhpeffYWZU1k,rrr\p)?\>7 "0 Fz߮ާW4 +J&+ax*::چEEEJJJaf jkLtzSXXbTrQ0ǂ5Zp@z 8Q1.EOӪ4@~{t=(ܹRUUU>6 h΂PX 0OX$-ھ+ ӄuvꏸb*;Q.Θ1㤎uuuGCD |O썤mEEť3Π Eo7+1~NN3w~x̘1qmiii]xɝ;wNZL0Deee^D￰e˖nz4+++uSꪋiii-"[[[3ߟYYYi{VZZ-vkRjxVVVҥKGmذP(PJ ̙3(qV^fUU:A,v٨[p]z4A| ݗt5;@#'ϩ YԿ(-o&rP՝}ˏhջᄏ#tY?~xNTOӋ;z7Ξ|999x˖-he@ˆ  Αj.!k .|زP"yV\Y'j|VVViV$1F'T$ClD֋7oSOy+ Oy*l<@߱OPP^^'Ofsxٿ>7uttP(fYײT۶`ܲe˻q/LСdC»>Iʲ̙3w2O8]W_}7|xÉaR,..~&ٴi^8t3##ܺuNW8'33r󌳾Owy֏Ddff={kwѝ#F)t.Zd % ɰ̙s=;r; />QdضZre4ppѢEmJG1DH-..^Q[[{"YuCD?ZJ)k۶m:tT0{WAAnƍ*Ռ?s^ׯ_|SSS]E`G5{q Z!eȑ z뭷,jM4 [Yϗ]^Ǩ >o߾=ߴiyyysP؟`رc}+gy饗~9uԹ9UĈI&_v3eeeZ]=,__b?bOJ2d֚^w܊+n˛?fĉ#^e!"⽬RJ۶mڶm>uTݻxСS%%%$Es2@ GzӦM-]6anooo|gwiB~Rg 1A+{yu#IENDB`sysinfo-0.7/artwork/sysinfo_storage.png0000664000076400007640000000116410373347544017727 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oyIDATHMkAv36KؘT֐ZC~(Y| ză~("lIKB6&MK$mc0?/3 \aR-?v//Fc< {R^xDژmu]:Ak'\ץR-oMXd6Rʹn  q vݽOE `nr#iWV_G\&jy˲qRԅD0ʠp-}H)4mnb)%atM7oal2G `pDWV?@L&mۢjM8΃8#rQi Y(,,OgK4SRs\׍ƸQ*4M`^B4,BeYضij<.0躎R MaHC)E,;3i0Q 9CVSlVuntL&}PZIENDB`sysinfo-0.7/artwork/square_butter.png0000664000076400007640000000027210403101631017350 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME.1/tEXtCommentCreated with GIMPW"IDAT8c|{?8jਁC@RlIENDB`sysinfo-0.7/artwork/square_chokolate.png0000664000076400007640000000027210403101664020022 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME/zq/tEXtCommentCreated with GIMPW"IDAT8c҉j!6PhaQ0Nv=CvQc0`n" o*%#\ \D>{ԡ"t/FPiELY\=Fo4!o *LL#u(@cMH,#8: Ỡ| |ZP=//z9R!Q2a0 | &njIȢ(fk ۀ ([>Gd'n B頷FYF.AH,3 kAjQ݃q{BG\,oGWgp6!K#4n°RrYC餡φqc=vxɺKH½q(@ǘdu֗rǁX)+D LBR (:2\qX@ZPqll\m y餒L=p#$:EDi7^RP)h)Ħ&UQ%Eu#B.;q3E1"#8ÈV_ga|SA:Vۢ"~JYw!܋E%4D VQaLL@uinbgirįu?~84RCCn[OGtP_\ B.PGkٯU+2d/@[_W%xx~`ix|tI4*!!BQ~խx",+,* @'U[= R.B9(Kq7< 쬠$wCp$)pJ8I>@5?,m[UD5kSACOreC4E4Sf9d$(⠖f7wcxȦg#ZE}wgzɍj(Gե$ܲK |C<]Hà:"|+e0ϼD,3,At PQ`1[3PV=˫5 ϙۀGY~#:\m_ CFT3[8#oXF.UގYC:ֿa=\(_u)mO/ZB(/~)(d'NSrڳ *#CQj}TAĐ$ܛs=3I/HO/I+hYG1 賨 3/GH)YJXFNdv=hm'-ܿPxEILIk@FI!L?ctPiN'[r pp"L ]{9'x[Sܓ!NOBe*}s({8+-A Nt=Gx 4졫e Ʃ"{ 3Q өJ=TKUSQl7]uMA/:X8Ƶ) Dsd33!B4tvS_pԔiug$,{Nn[xIbҎ"" s-rNNeudDU%}u,<AZbRDs_XR!7roⷐLBQꀗlrG@"B,J_JC)`9S`Mn*F`JIOQ艈ei/f_W홛UV -^W6 Ƭlq@)F&&dꞯ'`Qv0Ƥ@asJxn +O?wm2b&]S~8+1ZŖF#&Dʠy47-c{_)ȗEʽ[\aGذ88̳8tx>%/<ʡ+Cȣ<3(dv [֮_Υ9 B"CB3"RxI J <>Vvua45وBQC*1q Y.H}\#pNn3m;$䱝\X ENZ 8BP.[֬XkgJj/"Zhkq΀ř:FiXP+"짰~Q#)rAY7F';Q:j#vx57egxŊ`@(@Fz"]1;s`&2%K6sɆcc8w^zq^eKX1it R=Y*u'B&|jxcP? sE:OzoCढXf}!b 4sOh$3[hw aXd5\b-0\獳n qONuisb2֟"C*:F?mvN̮s2|xl6m4 %ٸi+WL0ZpJ^l:X+81my6!I$0I1Nv)*!7)"ڵQ'IN:8+ҹĺCݮiT+=#u[(͝7kn(Юҥ\2TeaH0OO*9t3 XQ4SFXˆJ' qGA@E[0:L!YmlB!顭"TGyÍKn>o[GN)b^RPce K W5cK| E*mSϰؐhA9tߞ%%Ƥb 8 Y,\5}ɦB8zH1TM(\]i7j?'bP ` IC"Xb<żaD@,€<~C'ǎ(rXfyBIGEq`3R H(18!EE( br/{wY}lOe}7ʷu`|qЯ2y䱃 j f#UbY4ZΨe_s$:KkL۩~n~?:}B/5L/ [}M?<9OCb-Kè\qgtdU08Xbx11Q.KX9YTHeZI`ش8E8qe1>*XjMQ1ukj XGq/&, ͣdס>wO-inK^L$3 g>ZX0g)#I8J)28= UkA!P'ZK+?d!;[ccM+6.>u:DNTc(e s ! }i7Ra( JBcGE{k.W`Er9/k=_\5/<_[a R| \Fj*8\(fvmt4OR.tAGOpɆm쒗sF#Oy_;tK8?UdϕCyfE9h"= B(AJM#?#Or `%Y3|_e 焐^v˾ʬ\>RD[Cnm5~s ;OE8A!8#ӬXQu;sTm߿o)'uBv<;ܿqjDyhøeC`+y__{άFT %vWGu|gXRa4G$`b0wMq {7X^{E\z?,dt/"<'eX= c|GFB0xAkcG,۾wN0<=N{׍C&&F>iEu55^8պore:TR L7υV€pR.o9504<5R. 5-wH@APnS0sFѡHm3| 6fzN tbgKg?48p )Owsd囮$ Lˡ}<)}uToGI*\ ϯyTK.۷E Ƒ `tLDt:m|% }kmrr.} lݷ7+,G(nIvHB`l:sDQc |\/p7or"I_U8PEf*OX<(Fy0;\_[˲Jzw NOMOcF Loa A?}x BT&@e00<9 swqw7p9-NI3lf_0T T0`L(T* )BULT(2 TPF@3 QHvuBntSiv|(#`@F88pCBe >c#P'z#?.VJ= e>&91ЈW U0_nj,]"+# 0uL& !J ?)cPA Jt-Je{idE/xәRo~~B'ѨED)A!5M@t$ ?*_Kq$ k'įu#GnDGEuKvrG,+!-M-( LA5SMeIqq8eH k_&BJA'ѐ>YOnC@zztZ-DIA 9/>,?=P; ֆzNs& |<-:٦DZ&kHB-`ptl0?^qW둞 h-;6iww$L<۱GgCCEEEcgϞ}]Tt\2(1 qzP &^`8NQ9tViփ|m4dV{eww::&{=-^֒C*.vMkOd"&}.Xomqo&u(kϟ)aFOGo#sޚQ_o~!N1(*zidJ__ߦo "fM7/G^^~WCC^}u{7wuuًf 34?FRs]n7n/(S#-=Y<2y*SmHOӯ~q65%en[?z[3` htC#A(~rjȿAA^4Y,ȟ0wk;v>?l{L&kͪsDY\7/ O?鱗<$˲Ą c3Cj.dDJEw?z޻8ZmE&L2vN2F(T 8)K"+ueMw @NǏZV;#,+on{O?g;{[[lƠ (Ts76:E%).>3(jJthKّf½o_NsĖ'퉝 RAAQd/;(}-3=3^:]2 E/pFFcǎr, :tں A?a_i c 3f!333O? /P3F4MlL پK^=suي5f%YD׎&7PKs_# _Nȝ':a%ß6aP).{e&޽{GFFTCQd(ZU(g3232Ȳ6v豿<쳟|vVQ'B*dJ!hHTd?6ô͛7>:YD Szx())}9 [1mB%wP^"B.k1tWj*;ei,+eMMp~{~/++;a升,˨ &iKRh@a2uTEhvz<)9xJԥWSxIem;[ZZv-3O}MiΚpdAȗd}0 Y I:8&55nPU{??׋?hEk&LpnFDeTL%0.6mIIT=> #ZdYnM飿Ͻ~^\QPPuZ4u'A7(%\ލ/?*˲ͻbQSStnM wb8 ӦMVQQI{99[VGEFU:},Z2mLzD݁]?0;`^lm9rEkK uλxczT<m<ۿ7mzg |*t!2]AK-SvY !@r***8QnUyg@wwwSvvvzFFFzSSVuԩSW->+hIz:d(V gJi,7ySO#~ui"(L(chq| Mu?/?sfkggg'J=nﱘI;#e 4Www| 掉[YUIDчƘ䤬e~sߎ76000Pa6gee%y\nrpٹ" 7 P8:"7nT+/S|[ S)1.s ((?ƣ:O彣KOtEPUl)--9$775~t jP(4UT,(RO:///3))).է'''g._~/Z6j(SQQQzdD`Z𰨤:Lo{Bn={L2[՝oþ^:x㚐Q6m<( I25BT 4L(;ӎ;~]UUU  c3;ti;Uc$ ʞǻ.3٦c,XI=c޽fCHH[t{8jŊWillPd2z=Q.+⊘V+C BKAohć_۾p Fpߍ7Fr%qs\{ֿ\ٟŋ)!!ƖR'"r];m]]߹k4psemr*@u]APxK?YSS8Z^^Xz/J뿛TǮBYQD.muz %%XΘpʤI|>19̬$$$vǕgbLf``iuAkB!!Ԩ~U!VkIIIɱ[qՕeGpF2j1_9dT RE?"AKꅯ#!>Edɒo=θ = DFÖ-[feHCpP0>#tw׷tvv33• Yaxc3Dy^KF? bw2x>- V>o޼+]476`v 70q5@2C4ѣIi!a8C0F,GKPQ.9HBpP󹾻S&dhF bJIIL7Zm`W82 &<2eR &ËH9"2X@߱  ][k?W"NExcƾfA0/v 'kz4?/L/BԀM"d#)HZu㕋4Ju(`XtqQi f0;/s@#;;P\"E F%s hd>?fth+h_::rq<UAQ(dI(ɐ$D*(c~T0*P?Ig4Ij1vS"p4KG@2x ρ#8p8v@=wξ@Xݏ78|d T'GGBDY{)K.^ s@DF0`#G~7<}쑇mg"Ǝ2SFݶj SL%w28Zql|!%%Eo;(:N׫AfϞd1(yDEE=oýwK'%8'OyY,LъmmMn~sby%LCL!DU/~dz|߽R񣏇wTz鵷j{J$+ZvcELJJg}$v뭷ޱm6O^o2S}*u:͛>6[QƘ<1}~(nj)"7>**R˭Tt3<ëWfx|f1]?|Q% Ϟ=fܹA>w;O.B~hc$IۖwtuQ BM<ÇB)`hhhnϊ*M7GEQ1%%'I==9NZ,Q,QGjj*Mj6`jh+" ڊ $' +;S1 svLPhUgHnXVX8Mav;v{51.!!#GKFBL! l(tuo}S+++@R&ju13v9rO(ի֘N޾ޛyRB?+",_~+djcj 1b9bojݖ.h4ږ^˦%%ғOn`>|=z!*L&Sֶ ɵuJ F\S[Vop$:&ڣuN_YUf^^ެBoq8::;8CPP*okjkZ]k#""::',9_ɀ|Q]>mvch}]=;s 7GdWwW̒%NzdԀݞElݺu7g2LZ.'.ntXYYY`RP0%'<`Z5&&$ RJGl|WO "W/^R77g OGĒwDH1ywܾY,#|@掷D7EQѣG}%2> -&& aW[0}'=-*ϧʪٺu{ߒ f S_ޣ+濱 @jx,..nwtgeelLHp V(r111! t:-r ,22W_+YT9ƸxTTV"==Y,7o~5!!aeG7:^j˖f?=Immp7I^ڬ,r^kiik?5Qz>(``>DNc]["Y}eFQLTSdN>/;w%IZ766gee."dM~я}Z`*4Z]]~1hvzoe.))fKkk[?.|\^^b XѢફ$'HpY[,h)p8ttt\ઠ! ǬYs0n$%'y+++hmii7wwtvh!JS{}7`sElomm̬lL`%88X(hyݽmJpذ!%c ^'DvjhDQ A4ÝkiA!TTj]z>=v Tל;f̬ƹZEEEs`luoo/Չ̬ fo~xђ %9Yiox޽OINlhmm]6ki}}3gΜ=\\a'J)§ =&`T:,!y2 BOS0YQ>h$/oœں9sfk5⒫+-Bss3׷&66V !3r{f˲H՞wlz_{{f̘\ԔԜ}sQ'(% gCqBɴh4犋sȑ>|z|#ZbavB?9V+/?Loll| ?0L8<`${CC=ٵ{giԆm([ s(` \ 9OPg'JNSRRXbb»RehAQ@e%sikog6|G6mڴƍ>?8f7_{#;`=iJh螞(c(((@{{[w$&6Vv]kmk^. o^;RfK.))i^p'&Z[^w'ƘR #rrƐn&MM,+l)?ȘS(=clbCC>#E|[nNSAQZ}Q,R\|dĎDEzcI&ٵkW#~hljƍ{`Rϋ[{SRӻQ8;tܟ!\bR⢎ΎQ9Y8_VvJ}yٝ3 !x@‹/>93𴴴l2e:w\8ךmă&ȈqL ۝bŭΟ0p+n-{9<UgMM;Ey1""KϾ#G=QR2pt:{Ǐ?PZz28qƠĕ+V>f/~; @222ӦNa_p8~xm^sRIukKث^6VHP aEJ~A>СWkHN:E^xf„<:&7R}k֬K֋ iϞ=Go񦺜19oرsPW]kk:9,wza!:u"+r2HOO< 1k,%P ,"22cU4bߟņ:ᨪ\O>66mؠPʈ$K}>_FE.*_IDAT[Ǐ'($\t @lL4*R㏃1FU-jinvh$IrL2n_^ٿrg""#"Ξ=yp;IA?Uoܸ7x& |os8[$Q|چ#n'"##JȲL)14Lp]ԟ74l񄣔ZQ8ӻwj8X;,;oO?ĖG"^K; BGDy\. 44Tzk|~vEDD;].JyN{t\$(;^*aI` , "@Ġ_pmM@ 8  49&x0c 4Ir G*C ȌZՋd *2D!|0+&#C"1 H4rN !#LͰaC{u#F0`#F0`7rM洎IENDB`sysinfo-0.7/artwork/sysinfo_nvidia.png0000664000076400007640000000250410445037721017525 0ustar ghaefbghaefbPNG  IHDRw=bKGD pHYs  tIME-5+CtEXtCommentCreated with The GIMPd%nIDATH[lTU}Ι;@4R r@!'ƒ`B `x0cb$#BQ)/U@K 22-RJKg̙s{P$zb*nU8lS3㈙*b8נs!1v*: ݶTȒ FP 0LHHê&‚e;Ph$ŁijqfMfLu83ơ q.4\A: n ۶z6ozV'$g7nȪ#O..]u}t!d˶GqF` &8D /;[k傂;::xR*-:kKM߃yK-jn$&x>3L`ȡ7b!o C'ށ~ׯ{3ٳ`9s|oeffINN4v|`7[ќwl[PԿ国ѣ2eiQ&Fv//l͆WϜ9N_}gRlP{{S'MWN_1:Ai8SIIMMME%sKr[ZZ֖֘E|5.ot2SEgVmV]殏Bׂ2d8<hHZQQQcҊ畔u8wb:i?k:]<6zwnݡSƓV]ָ8OU^^N`,ՓZr950^lo~A%`Ӄ}ɥ;zk_9~D驳9 )j /j,7 ܬZ~mí6x8hW];KX_媬Yk5KM.3Ŗ#h,;+*+SӶ6_nΏ@JJI.nI }mhG%0 26˚]6i LiV)_~vƜ~#Ը =dY  ~zt=^Q"2;*v IG7:y;eYmxKj%rKS>"ΙI}|S&ĜuR} 3e / IB(;[9N/9+5 ~`ފNp5VAc>w^wԢn0]NZyG,,AqYgC0B!cu,kI<>)Rɭ=޻-n_(P.3Cn67Xs>y=Moʁ7;z.֧%!\:k.;|sOqC7np3e%tY3=C|Rn5kvm e!^ߛ߻%+r45>sYJ8*4ex7\&^`UnmZbBs5$vјa׮9vWE~] ju!mAl8ebF2TZ+J~rOLw尶LwFg~rY707Dp"="/0͋=gkzzaMfb`1gM,pYWި[w$XĒP=ӕs#̳U,(2pzbr^|3@}&lorxCq kø k\@w)"D8F:V4Vp19?]`%)CX cN_R͝xf6MV6/#ɗ~G(.`ړG1޽O{3M ܬfiBq3qEuDK`K\6gyBWu$_l:N$Typ iݱ80lܴ 8e) [eOiIwβK]u~7ӫ,pYfNrD}a V`䮻;R͇?x($@Iݦ=j+{1cGk.-9Ϯ{m)N}HV02 fAG0pqNIENDB`sysinfo-0.7/artwork/motherboard.png0000664000076400007640000000216310413770710017005 0ustar ghaefbghaefbPNG  IHDRw=sBIT|d*IDATHLu_ρ@ x(#lNBNmp(Pp.K5XVZpߞ46 Fkan6Mkg;C1v8:O@gwq!9[ZZZ|(r9 YThL_ˍMriK;bAorsM{H#Xzex5 -y@t:3+Ok&qeJ(bnbl:<)F(9ؿgC]CY UOc/E C#! %~YDe/)wv2݈ժ}"<bIݡ=ħlQ*zd ¼du t lE>ěxbԡr'dU{yL#դsƍX/k/Ξ`IId06 r YY؞&Р_.~;=b6Eꋴzcb3y{B`uQ;{e-rH8lBvyNlnlb7G>0 xFJe~b0ۭүσ#(OQ_GdY]5'PWUéZF<]`r/2R4f lN|?Ŏ3I=Nޝ@[jKN(cy D33`H󀷀OY˦٩qVkI۹L61U`QXOr]|.ǭe ȅA8ZvNs뗻%y_GZ,95 X+U\\4yH[~8^k[Z⌔r4KW8wں;,R F#%:Hx99Ix_;Ѵn[x8!O䍍J+qdsZTRJl/Iw6'ͦ)BvK 8Y81ۧ0ֽ1߆c<"D ġ{[ FXƃe~}-0cfĀ0x#/d~6k=y7_4ѥX %mg~Yit; Yf*snbhMEv> $V7aW6Dl;W:f`0D i;Ej\S/J_bh~dCy~-"zN:w>R& I$g` voЈ_y+4OC- [Yy{OEōz_gv[P{[ׁҮQXg*<|neyFlu6S>Ov%@c;">aUF%+ovSV۱wyJy uy ݆k&?v'j؃r y f7Ua߽Ʌ'UHDO%v(둿/gnAHiv'@O軨x!5*"/*N%_/XۂIfw_Qri;?oL%!.7>5D:T*V;ݚq6`oigu[VyWNCRIB5 +mqk۵ g(a:6VD? w*d ]:}ާ8888888888888888888888888888888888PvܮV$3|Zj*l-W \oK3$n0:J*TҫMX/:i$Wx]dGyQgYھ޽GNThhE`ؾ GVǶ:"~UܪhWTT`xڡ2[^Ϳ=)/wKTOHcivμbU wVͶHjRHidX@rqDBN5V`)7i]`-qImVʴ9)b}R}vl $!Uu婞3B9[Wm]ӈW/ l܊PD`p)L'HWIHȈ6'ȣ^,ҼUOHۚ8D-A'YiK]!"vG!u5HojsEBM'=~í@Co`G҇v6"fӂ-FAwoڔ >;$fULD-LgU NRMOZaiqY[&72s+0VHWi܎wTO odET8 BǦpzj]gdQܝB6[}bvՊUC>i"ƣKbLXoOypO cGj4w;.x-lLŽNfPS;D' @!أFXA8Y \-mFOVHk1:}FۡOn0o׬[‰V'n1VIHtK$ J2*prK&7{)/|@I,lYEۈëyβwf"6Pm%C;W7*֞!ߵyT̢Hd A!m ]<Ղ=fU6J!=#IB7rݒ XZ&sڔu YT]sCeKT@q/i7wkkg 5H92wk)oK.=+"~YCDh{_ΔlIu W.~}.@7twC61g@P R4S˞}on8ޅ̲@ԵZC1`tgV#G wt  69bjΔɥ"{ =DY}c-6]!w z};kY@-./[WK{T +|g/NO*y.ɢKZY0t`#(_,+gÏJk%K93OF9,d9e񃛈]( |R0E@@.PwǠ "HX_Fܨ5%#7 ?z_y^MZu_=(;ŷ_r>暦14RYХ۪lRþuI39*8ט_+յUmBkٵ4Skjo~\[^sSJGoۑlvN% $ 8z1ܒc$Wm)/bj)KU5cЏuq53k<\DžgVYf*ZC ΕGUI,~rKE)3C%z}E+[ݏ%~.:gf$-5)-֮w'Al K1m+uyYSqexE6i Ֆ9Dh..miQ8 ~dF}9EOz޴lSyK]0+Q p(|+z|݁uMU4 }9傤a#3b({}L:9/0-]5_?X5(2o(wa;)y額O?i=P7 ލkt}Z q/kko3ƸWD ""uV~^܅˗')aW~=FB.Z]|(4=/Hquzzf0g8! ރ{_yM{V{G+ZbLJw ""zrkև(Z\\\lqΒ$>fţGmϟf(^*e !ރ1$vi:B)EWGiEEZDN &JrPfw@WPdV*!SS D4mt:C8J!X\)jM B 0#Ř,aF?KDAR PT5H\wa:c,"T@YIRHE Ȍ{Mbyt3)Lg]&#YA)VD7EFc @`d&E(82CQJw6nϿ`A<3]ϯ6yk4]}!]n}/cl1"nncRYZ\W@ ItWW[{SӧW4l {^o8LY1IǕ`jιx9uv[)i7@-NpE w "A_3?IENDB`sysinfo-0.7/artwork/ubuntu_logo.png0000664000076400007640000000551310373347544017055 0ustar ghaefbghaefbPNG  IHDRdP bKGDC pHYs  tIME 7c2]tEXtCommentCreated with GIMPW IDATx{pT'M= `Ez-Z^F{bJtNӎ38-[-CBH!$ s%r˞gf =={{;Ç>|Ç>RV* 3IR ^6o x22YW/~xxX"zn03-EȰd˺ YGB0V|B9"d<`a 4z5Yes" Ӂ\i|@XL(Ky f/=exLB.tp=qJ &Wg@| %!˪"v$fGɋ?꾦WV`P %Ď3Hpp0>v}-r{KV6@JXl mKe |p f%-~(!bgn U[F`NH0\LeH'V8fۥׁQܓ}'+`'$D,~3J!v$pm6YX. +|#fZEm%y K8n!Ďs>Q^0Erڠ1Hn*~w|:p3p;v,j*slVH$}fg嫨'7uJ8;8vA NJQjz֢Qr S{!m>lM#l3!k±vR,T'4:I֕X0U@q/oةe#eMNu.ʁ[LipHt@-E`p/70 Fd:8,D5j`MuNbFOVUea8qKF3F2y/*tY[vi1:(nARv){RxI2kHkp(SUF!.o@fYئp|`!ؽ"Z'SfT Xo_a}7d>fRe觽j+ X ({UQ t T'3*{Zɪe*4!rKҊ6PUg*,[dEo[WCj%]XIppY}C1d]*SL N^P}MZSZ.=Y xJ31Uu$w8I.˹[;b=Ҍz*>,eϹ ,ȩX! F]m'㊻X@ȭ.-1:wmvi`6Ȑ@ ؋kNJXeVr@ W`w& ɽx>-3#..!CDo{Ok4&I'JviI.+21ZHk:!W5ꀍ,ɵT섐@ fZW.$#?b-NBv`@+q]it:ZH {#B`n2œ! |NK2j̹_sae|V JqryB6~ 3Jn.":y阎'"d ±pߣIŗؑ$\db UdMRALo !1ѝC]:qc{BlNE ysfO$O"]p[aZAFd]z8yr$r xE'dJ#LeUG1pӈ! "m|fJqE\͸둟S0?P)>2Mg*SׇzFPg =%Dn #JjF9LKT0]לd%"%vzŴbV>g9D +k#}ҷ TNT+\ų -rI5<\5" ұzp@p 0M❊ }{03_cp!PrahG180rE()?qrvfz1L:LIE_Z/!zp/"ۀoj< l± eE xix*ksX^ 3x jk-ʳNvȅL&Iほycls}fruOSLO%k14y}sصZ坐-ۑ`Z*[wus1el#K /ɅHYBk*&od*UR|MufzxިRyt"۲f-vŦ\Un1Zv-{UP9T ;+ISj Cb}B\ՂݶUR]V?ey8Qr@ Z1 0Jqw~RI5UzL+tRR>(J AB}sXh'F/±:|Ç>|#E IENDB`sysinfo-0.7/artwork/square_chameleon.png0000664000076400007640000000027210403101721017776 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME/-"ctEXtCommentCreated with GIMPW"IDAT8c,$`QG 5pb `&6IENDB`sysinfo-0.7/artwork/soundcard.png0000664000076400007640000000155210413770204016460 0ustar ghaefbghaefbPNG  IHDRw=sBIT|d!IDATHՕMhioiIzhqA~W+REн^I D(zZz0l#=(eaQUR\,~iMR!3f:qwh{ك3kz ife,`L=$2#7e6$JvBpMkY^ȧG^c}vHq-nTqR+0(U~mbrjp8 ӿ=9\JQ;JQB>mz-`"\@4NN9}5~sCWe,B-ˢ{>iryqG -WڶxH{)7l`9~!P׹t1Xȧ%?ro/& iY8:͚Ɗv|zXQY`E4f!ϒC|zT b \e|F AZ%H(zJ>q}fggEhDbhF47*Bm_-|xqgc_lZm|1+M(+eNZo`-0TGEB@]?[Y{<]?޻{PG^5^gI&Pa {TϢ{.K34 IENDB`sysinfo-0.7/artwork/square_plum.png0000664000076400007640000000027210403102016017016 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME0.vJ<tEXtCommentCreated with GIMPW"IDAT8c, @E@e0jਁ8jP1g?IENDB`sysinfo-0.7/artwork/sysinfo_memory.png0000664000076400007640000000142310400605313017547 0ustar ghaefbghaefbPNG  IHDRw=bKGD pHYs  IDATHǵOHTQ͟Q5A] 7aьHsHlA8EI.$ 1Cgt96xo?8fvqϻ}9?8H{`;099yFFWYz+rut!D2\)W4M~{,n##ȒC-|*%k.\_ro3T&0<{:ceQ>lmthiiIHS 8:g{ثTl BQUU ߣwoXC*Q=)g(D(jEQM4.+eLf+yy9 @nߧ8x%XVAoooQG"78@B Pxq/ߢWbCY7u:Շ@E1 lg% M{R"* YQ?.48xj:S~65 S7qvIENDB`sysinfo-0.7/artwork/sysinfo_usb.png0000664000076400007640000000162010400605313017027 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oy0IDATHǵMhgL1-ZJ֋j49z*Ԓö%ԏA RP@ ,mӔ͡"-M1n[Ji!P"np7ewQFx4<_U3B⑄mcYchxp@QSH)Ry@CC9OaL sdiH6=;w6O&`6m %T ! PCJ(B粪jƁHN(bvvn@ ԟ> !ؘN4YsssǿJ( ,E,Õ#R}d֍ɾH$#p8|9NT?n<~L&irC!M^FCw *7?-RO@URC?eIENDB`sysinfo-0.7/artwork/sysinfo_partitions.png0000664000076400007640000000115110373347544020453 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oy IDATHk`?otݠi8{'xDnz()i GA7v쥬vmV/ ͒C4Y;/yOr8Z u޿m-PV#9r)WJŃX~SS Ʋ,V&#MFYE۝o<\/p۾(WJEVd2iL$Hd\R*´[*۶# ,0ÉU]MӰ, h/$p:k:JF}|%iP(( ;;o  & %h4jmD_wt] Q ~0t:^x )"b.㳗|8"~w{oS0ݔLfy眔7Sd9M^V+PiC҄@A~:7;_n ""uӓƆg>|Dyp<x`Im 8 \\z772IENDB`sysinfo-0.7/artwork/sysinfo_other.png0000664000076400007640000000124710400605313017364 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oyGIDATHՕkQ?kNu=ÞI@9 !g޽B졭Ŧ\<嚿K b @b"=,JIl^ڵU :0f~{ I0^ՇTJ|tyh~PSAMkF@~]QJ!" 8嘦9Q+,tqq1QOr(Bs3D"_v>P "h].I$E< ?.9jd2I*nڃP`6"BףQT8==]!p4ez0eYXE<lh6$kd7 t]ŇضwۣnKJ80  \__s||뺡)*vH&eYR*Fl0bN "\]]ME V 41 c~Ad2MަF[v·-vmmmmluZ <;noo_yz!?$OD(`{xݹ~_oػXenjAuIENDB`sysinfo-0.7/artwork/square_skyblue.png0000664000076400007640000000027210403101752017525 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME0 JImtEXtCommentCreated with GIMPW"IDAT8c4I]򟁊`QG 5pb dFIENDB`sysinfo-0.7/artwork/slackware_logo.png0000664000076400007640000001570210373347544017510 0ustar ghaefbghaefbPNG  IHDRdP bKGDC pHYs  tIME "6XtEXtCommentCreated with GIMPW*IDATxygU?[3rjEmAmGE0QGhGc ;iPdMZ*巿=ǽK:#fb,<UYY9l=e]e]e]e]e]e]e]e툜w|)QWfn{69vbTTcTMzL/3xpϾmj 7U_eNKN#q@>UD@P4Dj"XYQkA/?d?\]_7d }q{mTyuqE pڠpc@!   u㈭퍴q행7?7f r_fMJiSsSPUT***]+L'0""E:eMۼ5w;owM ;D+X3:KP_9Q 3.rpց: 6t/=%zW}lzFNĪbPPCeZ*FO*H](3$B\D j/&˜(*FIK:_Ag_P˓nS+QJWN.1]#h%K- tk )(Jdi^xY;a\T7~JQtOW^y!L tJ0GCeUɋߥt FOޔJ24W] ;!oh4ĚR)`CV_<BDZc0JŘ8TNe,"yؗs,=j\걧AzW-m[jg(zn+򀤘ذ`ѡ*U"@{Q brZŕ}eNA0Dfc,Z_",}px_ O)]'grFéVF^mEQ[F/¡ifq6#<}Ldf R.R]&Ob!2>|Ƒ`cyeΓݫ?w/l 7XT}r#wQ}'2}G8p1Ԣ%tdž9"ucRH'0(A\,K.L@"L=bL?!%mPiUz7^˨&I,*Gv6U&hZ`͈[NW:EL'L-Ā:!|Ѡ*<3 LDe`,/79pȝOh슛o2S‘?*z5Q( k sC}l>8qT\)BD1?7=XuP1 ^K9k-fS%&,о'ӟ [}E}/sRGSP$ApjpJQ;~z?,=:LjG;L͵mrhrJC)W9]l41T/q5Cvldi%κe&342BHmey؅k/dn]y>T|r6pÁ) \|E,]NCsH%:g y/[C&X'ˏ$"c+E=D>D1033U7s~Rg[\To@r*bcyqf} 4&֦Ԉyz k-䟛[)Z=穷Kq)8kie:&BrO%«084N OO/xFbW馒JoQL}А3\0Ef9sZY6oљڝԇUM 34;wAaCC]!"X@#DApw@\#* Qo\'AZvBi5#Bpn(2$e\e\B4D1u]12]hDŅeaٌK.7LW-{F'&iukgNAjͨFXipBR|{ OHG+82vp6%KԖP-SecABs Yb90ȱ%^r^װm+6Ay<}OUjQjuj__w$Tv{5~'lgLLl{MP(?/8.0PZ}9Mvv bN;EHeco~w!} fJF'#,jZ, ƷiMm|y+*Y*6ؿ!\\svkKker16`*y|SNc꧿HDz.VftK41&Gqr$ FivkxW~[ܚoanv,\e"#$}G8g3xV'*uy]eCwD]ҩR34JM;|Y]QHyz"pȃCG\(l,N6A`nMs^ɋp”2{fg8}w''?g WhZ!)['xL3Jsشуωis3%˄V;nQk>"_RL< Jd`eaDJu]ReW!n'==x=@pB2c\̿}#F}Gbyiˋ t: : Pk(I&w~WJ,c~Ela4Ћ1'ME$"Xk*KFh `>9l ::&,P)()Wry)bAMIۋ,dЯjkpp}羊Z+JQiBvXߵpZs$Is|!Q][L}Ug{IUߝڸ`(*VJX)Yu$%#0>qD Q$ ݜ?_vH#zUۙETqcګ@ \q6Q1wᜩx4+T㩻 lcOIK4*H=u4 0sf7]1afȆ*/zU7G|çJ9~GR# 3Cu*Dx0S4l$-nZ[*G1SvS?K4" |=F P!?rQBZfe]b=HxGgcK?A@]*ڭm~d:p&L|h+TG{!Mꠖ,mqwP_`_ .^_({ YkmF&D=8Ҵݭ9A38.DlO/*k .taYUAhP*=كTIdCw06\E:"v([;1KCD/Q;*z0pI͚>OFԚ7&(?0 a!`[]1PK\Gڪi.E\|x|n ] C~S ]u``yH/KxlϽswDq ,5zf@DX咗m_ă{Yit<.TFV-+P_x;V-۩#0_etL)\X\A7HZXo&j |ZFEyq EuH?FXE-C= 9N;s/?C߽{-$"654֕)Z,hU,cS)ˍSs5GM1.Q6R,lAbJ;ŵZ'=uwH2m=E|VD 7uЩe5G6ONx{}^{|g7ҐjC H3i*-5XZnA b-d@K:a0)FrW TI*N <{7bpY#?Pelb/3'AN1;8$+ *Vz(R*mHTX(9uQ$;|mU?+"-DH/,(@Ib]Qeȣp &6n>qƛΎA5;zuMU0u&"Q V`m11Q\@>v|һ4 LLƣzbt|Q$"~օԛ-lfifXG<`Nl7 'mӥC7϶*8U4^Myz{=9AWa0~~}'fߓYσ$pXǴ`$TJeLJ>k^]w<48FGROm;cJV_g5WyGU!-\*Bꟁ ?YRs^zٺmgz'nO W>ǝhpi`t ~I w^xO@0"\ Dui'`I@x4(c{~Icq?}Ý/~3x"d(|{V./f(daͪ؍O]Q ͌6p{$g~TL=M|@[3#"3YFuZ}NC _mD ?cE?W[aR"0eVMW$l  룓0 J&J+K\wUvLCClifrr{A.e-6"&&.VjBh¢gN! Vd՚CN1pUyeftsUc3$k¶1.&4H[3a )z޼u͓5q?x}l^47S h#1 0_Uu7J ,4/%mΣ"i(ɨVJo=:42pe+K./.כV (/1Q:/*ζQeMqScÿ_cZkf뮿>NŅWv:sW6NSt2k^B咭Uf}[_T7g>!g>%+˵4hY9dy9BҞR@R744tW_a]e]e]e]e]e]e]e]IdAcIENDB`sysinfo-0.7/artwork/square_scarletred.png0000664000076400007640000000027210403102057020176 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME179AtEXtCommentCreated with GIMPW"IDAT8c<🁊`QG 5pb ]IENDB`sysinfo-0.7/artwork/network.png0000664000076400007640000000126510413770424016174 0ustar ghaefbghaefbPNG  IHDRw=sBIT|dlIDATHkP?I׭t^zQjv4 z<<),x*Y<Wkk_&] !/yyBȜ \gakW#I= mo€#4N擞y, 0uhH$m fYB` B8RLN2g|sf?on+ClBEOz'g T ~MBF)XG1_S5_=iFJi?+x( BEpIx<~M{Utfutt`ܸqe @!*,˂eY4M;ٽ9Q!%?tK$ (t>10`6(5eQA{G;onn#ш`JT˗!I"Νosٜ;"@|E<ߞzMeYmeAUU$%%A$R J)2Y@Eh,yǏ`i>rfepf;EA/gΜeMM 4Mo.ZBnR ]rYONv+9/La0M17/f:5wC8@!k~03m[״~UC}0y޽o3f @vv6?KΝ9'O2oYU1 olz֏RJhRZ'%[ Vks~Jw\qPnVUebeeU7dF)cY]-ƘSbtx@i+ !ڡ/Ac!R~:(`Н @ 25/b1Z DIENDB`sysinfo-0.7/artwork/no_image.png0000664000076400007640000000275510373347544016276 0ustar ghaefbghaefbPNG  IHDRdP bKGD pHYs  tIME ,tEXtCommentCreated with GIMPWUIDATx]lTEmgD&HA*I(bFbAD$&F}Q>CUFh 5JBBԭ0fO{wv/ٹgΝsgtf0 0 0 0 èbu,*[4zH eW]囀aXlJ6 pxu+:UxG_'>bh'rWkMRQCÒځ!Y`s8& <,v` U!D4o4LUT"G֊+Y0 X$#J$O x83 Pm2S];Gd7Hr~#)ٙڅ" W24&`U@uJVTn^1~`>u*H^B}@}V/=}JԛVz﷉2LgJmĚ2yn||9gg9+Oϑ?ZNJF%%TjxڮUmZ_!"5zؠݙ%CCGzΐrL[yjqU2NH:F7;dL᧫U >=/yv->G彴L ^5Gy/ryߜ!;ʇlm$P9a(c{gH~|ד[^9`n1:B'?oknY)YIzn6l +a:'3hm!bAF0 0 0 0 0 cHa)IENDB`sysinfo-0.7/artwork/sysinfo_cpu.png0000664000076400007640000000202010400605313017020 0ustar ghaefbghaefbPNG  IHDRw=bKGDC pHYs oyIDATHՕoUƿ{gYϸq MIQi%Uwmy-O`[v!eūB"mTӭN{ؙ_3,2nMS#$$tu\_< @RtO,wx2>^>Eh++WK狭Ч^>G(Ǒw Dgl4fi ýqnv\S;Y2 ,Ъ* <փ6A dQT!@`2p&rTV!(!`5V2e#:+_-ދ}ˇ"vIJVUO#4X]+8L:ͅ]S>_svע9ǟ"`2 IENDB`sysinfo-0.7/artwork/debian_logo.png0000664000076400007640000000645610373347544016764 0ustar ghaefbghaefbPNG  IHDRdP bKGDC pHYs  tIME 9'tEXtCommentCreated with GIMPW IDATx{yߙRruq !4P4RTMۨTUMR VmU4H) $DB טuN8gk]:kV֎Gf^η4@ 4@ 4p͖&(o~i`K8)pnS69DM|.$~p>Zx1va!ly{p% B&DD[B2q=ޏEc}[Ї1U̐q<21~Bx{A[hx_vCG^#`Lj_"2(n;~)pQLq* S|/E܋Tc P \.Ŋ"aM׼g1CCX"~ʶ5z44{(™ b6^<..hqg#mNL5 Y\$I |?}GYHYBgsAv0KA V\2 I-gvc;Y¿,;2\?4κ[EVRy8'd2q!,ŷj3T'BHOg7<)/s$SqA76bvF\`g$TQaeX4>Ň )L5Ap3yO7MzɀjU|;ڴ+ ,eMCV 9.U܉ODhܺ&ikȆȧ{.i:I8=[q ~eAjm(9SITth N | BHZ"n=9-sa_\BB2(K*&| W2g{K*mVj\&k;L[Buv!}K'5*]%=1Jzlz_wX6USr&~fz%={&@bK .%nU+Qv$kdWA܀czJHՋC]^^ov ޜe(~$thʾMPҳV].k}=yp5 9V&a.EqdJYqh6GqZhBMDBpDvjyR0?/3zO\w|)CfrBJ& o$+ӂAa_#UIx5Ea45_?.o&N[5N%]{ZAT}2r}1TQzLF1P]!﷜*akW0Ěҩi|$[iCM,Md\SBJ_Iφ6=cPq4c*~MQbϏԛ5X&Q)-kkUN4^ŋI1;Ei\3ĝGFFLJGྀ;#1Nrˊgcy>'X״XHeѩr(Y#uŦp6>ϛ*[:ZHnmt*FzZs&VTڀ[čᬲG;[:\Zd+z_ i ENDL ˣs&r ,EOVvH!rK뜷gqA"1қYA} 7Gokܺ);So5, `.NPlYgI~ᬀK!.΍=Ymڞ}YqFK"ޝcN7\Ry1B ^f2aY8Ln|.u9Wxh#.pײ.8+e|3[CԕbƬXqdY!-&DH9^|C:Fip4st}bVy ̼I*/eK.4i~_IeR2S1 `4Dʸe2b&aK.<. [ЎgBKk>7܍{[ǘ95-Ÿ(piL$YJhIn+aC]{ҥ5T[걏hiz3-P+'@YTHqb>6*QamIW_PLɑ3Y J==t_45MyLA}(aEH>.\ƍMLIhrp75B3WHEJV;0 djW)G_`!e^f7sսI͊| ,i1ń[An -; H̐/HCj B10nǏF[ Š#l45aՍĿ}5' ^ dq>O&$Ǔykz'r̟(Bz >/YA9 ]m*C Be&R7oXU|w+n2Le2C!}T!o%e^쟐ڲs\ַR-e%>.M.|_>]!SBK2AQ<7_/o2E*ґk򟖭e㍔_RI8;SΔ&";J*L91m x+gTf} B&.BLc=b1ۢPl8UY 4@ 4@o4"EjIENDB`sysinfo-0.7/artwork/square_orange.png0000664000076400007640000000027210404355661017335 0ustar ghaefbghaefbPNG  IHDR bKGD pHYs  tIME (1tEXtCommentCreated with GIMPW"IDAT8cZ🁊`QG 5pb ٦a IENDB`sysinfo-0.7/Sysinfo/AssemblyInfo.cs0000644000076400007640000000205310444755475016667 0ustar ghaefbghaefbusing System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following // attributes. // // change them to the information which is associated with the assembly // you compile. [assembly: AssemblyTitle("")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // The assembly version has following format : // // Major.Minor.Build.Revision // // You can specify all values by your own or you can build default build and revision // numbers with the '*' character (the default): [assembly: AssemblyVersion("1.0.*")] // The following attributes specify the key for the sign of your assembly. See the // .NET Framework documentation for more information about signing. // This is not required, if you don't want signing let these attributes like they're. [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] sysinfo-0.7/Sysinfo/sysinfo.in0000644000076400007640000000020110523117357015745 0ustar ghaefbghaefb#!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@/@PACKAGE@" cd ${libdir} exec mono "Sysinfo.exe" "$@"sysinfo-0.7/Sysinfo/PartitionsCairoDrawing.cs0000644000076400007640000007301410503021355020702 0ustar ghaefbghaefb// Filename: PartitionsCairoDrawing.cs // Contains functions to draw partitions cairo graphics using System; using Cairo; using Gtk; namespace Sysinfo { public class PartitionsCairoDrawing { /**********/ //hda drawing public void HdaDrawing(Cairo.Context g, Double [] partitions_hdaP, String [] partitions_hda) { g.LineWidth = 3; //total space PointD p1,s1,p2,s2,p3,s3,p4,s4; p1 = new PointD (16 ,28); s1 = new PointD (18, 26); p2 = new PointD (20 + partitions_hdaP[0] + 2, 26); s2 = new PointD (20 + partitions_hdaP[0] + 4, 28); p3 = new PointD (20 + partitions_hdaP[0] + 4, 78); s3 = new PointD (20 + partitions_hdaP[0] + 2, 80); p4 = new PointD (18 , 80); s4 = new PointD (16 , 78); g.Color = new Color (0, 0, 0, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Stroke(); g.Color = new Color (1, 1, 1, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Fill(); if ( partitions_hda[1] != null ) { //hda1 space PointD p11,p21,p31,p41; p11 = new PointD (20, 30); p21 = new PointD (20 + (partitions_hdaP[1]), 30); p31 = new PointD (20 + (partitions_hdaP[1]), 76); p41 = new PointD (20, 76); g.Color = new Color (0.93, 0.83, 0, 1); g.MoveTo (p11); g.LineTo (p21); g.LineTo (p31); g.LineTo (p41); g.LineTo (p11); g.ClosePath(); g.Fill(); } if ( partitions_hda[2] != null ) { //hda2 space PointD p12,p22,p32,p42; p12 = new PointD (20 + (partitions_hdaP[1]), 30); p22 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]), 30); p32 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]), 76); p42 = new PointD (20 + (partitions_hdaP[1]), 76); g.Color = new Color (0.45, 0.82, 0.09, 1); g.MoveTo (p12); g.LineTo (p22); g.LineTo (p32); g.LineTo (p42); g.ClosePath(); g.Fill(); } if ( partitions_hda[3] != null ) { //hda3 space PointD p13,p23,p33,p43; p13 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]), 30); p23 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]), 30); p33 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]), 76); p43 = new PointD (20 + (partitions_hdaP[1]) + (partitions_hdaP[2]), 76); g.Color = new Color (0.8, 0, 0, 1); g.MoveTo (p13); g.LineTo (p23); g.LineTo (p33); g.LineTo (p43); g.ClosePath(); g.Fill(); } if ( partitions_hda[4] != null ) { //hda4 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]), 30); p24 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]), 30); p34 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]), 76); p44 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]), 76); g.Color = new Color (0.2, 0.4, 0.64, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hda[5] != null ) { //hda5 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]), 30); p24 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]), 30); p34 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]), 76); p44 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]), 76); g.Color = new Color (0.75, 0.5, 0.07, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hda[6] != null ) { //hda6 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]), 30); p24 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6]), 30); p34 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6]), 76); p44 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]), 76); g.Color = new Color (0.45, 0.31, 0.48, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hda[7] != null ) { //hda7 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5])+ (partitions_hdaP[6]), 30); p24 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6])+ (partitions_hdaP[7]), 30); p34 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6])+ (partitions_hdaP[7]), 76); p44 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5])+ (partitions_hdaP[6]), 76); g.Color = new Color (0.96, 0.47, 0, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hda[8] != null ) { //hda8 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5])+ (partitions_hdaP[6])+ (partitions_hdaP[7]), 30); p24 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6])+ (partitions_hdaP[7])+ (partitions_hdaP[8]), 30); p34 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5]) + (partitions_hdaP[6])+ (partitions_hdaP[7])+ (partitions_hdaP[8]), 76); p44 = new PointD(20+(partitions_hdaP[1]) + (partitions_hdaP[2]) + (partitions_hdaP[3]) + (partitions_hdaP[4]) + (partitions_hdaP[5])+ (partitions_hdaP[6])+ (partitions_hdaP[7]), 76); g.Color = new Color (0.33, 0.34, 0.33, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } g.SetFontSize(12); g.MoveTo ( new PointD((partitions_hdaP[0] - 80) / 2, 15)); g.Color = new Color (0, 0, 0, 1); g.ShowText ("Total space: " + partitions_hda[0]); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } /**********/ //hdb drawing public void HdbDrawing(Cairo.Context g, Double [] partitions_hdbP, String [] partitions_hdb) { g.LineWidth = 3; //total space PointD p1,s1,p2,s2,p3,s3,p4,s4; p1 = new PointD (16 ,28); s1 = new PointD (18, 26); p2 = new PointD (20 + partitions_hdbP[0] + 2, 26); s2 = new PointD (20 + partitions_hdbP[0] + 4, 28); p3 = new PointD (20 + partitions_hdbP[0] + 4, 78); s3 = new PointD (20 + partitions_hdbP[0] + 2, 80); p4 = new PointD (18 , 80); s4 = new PointD (16 , 78); g.Color = new Color (0, 0, 0, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Stroke(); g.Color = new Color (1, 1, 1, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Fill(); if ( partitions_hdb[1] != null ) { //hdb1 space PointD p11,p21,p31,p41; p11 = new PointD (20, 30); p21 = new PointD (20 + (partitions_hdbP[1]), 30); p31 = new PointD (20 + (partitions_hdbP[1]), 76); p41 = new PointD (20, 76); g.Color = new Color (0.93, 0.83, 0, 1); g.MoveTo (p11); g.LineTo (p21); g.LineTo (p31); g.LineTo (p41); g.LineTo (p11); g.ClosePath(); g.Fill(); } if ( partitions_hdb[2] != null ) { //hdb2 space PointD p12,p22,p32,p42; p12 = new PointD (20 + (partitions_hdbP[1]), 30); p22 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]), 30); p32 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]), 76); p42 = new PointD (20 + (partitions_hdbP[1]), 76); g.Color = new Color (0.45, 0.82, 0.09, 1); g.MoveTo (p12); g.LineTo (p22); g.LineTo (p32); g.LineTo (p42); g.ClosePath(); g.Fill(); } if ( partitions_hdb[3] != null ) { //hdb3 space PointD p13,p23,p33,p43; p13 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]), 30); p23 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]), 30); p33 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]), 76); p43 = new PointD (20 + (partitions_hdbP[1]) + (partitions_hdbP[2]), 76); g.Color = new Color (0.8, 0, 0, 1); g.MoveTo (p13); g.LineTo (p23); g.LineTo (p33); g.LineTo (p43); g.ClosePath(); g.Fill(); } if ( partitions_hdb[4] != null ) { //hdb4 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]), 30); p24 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]), 30); p34 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]), 76); p44 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]), 76); g.Color = new Color (0.2, 0.4, 0.64, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hdb[5] != null ) { //hdb5 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]), 30); p24 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]), 30); p34 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]), 76); p44 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]), 76); g.Color = new Color (0.75, 0.5, 0.07, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hdb[6] != null ) { //hdb6 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]), 30); p24 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6]), 30); p34 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6]), 76); p44 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]), 76); g.Color = new Color (0.45, 0.31, 0.48, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hdb[7] != null ) { //hdb7 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5])+ (partitions_hdbP[6]), 30); p24 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6])+ (partitions_hdbP[7]), 30); p34 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6])+ (partitions_hdbP[7]), 76); p44 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5])+ (partitions_hdbP[6]), 76); g.Color = new Color (0.96, 0.47, 0, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_hdb[8] != null ) { //hdb8 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5])+ (partitions_hdbP[6])+ (partitions_hdbP[7]), 30); p24 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6])+ (partitions_hdbP[7])+ (partitions_hdbP[8]), 30); p34 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5]) + (partitions_hdbP[6])+ (partitions_hdbP[7])+ (partitions_hdbP[8]), 76); p44 = new PointD(20+(partitions_hdbP[1]) + (partitions_hdbP[2]) + (partitions_hdbP[3]) + (partitions_hdbP[4]) + (partitions_hdbP[5])+ (partitions_hdbP[6])+ (partitions_hdbP[7]), 76); g.Color = new Color (0.33, 0.34, 0.33, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } g.SetFontSize(12); g.MoveTo ( new PointD((partitions_hdbP[0] - 80) / 2, 15)); g.Color = new Color (0, 0, 0, 1); g.ShowText ("Total space: " + partitions_hdb[0]); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } /**********/ //sda drawing public void SdaDrawing(Cairo.Context g, Double [] partitions_sdaP, String [] partitions_sda) { g.LineWidth = 3; //total space PointD p1,s1,p2,s2,p3,s3,p4,s4; p1 = new PointD (16 ,28); s1 = new PointD (18, 26); p2 = new PointD (20 + partitions_sdaP[0] + 2, 26); s2 = new PointD (20 + partitions_sdaP[0] + 4, 28); p3 = new PointD (20 + partitions_sdaP[0] + 4, 78); s3 = new PointD (20 + partitions_sdaP[0] + 2, 80); p4 = new PointD (18 , 80); s4 = new PointD (16 , 78); g.Color = new Color (0, 0, 0, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Stroke(); g.Color = new Color (1, 1, 1, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Fill(); if ( partitions_sda[1] != null ) { //sda1 space PointD p11,p21,p31,p41; p11 = new PointD (20 , 30); p21 = new PointD (20 + (partitions_sdaP[1]), 30); p31 = new PointD (20 + (partitions_sdaP[1]), 76); p41 = new PointD (20 , 76); g.Color = new Color (0.93, 0.83, 0, 1); g.MoveTo (p11); g.LineTo (p21); g.LineTo (p31); g.LineTo (p41); g.LineTo (p11); g.ClosePath(); g.Fill(); } if ( partitions_sda[2] != null ) { //sda2 space PointD p12,p22,p32,p42; p12 = new PointD (20 + (partitions_sdaP[1]), 30); p22 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]), 30); p32 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]), 76); p42 = new PointD (20 + (partitions_sdaP[1]), 76); g.Color = new Color (0.45, 0.82, 0.09, 1); g.MoveTo (p12); g.LineTo (p22); g.LineTo (p32); g.LineTo (p42); g.ClosePath(); g.Fill(); } if ( partitions_sda[3] != null ) { //sda3 space PointD p13,p23,p33,p43; p13 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]), 30); p23 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]), 30); p33 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]), 76); p43 = new PointD (20 + (partitions_sdaP[1]) + (partitions_sdaP[2]), 76); g.Color = new Color (0.8, 0, 0, 1); g.MoveTo (p13); g.LineTo (p23); g.LineTo (p33); g.LineTo (p43); g.ClosePath(); g.Fill(); } if ( partitions_sda[4] != null ) { //sda4 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]), 30); p24 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]), 30); p34 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]), 76); p44 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]), 76); g.Color = new Color (0.2, 0.4, 0.64, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sda[5] != null ) { //sda5 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]), 30); p24 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]), 30); p34 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]), 76); p44 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]), 76); g.Color = new Color (0.75, 0.5, 0.07, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sda[6] != null ) { //sda6 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]), 30); p24 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6]), 30); p34 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6]), 76); p44 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]), 76); g.Color = new Color (0.45, 0.31, 0.48, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sda[7] != null ) { //sda7 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5])+ (partitions_sdaP[6]), 30); p24 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6])+ (partitions_sdaP[7]), 30); p34 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6])+ (partitions_sdaP[7]), 76); p44 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5])+ (partitions_sdaP[6]), 76); g.Color = new Color (0.96, 0.47, 0, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sda[8] != null ) { //sda8 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5])+ (partitions_sdaP[6])+ (partitions_sdaP[7]), 30); p24 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6])+ (partitions_sdaP[7])+ (partitions_sdaP[8]), 30); p34 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5]) + (partitions_sdaP[6])+ (partitions_sdaP[7])+ (partitions_sdaP[8]), 76); p44 = new PointD(20+(partitions_sdaP[1]) + (partitions_sdaP[2]) + (partitions_sdaP[3]) + (partitions_sdaP[4]) + (partitions_sdaP[5])+ (partitions_sdaP[6])+ (partitions_sdaP[7]), 76); g.Color = new Color (0.33, 0.34, 0.33, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } g.SetFontSize(12); g.MoveTo ( new PointD((partitions_sdaP[0] - 80) / 2, 15)); g.Color = new Color (0, 0, 0, 1); g.ShowText ("Total space: " + partitions_sda[0]); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } /**********/ //sdb drawing public void SdbDrawing(Cairo.Context g, Double [] partitions_sdbP, String [] partitions_sdb) { g.LineWidth = 3; //total space PointD p1,s1,p2,s2,p3,s3,p4,s4; p1 = new PointD (16 ,28); s1 = new PointD (18, 26); p2 = new PointD (20 + partitions_sdbP[0] + 2, 26); s2 = new PointD (20 + partitions_sdbP[0] + 4, 28); p3 = new PointD (20 + partitions_sdbP[0] + 4, 78); s3 = new PointD (20 + partitions_sdbP[0] + 2, 80); p4 = new PointD (18 , 80); s4 = new PointD (16 , 78); g.Color = new Color (0, 0, 0, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Stroke(); g.Color = new Color (1, 1, 1, 1); g.MoveTo (p1); g.LineTo (s1); g.LineTo (p2); g.LineTo (s2); g.LineTo (p3); g.LineTo (s3); g.LineTo (p4); g.LineTo (s4); g.ClosePath (); g.Fill(); if ( partitions_sdb[1] != null ) { //sdb1 space PointD p11,p21,p31,p41; p11 = new PointD (20, 30); p21 = new PointD (20 + (partitions_sdbP[1]), 30); p31 = new PointD (20 + (partitions_sdbP[1]), 76); p41 = new PointD (20, 76); g.Color = new Color (0.93, 0.83, 0, 1); g.MoveTo (p11); g.LineTo (p21); g.LineTo (p31); g.LineTo (p41); g.LineTo (p11); g.ClosePath(); g.Fill(); } if ( partitions_sdb[2] != null ) { //sdb2 space PointD p12,p22,p32,p42; p12 = new PointD (20 + (partitions_sdbP[1]), 30); p22 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]), 30); p32 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]), 76); p42 = new PointD (20 + (partitions_sdbP[1]), 76); g.Color = new Color (0.45, 0.82, 0.09, 1); g.MoveTo (p12); g.LineTo (p22); g.LineTo (p32); g.LineTo (p42); g.ClosePath(); g.Fill(); } if ( partitions_sdb[3] != null ) { //sdb3 space PointD p13,p23,p33,p43; p13 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]), 30); p23 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]), 30); p33 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]), 76); p43 = new PointD (20 + (partitions_sdbP[1]) + (partitions_sdbP[2]), 76); g.Color = new Color (0.8, 0, 0, 1); g.MoveTo (p13); g.LineTo (p23); g.LineTo (p33); g.LineTo (p43); g.ClosePath(); g.Fill(); } if ( partitions_sdb[4] != null ) { //sdb4 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]), 30); p24 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]), 30); p34 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]), 76); p44 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]), 76); g.Color = new Color (0.2, 0.4, 0.64, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sdb[5] != null ) { //sdb5 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]), 30); p24 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]), 30); p34 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]), 76); p44 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]), 76); g.Color = new Color (0.75, 0.5, 0.07, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sdb[6] != null ) { //sdb6 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]), 30); p24 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6]), 30); p34 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6]), 76); p44 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]), 76); g.Color = new Color (0.45, 0.31, 0.48, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sdb[7] != null ) { //sdb7 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5])+ (partitions_sdbP[6]), 30); p24 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6])+ (partitions_sdbP[7]), 30); p34 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6])+ (partitions_sdbP[7]), 76); p44 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5])+ (partitions_sdbP[6]), 76); g.Color = new Color (0.96, 0.47, 0, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } if ( partitions_sdb[8] != null ) { //sdb8 space PointD p14,p24,p34,p44; p14 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5])+ (partitions_sdbP[6])+ (partitions_sdbP[7]), 30); p24 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6])+ (partitions_sdbP[7])+ (partitions_sdbP[8]), 30); p34 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5]) + (partitions_sdbP[6])+ (partitions_sdbP[7])+ (partitions_sdbP[8]), 76); p44 = new PointD(20+(partitions_sdbP[1]) + (partitions_sdbP[2]) + (partitions_sdbP[3]) + (partitions_sdbP[4]) + (partitions_sdbP[5])+ (partitions_sdbP[6])+ (partitions_sdbP[7]), 76); g.Color = new Color (0.33, 0.34, 0.33, 1); g.MoveTo (p14); g.LineTo (p24); g.LineTo (p34); g.LineTo (p44); g.ClosePath(); g.Fill(); } g.SetFontSize(12); g.MoveTo ( new PointD((partitions_sdbP[0] - 80) / 2, 15)); g.Color = new Color (0, 0, 0, 1); g.ShowText ("Total space: " + partitions_sdb[0]); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } } } //ghaefb sysinfo-0.7/Sysinfo/Makefile.in0000644000076400007640000003575510523120373016006 0ustar ghaefbghaefb# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Warning: This is an automatically generated file, do not edit! srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/Sysinfo.Sysinfo.pc.in $(srcdir)/sysinfo.in \ $(top_srcdir)/Makefile.include ChangeLog subdir = ./Sysinfo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = sysinfo Sysinfo.Sysinfo.pc am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \ "$(DESTDIR)$(pkgconfigdir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(pkgconfig_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEBUG_CONFIG_LIBRARIES = @DEBUG_CONFIG_LIBRARIES@ DEBUG_CONFIG_LIBS = @DEBUG_CONFIG_LIBS@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ ENABLE_DEBUG_FALSE = @ENABLE_DEBUG_FALSE@ ENABLE_DEBUG_TRUE = @ENABLE_DEBUG_TRUE@ ENABLE_RELEASE_FALSE = @ENABLE_RELEASE_FALSE@ ENABLE_RELEASE_TRUE = @ENABLE_RELEASE_TRUE@ GCONF_SHARP_20_CFLAGS = @GCONF_SHARP_20_CFLAGS@ GCONF_SHARP_20_LIBS = @GCONF_SHARP_20_LIBS@ GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@ GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@ GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RELEASE_CONFIG_LIBRARIES = @RELEASE_CONFIG_LIBRARIES@ RELEASE_CONFIG_LIBS = @RELEASE_CONFIG_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_COMMAND = mcs @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_COMMAND = mcs @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 @ENABLE_DEBUG_TRUE@ASSEMBLY = ../bin/Debug/Sysinfo.exe @ENABLE_RELEASE_TRUE@ASSEMBLY = ../bin/Release/Sysinfo.exe @ENABLE_DEBUG_TRUE@COMPILE_TARGET = exe @ENABLE_RELEASE_TRUE@COMPILE_TARGET = exe @ENABLE_DEBUG_TRUE@ASSEMBLY_WRAPPER = sysinfo @ENABLE_RELEASE_TRUE@ASSEMBLY_WRAPPER = sysinfo @ENABLE_DEBUG_TRUE@ASSEMBLY_WRAPPER_IN = sysinfo.in @ENABLE_RELEASE_TRUE@ASSEMBLY_WRAPPER_IN = sysinfo.in @ENABLE_DEBUG_TRUE@PROJECT_REFERENCES = @ENABLE_RELEASE_TRUE@PROJECT_REFERENCES = @ENABLE_DEBUG_TRUE@BUILD_DIR = ../bin/Debug @ENABLE_RELEASE_TRUE@BUILD_DIR = ../bin/Release FILES = \ ./Main.cs \ ./AssemblyInfo.cs \ ./CpuInfo.cs \ ./HardwareInfo.cs \ ./MainCairoDrawing.cs \ ./MemoryInfo.cs \ ./PartitionsCairoDrawing.cs \ ./PartitionsInfo.cs \ ./SaveToFile.cs \ ./StorageInfo.cs \ ./SystemInfo.cs \ ./NvidiaInfo.cs DATA_FILES = RESOURCES = \ ./gui.glade \ ../artwork/amd_logo.png \ ../artwork/debian_logo.png \ ../artwork/fedora_logo.png \ ../artwork/gentoo_logo.png \ ../artwork/graphiccard.png \ ../artwork/intel_logo.png \ ../artwork/mandriva_logo.png \ ../artwork/motherboard.png \ ../artwork/network.png \ ../artwork/no_image.png \ ../artwork/redhat_logo.png \ ../artwork/slackware_logo.png \ ../artwork/soundcard.png \ ../artwork/square_aluminium.png \ ../artwork/square_butter.png \ ../artwork/square_chameleon.png \ ../artwork/square_chokolate.png \ ../artwork/square_orange.png \ ../artwork/square_plum.png \ ../artwork/square_scarletred.png \ ../artwork/square_skyblue.png \ ../artwork/suse_logo.png \ ../artwork/sysinfo_cpu.png \ ../artwork/sysinfo_hardware.png \ ../artwork/sysinfo_logo.png \ ../artwork/sysinfo_memory.png \ ../artwork/sysinfo_other.png \ ../artwork/sysinfo_partitions.png \ ../artwork/sysinfo_storage.png \ ../artwork/sysinfo_system.png \ ../artwork/sysinfo_usb.png \ ../artwork/ubuntu_logo.png \ ../artwork/sysinfo_nvidia.png \ ../artwork/nvidia_logo.png EXTRAS = \ ./ChangeLog REFERENCES = \ -r:System \ $(GTK_SHARP_20_LIBS) \ $(GLADE_SHARP_20_LIBS) \ $(GCONF_SHARP_20_LIBS) \ $(MONO_CAIRO_LIBS) \ $(GLIB_SHARP_20_LIBS) DLL_REFERENCES = build_sources = $(addprefix $(srcdir)/, $(FILES) $(GENERATED_FILES)) build_resources = $(addprefix $(srcdir)/, $(RESOURCES)) build_resources_embed = $(foreach res,$(build_resources), $(addprefix -resource:,$(res)),$(RESOURCES_PREFIX)$(notdir $(res))) build_references_ref = $(REFERENCES) $(foreach ref, $(DLL_REFERENCES), \ -r:$(ref)) $(foreach ref, $(PROJECT_REFERENCES), -r:$(ref)) pc_files = $(PC_FILES_IN:.pc.in=.pc) build_datafiles = $(addprefix $(BUILD_DIR)/, $(DATA_FILES)) EXTRA_DIST = $(FILES) $(GENERATED_FILES) $(RESOURCES) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES) $(PC_FILES_IN) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DLL_REFERENCES) DISTCLEANFILES = $(GENERATED_FILES) $(build_datafiles) $(pc_files) pkglib_SCRIPTS = $(ASSEMBLY) $(build_datafiles) bin_SCRIPTS = $(ASSEMBLY_WRAPPER) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pc_files) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ./Sysinfo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign ./Sysinfo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh sysinfo: $(top_builddir)/config.status $(srcdir)/sysinfo.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ Sysinfo.Sysinfo.pc: $(top_builddir)/config.status $(srcdir)/Sysinfo.Sysinfo.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-pkglibSCRIPTS: $(pkglib_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)" @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ else :; fi; \ done uninstall-pkglibSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done uninstall-info-am: install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) $(mkdir_p) $(distdir)/.. $(distdir)/../artwork @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-pkgconfigDATA install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-info-am \ uninstall-pkgconfigDATA uninstall-pkglibSCRIPTS .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-pkgconfigDATA \ install-pkglibSCRIPTS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \ uninstall-info-am uninstall-pkgconfigDATA \ uninstall-pkglibSCRIPTS all: $(ASSEMBLY) $(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) mkdir -p $(dir $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref) $(build_datafiles): $(BUILD_DIR)/% : $(addprefix $(srcdir)/, %) mkdir -p $(dir $@) cp $< $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sysinfo-0.7/Sysinfo/CpuInfo.cs0000644000076400007640000000531610503020430015610 0ustar ghaefbghaefb// Filename: CpuInfo.cs // Contains functions to extract information displayed in CPU category using System; using System.IO; namespace Sysinfo { public class CpuInfo { //global variables public String cpu_vendor = "unknown"; public Int32 cpu_cpus = 0; public String cpu_name = "unknown"; public String cpu_frequency = "unknown"; public String cpu_cache = "unknown"; public String cpu_bogomips = "unknown"; public String cpu_numbering = "unknown"; public String cpu_flags = "unknown"; //read cpu function public void CpuStaticInfo() { String temp; Boolean modelB = true; Boolean staticB = true; cpu_cpus = 0; try { //get cpu information from /proc using (TextReader textread = File.OpenText("/proc/cpuinfo")) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); //vendor if ( temp.StartsWith("vendor_id") && staticB ) cpu_vendor = temp.Remove(0, 12); //model name if ( temp.StartsWith("model name") && staticB ) cpu_name = temp.Remove(0, 13); //cache if ( temp.StartsWith("cache size") && staticB ) cpu_cache = temp.Remove(0, 13); //numbering1 family if ( temp.StartsWith("cpu family") && staticB ) cpu_numbering = "family(" + temp.Remove(0, 13); //numbering2 model if ( temp.StartsWith("model") && modelB && staticB ) { cpu_numbering = cpu_numbering + ") model(" + temp.Remove(0, 9); modelB = false; } //numbering3 stepping if ( temp.StartsWith("stepping") && staticB ) cpu_numbering = cpu_numbering + ") stepping(" + temp.Remove(0, 11) + ")"; //flags if ( temp.StartsWith("flags") && staticB ) { cpu_flags = temp.Remove(0, 9); staticB = false; } //number of cpus if ( temp.StartsWith("processor")) cpu_cpus++; } } }catch (FileNotFoundException ex) { Console.WriteLine(ex); } } //this function needs to be called more than once, to update info public void CpuDynamicInfo() { String temp; Boolean dynamicB = true; try { //get cpu information from /proc using (TextReader textread = File.OpenText("/proc/cpuinfo")) { while ( dynamicB ) { temp = textread.ReadLine(); //frequency if ( temp.StartsWith("cpu MHz")) cpu_frequency = temp.Remove(0, 11) + " MHz"; //bogomips if ( temp.StartsWith("bogomips")) { cpu_bogomips = temp.Remove(0, 11); dynamicB = false; } } } }catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/PartitionsInfo.cs0000644000076400007640000004050510503021245017221 0ustar ghaefbghaefb// Filename: PartitionsInfo.cs // Contains functions to extract information displayed in Partitions category using System; using System.IO; using System.Diagnostics; namespace Sysinfo { public class PartitionsInfo { //global variables public Boolean hdaB = false; public String [] partitions_hda = {null, null, null, null, null, null, null, null, null}; public Double [] partitions_hdaP = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Double [] partitions_hdaPc = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Boolean hdbB = false; public String [] partitions_hdb = {null, null, null, null, null, null, null, null, null}; public Double [] partitions_hdbP = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Double [] partitions_hdbPc = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Boolean sdaB = false; public String [] partitions_sda = {null, null, null, null, null, null, null, null, null}; public Double [] partitions_sdaP = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Double [] partitions_sdaPc = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Boolean sdbB = false; public String [] partitions_sdb = {null, null, null, null, null, null, null, null, null}; public Double [] partitions_sdbP = {0, 0, 0, 0, 0, 0, 0, 0, 0}; public Double [] partitions_sdbPc = {0, 0, 0, 0, 0, 0, 0, 0, 0}; //String partitions_path = "/home/ghaefb/devel/sysinfo_development/partitions_weird"; String partitions_path = "/proc/partitions"; /****/ //hda public void PartitionsHda() { String temp; Int32 position = 1; hdaB = false; try { using (TextReader textread = File.OpenText(partitions_path)) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.EndsWith("hda") ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("hda"), 3); partitions_hdaP[0] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { temp = Double.Parse(temp).ToString("#.#"); partitions_hda[0] = temp + " MB"; } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_hda[0] = temp + " GB"; } hdaB = true; } if ( temp.EndsWith("hda" + position) ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("hda" + position), 4); partitions_hdaP[position] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { if ( Double.Parse(temp) <= 1 ) partitions_hda[position] = "Extended"; else { temp = Double.Parse(temp).ToString("#.#"); partitions_hda[position] = temp + " MB"; } } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_hda[position] = temp + " GB"; } //Console.WriteLine("hda" + position + ": " + partitions_hda[position] ); position++; } /* if ( temp.EndsWith("hda" + positionTemp) ) { position++; //Console.WriteLine("test"); }*/ } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } catch (IndexOutOfRangeException ex) { Console.WriteLine( ex ); } } /****/ //hdb public void PartitionsHdb() { String temp; Int32 position = 1; hdbB = false; try { using (TextReader textread = File.OpenText(partitions_path)) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.EndsWith("hdb") ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("hdb"), 3); partitions_hdbP[0] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { temp = Double.Parse(temp).ToString("#.#"); partitions_hdb[0] = temp + " MB"; } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_hdb[0] = temp + " GB"; } hdbB = true; } if ( temp.EndsWith("hdb" + position) ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("hdb" + position), 4); partitions_hdbP[position] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { if ( Double.Parse(temp) <= 1 ) partitions_hdb[position] = "Extended"; else { temp = Double.Parse(temp).ToString("#.#"); partitions_hdb[position] = temp + " MB"; } } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_hdb[position] = temp + " GB"; } position++; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } catch (IndexOutOfRangeException ex) { Console.WriteLine( ex ); } } /****/ //sda public void PartitionsSda() { String temp; Int32 position = 1; sdaB = false; try { using (TextReader textread = File.OpenText(partitions_path)) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.EndsWith("sda") ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("sda"), 3); partitions_sdaP[0] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { temp = Double.Parse(temp).ToString("#.#"); partitions_sda[0] = temp + " MB"; } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_sda[0] = temp + " GB"; } sdaB = true; } if ( temp.EndsWith("sda" + position) ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("sda" + position), 4); partitions_sdaP[position] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { if ( Double.Parse(temp) <= 1 ) partitions_sda[position] = "Extended"; else { temp = Double.Parse(temp).ToString("#.#"); partitions_sda[position] = temp + " MB"; } } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_sda[position] = temp + " GB"; } position++; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } catch (IndexOutOfRangeException ex) { Console.WriteLine( ex ); } } /****/ //sdb public void PartitionsSdb() { String temp; Int32 position = 1; sdbB = false; try { using (TextReader textread = File.OpenText(partitions_path)) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.EndsWith("sdb") ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("sdb"), 3); partitions_sdbP[0] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { temp = Double.Parse(temp).ToString("#.#"); partitions_sdb[0] = temp + " MB"; } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_sdb[0] = temp + " GB"; } sdbB = true; } else if ( temp.EndsWith("sdb" + position) ) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("sdb" + position), 4); partitions_sdbP[position] = Double.Parse(temp); temp = (Double.Parse(temp) / 1000).ToString(); if ( Double.Parse(temp) < 1000 ) { if ( Double.Parse(temp) <= 1 ) partitions_sdb[position] = "Extended"; else { temp = Double.Parse(temp).ToString("#.#"); partitions_sdb[position] = temp + " MB"; } } else { temp = (Double.Parse(temp) / 1000).ToString(); temp = Double.Parse(temp).ToString("#.#"); partitions_sdb[position] = temp + " GB"; } position++; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } catch (IndexOutOfRangeException ex) { Console.WriteLine( ex ); } } //drawing calulations public void HdaDrawingCalculations(Int32 edge) { if ( hdaB == true ) { if ( partitions_hda[1] != null ) partitions_hdaP[1] = (partitions_hdaPc[1] * edge); if ( partitions_hda[2] != null ) partitions_hdaP[2] = (partitions_hdaPc[2] * edge); if ( partitions_hda[3] != null ) partitions_hdaP[3] = (partitions_hdaPc[3] * edge); if ( partitions_hda[4] != null ) partitions_hdaP[4] = (partitions_hdaPc[4] * edge); if ( partitions_hda[5] != null ) partitions_hdaP[5] = (partitions_hdaPc[5] * edge); if ( partitions_hda[6] != null ) partitions_hdaP[6] = (partitions_hdaPc[6] * edge); if ( partitions_hda[7] != null ) partitions_hdaP[7] = (partitions_hdaPc[7] * edge); if ( partitions_hda[8] != null ) partitions_hdaP[8] = (partitions_hdaPc[8] * edge); partitions_hdaP[0] = edge; } }//percentage calculations for drawing on window resize public void HdaCalculations() { if ( hdaB == true ) { if ( partitions_hda[1] != null ) partitions_hdaPc[1] = partitions_hdaP[1] / partitions_hdaP[0]; if ( partitions_hda[2] != null ) partitions_hdaPc[2] = partitions_hdaP[2] / partitions_hdaP[0]; if ( partitions_hda[3] != null ) partitions_hdaPc[3] = partitions_hdaP[3] / partitions_hdaP[0]; if ( partitions_hda[4] != null ) partitions_hdaPc[4] = partitions_hdaP[4] / partitions_hdaP[0]; if ( partitions_hda[5] != null ) partitions_hdaPc[5] = partitions_hdaP[5] / partitions_hdaP[0]; if ( partitions_hda[6] != null ) partitions_hdaPc[6] = partitions_hdaP[6] / partitions_hdaP[0]; if ( partitions_hda[7] != null ) partitions_hdaPc[7] = partitions_hdaP[7] / partitions_hdaP[0]; if ( partitions_hda[8] != null ) partitions_hdaPc[8] = partitions_hdaP[8] / partitions_hdaP[0]; } } public void HdbDrawingCalculations(Int32 edge) { if ( hdbB == true ) { if ( partitions_hdb[1] != null ) partitions_hdbP[1] = (partitions_hdbPc[1] * edge); if ( partitions_hdb[2] != null ) partitions_hdbP[2] = (partitions_hdbPc[2] * edge); if ( partitions_hdb[3] != null ) partitions_hdbP[3] = (partitions_hdbPc[3] * edge); if ( partitions_hdb[4] != null ) partitions_hdbP[4] = (partitions_hdbPc[4] * edge); if ( partitions_hdb[5] != null ) partitions_hdbP[5] = (partitions_hdbPc[5] * edge); if ( partitions_hdb[6] != null ) partitions_hdbP[6] = (partitions_hdbPc[6] * edge); if ( partitions_hdb[7] != null ) partitions_hdbP[7] = (partitions_hdbPc[7] * edge); if ( partitions_hdb[8] != null ) partitions_hdbP[8] = (partitions_hdbPc[8] * edge); partitions_hdbP[0] = edge; } }//percentage calculations for drawing on window resize public void HdbCalculations() { if ( hdbB == true ) { if ( partitions_hdb[1] != null ) partitions_hdbPc[1] = partitions_hdbP[1] / partitions_hdbP[0]; if ( partitions_hdb[2] != null ) partitions_hdbPc[2] = partitions_hdbP[2] / partitions_hdbP[0]; if ( partitions_hdb[3] != null ) partitions_hdbPc[3] = partitions_hdbP[3] / partitions_hdbP[0]; if ( partitions_hdb[4] != null ) partitions_hdbPc[4] = partitions_hdbP[4] / partitions_hdbP[0]; if ( partitions_hdb[5] != null ) partitions_hdbPc[5] = partitions_hdbP[5] / partitions_hdbP[0]; if ( partitions_hdb[6] != null ) partitions_hdbPc[6] = partitions_hdbP[6] / partitions_hdbP[0]; if ( partitions_hdb[7] != null ) partitions_hdbPc[7] = partitions_hdbP[7] / partitions_hdbP[0]; if ( partitions_hdb[8] != null ) partitions_hdbPc[8] = partitions_hdbP[8] / partitions_hdbP[0]; } } public void SdaDrawingCalculations(Int32 edge) { if ( sdaB == true ) { if ( partitions_sda[1] != null ) partitions_sdaP[1] = (partitions_sdaPc[1] * edge); if ( partitions_sda[2] != null ) partitions_sdaP[2] = (partitions_sdaPc[2] * edge); if ( partitions_sda[3] != null ) partitions_sdaP[3] = (partitions_sdaPc[3] * edge); if ( partitions_sda[4] != null ) partitions_sdaP[4] = (partitions_sdaPc[4] * edge); if ( partitions_sda[5] != null ) partitions_sdaP[5] = (partitions_sdaPc[5] * edge); if ( partitions_sda[6] != null ) partitions_sdaP[6] = (partitions_sdaPc[6] * edge); if ( partitions_sda[7] != null ) partitions_sdaP[7] = (partitions_sdaPc[7] * edge); if ( partitions_sda[8] != null ) partitions_sdaP[8] = (partitions_sdaPc[8] * edge); partitions_sdaP[0] = edge; } }//percentage calculations for drawing on window resize public void SdaCalculations() { if ( sdaB == true ) { if ( partitions_sda[1] != null ) partitions_sdaPc[1] = partitions_sdaP[1] / partitions_sdaP[0]; if ( partitions_sda[2] != null ) partitions_sdaPc[2] = partitions_sdaP[2] / partitions_sdaP[0]; if ( partitions_sda[3] != null ) partitions_sdaPc[3] = partitions_sdaP[3] / partitions_sdaP[0]; if ( partitions_sda[4] != null ) partitions_sdaPc[4] = partitions_sdaP[4] / partitions_sdaP[0]; if ( partitions_sda[5] != null ) partitions_sdaPc[5] = partitions_sdaP[5] / partitions_sdaP[0]; if ( partitions_sda[6] != null ) partitions_sdaPc[6] = partitions_sdaP[6] / partitions_sdaP[0]; if ( partitions_sda[7] != null ) partitions_sdaPc[7] = partitions_sdaP[7] / partitions_sdaP[0]; if ( partitions_sda[8] != null ) partitions_sdaPc[8] = partitions_sdaP[8] / partitions_sdaP[0]; } } public void SdbDrawingCalculations(Int32 edge) { if ( sdbB == true ) { if ( partitions_sdb[1] != null ) partitions_sdbP[1] = (partitions_sdbPc[1] * edge); if ( partitions_sdb[2] != null ) partitions_sdbP[2] = (partitions_sdbPc[2] * edge); if ( partitions_sdb[3] != null ) partitions_sdbP[3] = (partitions_sdbPc[3] * edge); if ( partitions_sdb[4] != null ) partitions_sdbP[4] = (partitions_sdbPc[4] * edge); if ( partitions_sdb[5] != null ) partitions_sdbP[5] = (partitions_sdbPc[5] * edge); if ( partitions_sdb[6] != null ) partitions_sdbP[6] = (partitions_sdbPc[6] * edge); if ( partitions_sdb[7] != null ) partitions_sdbP[7] = (partitions_sdbPc[7] * edge); if ( partitions_sdb[8] != null ) partitions_sdbP[8] = (partitions_sdbPc[8] * edge); partitions_sdbP[0] = edge; } }//percentage calculations for drawing on window resize public void SdbCalculations() { if ( sdbB == true ) { if ( partitions_sdb[1] != null ) partitions_sdbPc[1] = partitions_sdbP[1] / partitions_sdbP[0]; if ( partitions_sdb[2] != null ) partitions_sdbPc[2] = partitions_sdbP[2] / partitions_sdbP[0]; if ( partitions_sdb[3] != null ) partitions_sdbPc[3] = partitions_sdbP[3] / partitions_sdbP[0]; if ( partitions_sdb[4] != null ) partitions_sdbPc[4] = partitions_sdbP[4] / partitions_sdbP[0]; if ( partitions_sdb[5] != null ) partitions_sdbPc[5] = partitions_sdbP[5] / partitions_sdbP[0]; if ( partitions_sdb[6] != null ) partitions_sdbPc[6] = partitions_sdbP[6] / partitions_sdbP[0]; if ( partitions_sdb[7] != null ) partitions_sdbPc[7] = partitions_sdbP[7] / partitions_sdbP[0]; if ( partitions_sdb[8] != null ) partitions_sdbPc[8] = partitions_sdbP[8] / partitions_sdbP[0]; } } } } //ghaefb sysinfo-0.7/Sysinfo/Sysinfo.Sysinfo.pc.in0000644000076400007640000000052010523117357017743 0ustar ghaefbghaefbprefix=@prefix@ exec_prefix=${prefix} pkglibdir=@libdir@/@PACKAGE@ Libraries= ${pkglibdir}/@SYSINFO_DEBUG_LIB@@SYSINFO_RELEASE_LIB@ Name: Sysinfo.Sysinfo Description: Version: @VERSION@ Requires: gtk-sharp-2.0 mono-cairo gconf-sharp-2.0 glade-sharp-2.0 glib-sharp-2.0 Libs: -r:${pkglibdir}/@SYSINFO_DEBUG_LIB@@SYSINFO_RELEASE_LIB@sysinfo-0.7/Sysinfo/StorageInfo.cs0000644000076400007640000001564610503021245016501 0ustar ghaefbghaefb// Filename: StorageInfo.cs // Contains functions to extract information displayed in Storage category using System; using System.IO; using System.Diagnostics; namespace Sysinfo { public class StorageInfo { //global variables public String [] ide_hda = {null, null, null, null}; public String [] ide_hdb = {null, null, null, null}; public String [] ide_hdc = {null, null, null, null}; public String [] ide_hdd = {null, null, null, null}; public String [] scsi_1 = {null, null, null}; public String [] scsi_2 = {null, null, null}; public String [] scsi_3 = {null, null, null}; public String [] scsi_4 = {null, null, null}; public String ide_interface = "unknown"; //read ide info public void IdeInfo() { String temp; String letter = "a"; for ( int i = 1; i < 5; i++ ) { try { //media if ( File.Exists("/proc/ide/hd" + letter + "/media") ) { using (TextReader textread = File.OpenText("/proc/ide/hd" + letter + "/media")) { temp = textread.ReadLine(); if ( letter == "a" ) ide_hda [0] = temp; if ( letter == "b" ) ide_hdb [0] = temp; if ( letter == "c" ) ide_hdc [0] = temp; if ( letter == "d" ) ide_hdd [0] = temp; } } //model if ( File.Exists("/proc/ide/hd" + letter + "/model") ) { using (TextReader textread = File.OpenText("/proc/ide/hd" + letter + "/model")) { temp = textread.ReadLine(); if ( letter == "a" ) ide_hda [1] = temp; if ( letter == "b" ) ide_hdb [1] = temp; if ( letter == "c" ) ide_hdc [1] = temp; if ( letter == "d" ) ide_hdd [1] = temp; } } //capacity if ( File.Exists("/proc/ide/hd" + letter + "/capacity") ) { using (TextReader textread = File.OpenText("/proc/ide/hd" + letter + "/capacity")) { temp = textread.ReadLine(); if ( letter == "a" ) { temp = ( Double.Parse(temp) / 2000).ToString(); if ( Double.Parse(temp) < 1000) { if ( Double.Parse(temp) <= 1 ) ide_hda [2] = "no media"; else { temp = Double.Parse(temp).ToString("#.#"); ide_hda [2] = temp + " MB"; } } else { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hda [2] = Double.Parse(temp).ToString("#.#") + " GB"; } } if ( letter == "b" ) { temp = ( Double.Parse(temp) / 2000).ToString(); if ( Double.Parse(temp) < 1000) { if ( Double.Parse(temp) <= 1 ) ide_hdb [2] = "no media"; else { temp = Double.Parse(temp).ToString("#.#"); ide_hdb [2] = temp + " MB"; } } else { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdb [2] = Double.Parse(temp).ToString("#.#") + " GB"; } } if ( letter == "c" ) { temp = ( Double.Parse(temp) / 2000).ToString(); if ( Double.Parse(temp) < 1000) { if ( Double.Parse(temp) <= 1 ) ide_hdc [2] = "no media"; else { temp = Double.Parse(temp).ToString("#.#"); ide_hdc [2] = temp + " MB"; } } else { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdc [2] = Double.Parse(temp).ToString("#.#") + " GB"; } } if ( letter == "d" ) { temp = ( Double.Parse(temp) / 2000).ToString(); if ( Double.Parse(temp) < 1000) { if ( Double.Parse(temp) <= 1 ) ide_hdd [2] = "no media"; else { temp = Double.Parse(temp).ToString("#.#"); ide_hdd [2] = temp + " MB"; } } else { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdd [2] = Double.Parse(temp).ToString("#.#") + " GB"; } } } } //cache if ( File.Exists("/proc/ide/hd" + letter + "/cache") ) { using (TextReader textread = File.OpenText("/proc/ide/hd" + letter + "/cache")) { temp = textread.ReadLine(); if ( letter == "a" ) { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hda [3] = temp + " MB"; } if ( letter == "b" ) { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdb [3] = temp + " MB"; } if ( letter == "c" ) { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdc [3] = temp + " MB"; } if ( letter == "d" ) { temp = ( Double.Parse(temp) / 1000).ToString(); ide_hdd [3] = temp + " MB"; } } } if ( i == 1 ) letter = "b"; if ( i == 2 ) letter = "c"; if ( i == 3 ) letter = "d"; } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } } } //read scsi info public void ScsiInfo() { String temp, temp2; Int32 hostN = 1; Int32 vendorN = 1; Int32 modelN = 1; try { //scsi if ( File.Exists("/proc/scsi/scsi") ) { using (TextReader textread = File.OpenText("/proc/scsi/scsi")) { scsi_1[0] = null; scsi_2[0] = null; scsi_3[0] = null; scsi_4[0] = null; while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.StartsWith("Host:") ) { temp = temp.Remove(0, 5); temp = temp.Remove(6, temp.Length - 6); if ( hostN == 1 ) scsi_1[0] = temp; if ( hostN == 2 ) scsi_2[0] = temp; if ( hostN == 3 ) scsi_3[0] = temp; if ( hostN == 4 ) scsi_4[0] = temp; hostN++; } if ( temp.StartsWith(" Vendor:") ) { temp2 = temp; temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf("Model:"), temp.Length - temp.IndexOf("Model:")); if ( vendorN == 1 ) scsi_1[1] = temp; if ( vendorN == 2 ) scsi_2[1] = temp; if ( vendorN == 3 ) scsi_3[1] = temp; if ( vendorN == 4 ) scsi_4[1] = temp; temp2 = temp2.Remove(0, temp2.IndexOf("Model:") + 6 ); temp2 = temp2.Remove(temp2.IndexOf("Rev:"), temp2.Length - temp2.IndexOf("Rev:")); if ( modelN == 1 ) scsi_1[2] = temp2; if ( modelN == 2 ) scsi_2[2] = temp2; if ( modelN == 3 ) scsi_3[2] = temp2; if ( modelN == 4 ) scsi_4[2] = temp2; vendorN++; modelN++; } } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/SystemInfo.cs0000644000076400007640000002110310503021245016342 0ustar ghaefbghaefb// Filename: SystemInfo.cs // Contains functions to extract information displayed in System category using System; using System.IO; using System.Diagnostics; namespace Sysinfo { public class SystemInfo { //global variables public String system_release = "unknown"; public String system_gnomev = "unknown"; public String system_gnomeo = "unknown"; public String system_kernelv = "unknown"; public String system_kernelb = "unknown"; public String system_uptime = "unknown"; public String system_ostype = "unknown"; public String system_gcc = "unknown"; public String system_xorg = "unknown"; public String system_hostname = "unknown"; public String distro = ""; //read release info public void Release() { try { if (File.Exists("/etc/redhat-release")) { using (TextReader textread = File.OpenText("/etc/redhat-release")) { distro = "RedHat"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/fedora-release")) { using (TextReader textread = File.OpenText("/etc/fedora-release")) { distro = "Fedora Core"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/SuSE-release")) { using (TextReader textread = File.OpenText("/etc/SuSE-release")) { distro = "SuSE"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/slackware-version")) { using (TextReader textread = File.OpenText("/etc/slackware-version")) { distro = "Slackware"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/debian_version")) { using (TextReader textread = File.OpenText("/etc/debian_version")) { if (Directory.Exists("/usr/share/ubuntu-docs") || File.Exists("/usr/share/pixmaps/splash/ubuntu-splash.png")) distro = "Ubuntu"; else distro = "Debian"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/mandrake-release")) { using (TextReader textread = File.OpenText("/etc/mandrake-release")) { distro = "Mandrake"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/mandrive-release")) { using (TextReader textread = File.OpenText("/etc/mandrive-release")) { distro = "Mandriva"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/yellowdog-release")) { using (TextReader textread = File.OpenText("/etc/yellowdog-release")) { distro = "Yellowdog"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/sun-release")) { using (TextReader textread = File.OpenText("/etc/sun-release")) { distro = "Sun"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/gentoo-release")) { using (TextReader textread = File.OpenText("/etc/gentoo-release")) { distro = "Gentoo"; system_release = textread.ReadLine(); } } if (File.Exists("/etc/release")) { using (TextReader textread = File.OpenText("/etc/release")) { distro = "Generic"; system_release = textread.ReadLine(); } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } //read GNOME version public void Gnome() { String temp; Boolean gnomeB = false; //Fedora,RedHat,Debian,Ubuntu,... String gnome_about = "/usr/share/gnome-about/gnome-version.xml"; //SuSE if (File.Exists("/opt/gnome/share/gnome-about/gnome-version.xml")) gnome_about = "/opt/gnome/share/gnome-about/gnome-version.xml"; try { using (TextReader textread = File.OpenText(gnome_about)) { while ( gnomeB == false ) { temp = textread.ReadLine(); //get version from xml if ( temp.EndsWith("platform>")) { temp = temp.Remove(0, 12); temp = temp.Remove(temp.IndexOf(""), 11); system_gnomev = temp; } if ( temp.EndsWith("minor>")) { temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf(""), 8); system_gnomev = system_gnomev + "." + temp; } if ( temp.EndsWith("micro>")) { temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf(""), 8); system_gnomev = system_gnomev + "." + temp; } //get distributor if ( temp.EndsWith("distributor>")) { temp = temp.Remove(0, 15); temp = temp.Remove(temp.IndexOf(""), 14); system_gnomeo = temp; } //get build date if ( temp.EndsWith("date>")) { temp = temp.Remove(0, 8); temp = temp.Remove(temp.IndexOf(""), 7); system_gnomeo = system_gnomeo + " " + temp; gnomeB = true; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } } //read kernel version public void Kernel() { try { //get kernel version using (TextReader textread = File.OpenText("/proc/sys/kernel/osrelease")) { system_kernelv = textread.ReadLine(); } //get kernel build date using (TextReader textread = File.OpenText("/proc/sys/kernel/version")) { system_kernelb = textread.ReadLine(); } }catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } //read uptime public void Uptime() { Int32 days, hours, minutes; String temp = ""; try { //get uptime using (TextReader textread = File.OpenText("/proc/uptime")) { temp = textread.ReadLine(); } }catch (Exception ex) { Console.WriteLine( ex ); } //I need just the first number from uptime temp = temp.Remove(temp.IndexOf("."), temp.Length - temp.IndexOf(".") ); //string to int conversion - days days = Int32.Parse(temp); days = days / 86400; //hours hours = Int32.Parse(temp); hours = (hours / 3600) - (days * 24); //minutes minutes = Int32.Parse(temp); minutes = (minutes / 60) - ((days * 1440) + (hours * 60)); system_uptime = days + " days " + hours + " h " + minutes + " min"; } //read ostype public void Ostype() { try { //get ostype using (TextReader textread = File.OpenText("/proc/sys/kernel/ostype")) { system_ostype = textread.ReadLine(); } }catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } //read gcc version public void Gccv() { try { //run command and read output //gcc version Process proc1 = new Process(); proc1.StartInfo.FileName = "gcc"; proc1.StartInfo.Arguments = "-dumpversion"; proc1.StartInfo.UseShellExecute = false; proc1.StartInfo.RedirectStandardOutput = true; proc1.Start(); proc1.WaitForExit(); system_gcc = proc1.StandardOutput.ReadToEnd(); system_gcc = system_gcc.Remove(system_gcc.Length - 1, 1); proc1.Close(); //gcc distibutor machine Process proc2 = new Process(); proc2.StartInfo.FileName = "gcc"; proc2.StartInfo.Arguments = "-dumpmachine"; proc2.StartInfo.UseShellExecute = false; proc2.StartInfo.RedirectStandardOutput = true; proc2.Start(); proc2.WaitForExit(); system_gcc = system_gcc + " (" + proc2.StandardOutput.ReadToEnd(); system_gcc = system_gcc.Remove(system_gcc.Length - 1, 1) + + ")"; proc2.Close(); } catch (System.ComponentModel.Win32Exception ex) { system_gcc = "no gcc detected"; Console.WriteLine( ex ); } } //read xorg version public void Xorg() { String temp; Boolean xorgB = false; try { //get xorg version using (TextReader textread = File.OpenText("/var/log/Xorg.0.log")) { while ( xorgB == false ) { temp = textread.ReadLine(); //version if ( temp.StartsWith("X Window System Version")) { system_xorg = temp.Remove(0, 24); } //build date if ( temp.StartsWith("Build Date")) { system_xorg = system_xorg + " (" + temp.Remove(0, 12) + ")"; xorgB = true; } } } }catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } //read hostname public void Hostname() { try { //get hostname using (TextReader textread = File.OpenText("/proc/sys/kernel/hostname")) { system_hostname = textread.ReadLine(); } }catch (FileNotFoundException ex) { Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/ChangeLog0000644000076400007640000000244410523405151015500 0ustar ghaefbghaefb 2006-06-23 Nil Gradisnik * SystemInfo.cs: Fixed the Slackware release checking from /etc/slackware-release to /etc/slackware-version (Michal Kwidzinski) * NvidiaInfo.cs: Temporary fix in NVIDIA additional info, causing Sysinfo crashing with Eexception thrown. (Michal Kwidzinski) 2006-06-25 Nil Gradisnik * MemoryInfo.cs: Changed the format of used/free memory information, to more sane, user friendly format. I'm including cached and buffered memory with total free memory. Also replaced MB with MiB and using 1024 division istead of 1000 now. * gui.glade, Main.cs: Created a checkbutton for refreshing memory information. 2006-06-26 Nil Gradisnik * Main.cs: Implemented refresh memory information every 3 seconds. * gui.glade: Minor widget adjustments in Memory section. 2006-08-30 Nil Gradisnik * Main.cs: Fixed Notebook switch page fromEventArgs to SwitchPageArgs (mono 1.1.7) 2006-09-16 Nil Gradisnik * ChangeLog: Fixed many warnings(exceptions, cairo stuff) - changed mono 1.1.7 API. 2006-11-04 Nil Gradisnik * Main.cs: Fixed TreeView CursorChanged signal, so it works with the latest GTK+/GTK#. * HardwareInfo.cs: Added Audio device detection from lspci sysinfo-0.7/Sysinfo/MemoryInfo.cs0000644000076400007640000001017610503021245016336 0ustar ghaefbghaefb// Filename: MemoryInfo.cs // Contains functions to extract information displayed in Memory category using System; using System.IO; namespace Sysinfo { public class MemoryInfo { //global variables public String memory_total = "unknown"; public String memory_free = "unknown"; public String memory_free_total = "unknown"; public String memory_swaptotal = "unknown"; public String memory_swapfree = "unknown"; public String memory_buffers = "unknown"; public String memory_cached = "unknown"; public String memory_active = "unknown"; public String memory_inactive = "unknown"; public Double fraction1, fraction2; //read memory info public void MemoryStaticInfo() { String temp; Boolean staticB = false; try { //get memory information from /proc using (TextReader textread = File.OpenText("/proc/meminfo")) { while ( staticB == false ) { temp = textread.ReadLine(); //total if ( temp.StartsWith("MemTotal:")) { temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_total = ( Int32.Parse(temp) / 1024 ).ToString(); } //swap total if ( temp.StartsWith("SwapTotal:")) { temp = temp.Remove(0, 10); temp = temp.Remove(temp.IndexOf("kB"), 2); if ( temp == "0" ) memory_swaptotal = "no swap"; else memory_swaptotal = ( Int32.Parse(temp) / 1024 ).ToString(); staticB = true; } } } }catch (FileNotFoundException ex) { Console.WriteLine( ex); } } //read memory info public void MemoryDynamicInfo() { String temp; Boolean dynamicB = false; try { //get memory information from /proc using (TextReader textread = File.OpenText("/proc/meminfo")) { while ( dynamicB == false ) { temp = textread.ReadLine(); //free if ( temp.StartsWith("MemFree:")) { temp = temp.Remove(0, 8); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_free = ( Int32.Parse(temp) / 1024 ).ToString(); } //buffers if ( temp.StartsWith("Buffers:")) { temp = temp.Remove(0, 8); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_buffers = ( Int32.Parse(temp) / 1024 ).ToString(); } //swap free if ( temp.StartsWith("SwapFree:")) { temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_swapfree = ( Int32.Parse(temp) / 1024 ).ToString(); dynamicB = true; } //cached memory if ( temp.StartsWith("Cached:")) { temp = temp.Remove(0, 7); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_cached = ( Int32.Parse(temp) / 1024 ).ToString(); } //active memory if ( temp.StartsWith("Active:")) { temp = temp.Remove(0, 7); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_active = ( Int32.Parse(temp) / 1024 ).ToString(); } //inactive memory if ( temp.StartsWith("Inactive:")) { temp = temp.Remove(0, 9); temp = temp.Remove(temp.IndexOf("kB"), 2); memory_inactive = ( Int32.Parse(temp) / 1024 ).ToString(); } } } }catch (FileNotFoundException ex) { Console.WriteLine( ex); } memory_free_total = ( Double.Parse(memory_free) + Double.Parse(memory_buffers) + Double.Parse(memory_cached) ).ToString(); } //memory free progressbar public void Progressbar1() { try { fraction1 = Int32.Parse(memory_total) - Int32.Parse(memory_free_total); fraction1 = fraction1 / Int32.Parse(memory_total); } catch (DivideByZeroException ex) { fraction1 = 0; Console.WriteLine( ex ); } } //swap free progressbar public void Progressbar2() { try { fraction2 =Int32.Parse(memory_swaptotal) - Int32.Parse(memory_swapfree); fraction2 = fraction2 / Int32.Parse(memory_swaptotal); } catch (DivideByZeroException ex) { fraction2 = 0; Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/Makefile.am0000644000076400007640000000475610523117357016002 0ustar ghaefbghaefb # Warning: This is an automatically generated file, do not edit! if ENABLE_DEBUG ASSEMBLY_COMPILER_COMMAND = mcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG ASSEMBLY = ../bin/Debug/Sysinfo.exe COMPILE_TARGET = exe ASSEMBLY_WRAPPER = sysinfo ASSEMBLY_WRAPPER_IN = sysinfo.in PROJECT_REFERENCES = BUILD_DIR = ../bin/Debug endif if ENABLE_RELEASE ASSEMBLY_COMPILER_COMMAND = mcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 ASSEMBLY = ../bin/Release/Sysinfo.exe COMPILE_TARGET = exe ASSEMBLY_WRAPPER = sysinfo ASSEMBLY_WRAPPER_IN = sysinfo.in PROJECT_REFERENCES = BUILD_DIR = ../bin/Release endif all: $(ASSEMBLY) FILES = \ ./Main.cs \ ./AssemblyInfo.cs \ ./CpuInfo.cs \ ./HardwareInfo.cs \ ./MainCairoDrawing.cs \ ./MemoryInfo.cs \ ./PartitionsCairoDrawing.cs \ ./PartitionsInfo.cs \ ./SaveToFile.cs \ ./StorageInfo.cs \ ./SystemInfo.cs \ ./NvidiaInfo.cs DATA_FILES = RESOURCES = \ ./gui.glade \ ../artwork/amd_logo.png \ ../artwork/debian_logo.png \ ../artwork/fedora_logo.png \ ../artwork/gentoo_logo.png \ ../artwork/graphiccard.png \ ../artwork/intel_logo.png \ ../artwork/mandriva_logo.png \ ../artwork/motherboard.png \ ../artwork/network.png \ ../artwork/no_image.png \ ../artwork/redhat_logo.png \ ../artwork/slackware_logo.png \ ../artwork/soundcard.png \ ../artwork/square_aluminium.png \ ../artwork/square_butter.png \ ../artwork/square_chameleon.png \ ../artwork/square_chokolate.png \ ../artwork/square_orange.png \ ../artwork/square_plum.png \ ../artwork/square_scarletred.png \ ../artwork/square_skyblue.png \ ../artwork/suse_logo.png \ ../artwork/sysinfo_cpu.png \ ../artwork/sysinfo_hardware.png \ ../artwork/sysinfo_logo.png \ ../artwork/sysinfo_memory.png \ ../artwork/sysinfo_other.png \ ../artwork/sysinfo_partitions.png \ ../artwork/sysinfo_storage.png \ ../artwork/sysinfo_system.png \ ../artwork/sysinfo_usb.png \ ../artwork/ubuntu_logo.png \ ../artwork/sysinfo_nvidia.png \ ../artwork/nvidia_logo.png EXTRAS = \ ./ChangeLog REFERENCES = \ -r:System \ $(GTK_SHARP_20_LIBS) \ $(GLADE_SHARP_20_LIBS) \ $(GCONF_SHARP_20_LIBS) \ $(MONO_CAIRO_LIBS) \ $(GLIB_SHARP_20_LIBS) DLL_REFERENCES = $(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) mkdir -p $(dir $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref) include $(top_srcdir)/Makefile.include sysinfo-0.7/Sysinfo/Main.cs0000644000076400007640000015514210523077123015151 0ustar ghaefbghaefb// project created on 10/18/2005 at 2:06 PM - continued 01/27/2006 // // Main.cs: Main source file of Sysinfo. // // Author: // Nil Gradisnik // // Copyright (C) Nil Gradisnik 2006 // /* * Sysinfo is free software. * * You may redistribute it and/or modify it under the terms of the * GNU General Public License, as published by the Free Software * Foundation; version 2, or (at your option) any later version. * * Sysinfo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Main.cs. See the file "COPYING". If not, * write to: The Free Software Foundation, Inc., * 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ using System; using System.IO; using System.Diagnostics; using System.Text; using System.Runtime.InteropServices; using Gtk; using Glade; using Cairo; using GConf; using GLib; namespace Sysinfo { public class Sysinfo { //set current version string String sysinfo_version = "0.7"; //Glade widgets [Widget] Window window1; [Widget] Notebook notebook1; [Widget] TreeView treeview1; [Widget] HPaned main_hpaned; [Widget] AboutDialog aboutdialog1; [Widget] Dialog preferences_dialog; [Widget] FileChooserDialog filechooserdialog1; [Widget] Statusbar statusbar1; [Widget] Image showhide_image; //preferences [Widget] CheckButton initial_animation_checkbutton, expanders_checkbutton; [Widget] ComboBox section_start_combobox; //index page [Widget] DrawingArea intro_top_drawingarea, intro_bottom_drawingarea; //system page [Widget] DrawingArea system_top_drawingarea; [Widget] Expander system_expander; [Widget] Image system_image; [Widget] Entry system_release_entry, system_gnomev_entry, system_kernelv_entry, system_uptime_entry; [Widget] Entry system_ostype_entry, system_gccv_entry, system_xorgv_entry, system_hostname_entry; //cpu page [Widget] DrawingArea cpu_top_drawingarea; [Widget] Image cpu_image; [Widget] Expander cpu_expander; [Widget] Entry cpu_vendor_entry, cpu_name_entry, cpu_frequency_entry, cpu_cache_entry, cpu_bogomips_entry, cpu_numbering_entry, cpu_flags_entry, cpu_cpus_entry; //memory page [Widget] DrawingArea memory_top_drawingarea; [Widget] Expander memory_expander; [Widget] Entry memory_total_entry, memory_swaptotal_entry, memory_cached_entry, memory_active_entry, memory_inactive_entry; [Widget] ProgressBar memory_progressbar1, memory_progressbar2; [Widget] CheckButton memory_refresh_checkbutton; //storage page [Widget] DrawingArea storage_top_drawingarea; [Widget] TreeView storage_treeview; //partitions /*[Widget] DrawingArea partitions_top_drawingarea, partitions_hda_drawingarea, partitions_hdb_drawingarea, partitions_sda_drawingarea, partitions_sdb_drawingarea; [Widget] TreeView partitions_hda_treeview, partitions_hdb_treeview, partitions_sda_treeview, partitions_sdb_treeview; [Widget] Notebook partitions_notebook; [Widget] ComboBox partitions_combobox;*/ //hardware [Widget] DrawingArea hardware_top_drawingarea; [Widget] ComboBox hardware_combobox; [Widget] TreeView motherboard_treeview, graphiccard_treeview, soundcard_treeview, network_treeview; [Widget] Notebook hardware_notebook; //nvidia [Widget] DrawingArea nvidia_top_drawingarea; [Widget] Image nvidia_image; [Widget] Entry nvidia_model_entry, nvidia_ctype_entry, nvidia_version_entry, nvidia_videoram_entry, nvidia_gpu_entry; //base directory - not needed now //String base_directory = System.AppDomain.CurrentDomain.BaseDirectory; //animation timer unit public uint animation_timer, wait; public uint timedate; //gconf GConf.Client client; static String GCONF_APP_PATH = "/apps/sysinfo"; static String INITIAL_ANIMATION_KEY = GCONF_APP_PATH + "/initial_animation"; static String SECTION_START_KEY = GCONF_APP_PATH + "/section_start"; static String WINDOW_WIDTH_KEY = GCONF_APP_PATH + "/window_width"; static String WINDOW_HEIGHT_KEY = GCONF_APP_PATH + "/window_height"; static String EXPANDERS_KEY = GCONF_APP_PATH + "/expanders_expanded"; //function classes SystemInfo system_info = new SystemInfo(); CpuInfo cpu_info = new CpuInfo(); MemoryInfo memory_info = new MemoryInfo(); StorageInfo storage_info = new StorageInfo(); //PartitionsInfo partitions_info = new PartitionsInfo(); HardwareInfo hardware_info = new HardwareInfo(); NvidiaInfo nvidia_info = new NvidiaInfo(); SaveToFile save_to_file = new SaveToFile(); //main function public static void Main (string[] args) { new Sysinfo (args); } //global navigation list store ListStore liststore1 = new Gtk.ListStore (typeof (Gdk.Pixbuf), typeof (string)); //Sysinfo public Sysinfo (string[] args) { Application.Init (); SetProcessName("sysinfo"); //timedate updates timedate = GLib.Timeout.Add(1000, new GLib.TimeoutHandler(timedate_update)); //glade xml and autoconnect Glade.XML gxml = new Glade.XML (null, "gui.glade", "window1", null); gxml.Autoconnect (this); Glade.XML gxml_aboutd = new Glade.XML (null, "gui.glade", "aboutdialog1", null); gxml_aboutd.Autoconnect (this); Glade.XML gxml_preferencesd = new Glade.XML (null, "gui.glade", "preferences_dialog", null); gxml_preferencesd.Autoconnect (this); Glade.XML gxml_filechooserd = new Glade.XML (null, "gui.glade", "filechooserdialog1", null); gxml_filechooserd.Autoconnect (this); //window1.Icon = new Gdk.Pixbuf(Path.Combine (base_directory, "pix/sysinfo_system.png")); window1.Icon = new Gdk.Pixbuf(null, "sysinfo_system.png"); //treeview populate treeview1.AppendColumn("Pix", new CellRendererPixbuf (), "pixbuf", 0); treeview1.AppendColumn("Text", new CellRendererText (), "text", 1); Gdk.Pixbuf icon1 = new Gdk.Pixbuf(null, "sysinfo_system.png"); Gdk.Pixbuf icon2 = new Gdk.Pixbuf(null, "sysinfo_cpu.png"); Gdk.Pixbuf icon3 = new Gdk.Pixbuf(null, "sysinfo_memory.png"); Gdk.Pixbuf icon4 = new Gdk.Pixbuf(null, "sysinfo_storage.png"); //Gdk.Pixbuf icon5 = new Gdk.Pixbuf(null, "sysinfo_partitions.png"); Gdk.Pixbuf icon6 = new Gdk.Pixbuf(null, "sysinfo_hardware.png"); liststore1.AppendValues (icon1, "System"); liststore1.AppendValues (icon2, "CPU"); liststore1.AppendValues (icon3, "Memory"); liststore1.AppendValues (icon4, "Storage"); //liststore1.AppendValues (icon5, "Partitions"); liststore1.AppendValues (icon6, "Hardware"); //nvidia graphic driver check, add to navigation & to preferences combobox if ( nvidia_info.nvidiaB ) { Gdk.Pixbuf icon7 = new Gdk.Pixbuf(null, "sysinfo_nvidia.png"); liststore1.AppendValues (icon7, "NVIDIA"); section_start_combobox.AppendText("NVIDIA"); } treeview1.Model = liststore1; treeview1.CursorChanged += on_treeview1_cursor_changed; /*****/ //gconf client = new GConf.Client(); UpdateFromGConf(); client.AddNotify (GCONF_APP_PATH, new NotifyEventHandler (GConf_Changed)); //window size try { window1.Resize( (int) client.Get (WINDOW_WIDTH_KEY), (int) client.Get(WINDOW_HEIGHT_KEY) ); } catch (GConf.NoSuchKeyException ex) { Console.WriteLine( ex ); } //initial animation gconf check try { if ( (bool) client.Get (INITIAL_ANIMATION_KEY) ) { //initial animation main_hpaned.Position = 0; wait = GLib.Timeout.Add(2000, new GLib.TimeoutHandler(animation_start)); } else main_hpaned.Position = 100; } catch (GConf.NoSuchKeyException ex) { main_hpaned.Position = 0; wait = GLib.Timeout.Add(2000, new GLib.TimeoutHandler(animation_start)); Console.WriteLine( ex ); } //expanders expanded try { if ( (bool) client.Get (EXPANDERS_KEY) ) { system_expander.Expanded = true; cpu_expander.Expanded = true; memory_expander.Expanded = true; } else { } } catch (GConf.NoSuchKeyException ex) { Console.WriteLine( ex ); } if ( main_hpaned.Position == 0 ) showhide_image.SetFromStock("gtk-goto-last", IconSize.Button); else showhide_image.SetFromStock("gtk-goto-first", IconSize.Button); //section to start in gconf check try { if ( (int) client.Get (SECTION_START_KEY) == 0 ) notebook1.CurrentPage = 0; if ( (int) client.Get (SECTION_START_KEY) == 1 ) notebook1.CurrentPage = 1; if ( (int) client.Get (SECTION_START_KEY) == 2 ) notebook1.CurrentPage = 2; if ( (int) client.Get (SECTION_START_KEY) == 3 ) notebook1.CurrentPage = 3; if ( (int) client.Get (SECTION_START_KEY) == 4 ) notebook1.CurrentPage = 4; if ( (int) client.Get (SECTION_START_KEY) == 5 ) notebook1.CurrentPage = 5; if ( (int) client.Get (SECTION_START_KEY) == 6 ) notebook1.CurrentPage = 6; if ( (int) client.Get (SECTION_START_KEY) == 7 ) notebook1.CurrentPage = 7; }catch (GConf.NoSuchKeyException ex) { section_start_combobox.Active = 0; client.Set (SECTION_START_KEY, 0); Console.WriteLine( ex ); } Application.Run(); } //set process name to sysinfo [DllImport("libc")] private static extern int prctl(int option, byte [] arg2, ulong arg3, ulong arg4, ulong arg5); public static void SetProcessName(string name) { if(prctl(15 /* PR_SET_NAME */, Encoding.ASCII.GetBytes(name + "\0"), 0, 0, 0) != 0) { //throw new ApplicationException("Error setting process name: " + Unix.Native.Stdlib.GetLastError()); } } //navigation events public void on_treeview1_cursor_changed (object o, EventArgs e) { //Console.WriteLine("EVENT !!!"); //navigation TreeIter iter = new TreeIter(); TreeModel model; GLib.Value val = new GLib.Value (); treeview1.Selection.GetSelected (out model, out iter); liststore1.GetValue (iter, 1, ref val); string navigation = (string) val; //I need to change page to trigger the notebook switch page event if (navigation == "System") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 1; } else if (navigation == "CPU") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 2; } else if (navigation == "Memory") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 3; } else if (navigation == "Storage") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 4; }/* else if (navigation == "Partitions") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 7; }*/ else if (navigation == "Hardware") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 5; } else if (navigation == "NVIDIA") { notebook1.CurrentPage = 0; notebook1.CurrentPage = 6; } } //global variables needed Boolean systemA = true; Boolean cpuA = true; //Boolean memoryA = false; Boolean storageA= true; //Boolean partitionsA= true; Boolean hardwareA= true; Boolean nvidiaA= true; String memory_freep = "unknown"; String memory_swapfreep = "unknown"; //storage treestore TreeStore ide_treestore = new TreeStore (typeof (string), typeof (string)); //partitions liststore /*ListStore partitions_hda_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (string), typeof (string)); ListStore partitions_hdb_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (string), typeof (string)); ListStore partitions_sda_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (string), typeof (string)); ListStore partitions_sdb_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (string), typeof (string)); //partitions device combobox ListStore partitions_combobox_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (String)); Gdk.Pixbuf storage_pix = new Gdk.Pixbuf(null, "sysinfo_storage.png"); //partitions square pix Gdk.Pixbuf square_butter = new Gdk.Pixbuf(null, "square_butter.png"); Gdk.Pixbuf square_chameleon = new Gdk.Pixbuf(null, "square_chameleon.png"); Gdk.Pixbuf square_scarletred = new Gdk.Pixbuf(null, "square_scarletred.png"); Gdk.Pixbuf square_skyblue = new Gdk.Pixbuf(null, "square_skyblue.png"); Gdk.Pixbuf square_chokolate = new Gdk.Pixbuf(null, "square_chokolate.png"); Gdk.Pixbuf square_plum = new Gdk.Pixbuf(null, "square_plum.png"); Gdk.Pixbuf square_orange = new Gdk.Pixbuf(null, "square_orange.png"); Gdk.Pixbuf square_aluminium = new Gdk.Pixbuf(null, "square_aluminium.png");*/ /*********************/ //NOTEBOOK SWITCH PAGE public void on_notebook1_switch_page (object o, SwitchPageArgs e) { /************/ //System event if ( notebook1.CurrentPage == 1 ) { if ( systemA ) { system_info.Release(); system_info.Gnome(); system_info.Kernel(); system_release_entry.Text = system_info.system_release; system_gnomev_entry.Text = system_info.system_gnomev; system_kernelv_entry.Text = system_info.system_kernelv; system_uptime_entry.Alignment = 0.5f; system_info.Ostype(); system_info.Gccv(); system_info.Xorg(); system_info.Hostname(); system_ostype_entry.Text = system_info.system_ostype; system_gccv_entry.Text = system_info.system_gcc; system_xorgv_entry.Text = system_info.system_xorg; system_hostname_entry.Text = system_info.system_hostname; //set the distribution logo image if (system_info.distro == "Fedora Core") system_image.FromPixbuf = new Gdk.Pixbuf (null, "fedora_logo.png"); else if (system_info.distro == "RedHat") system_image.FromPixbuf = new Gdk.Pixbuf (null, "redhat_logo.png"); else if (system_info.distro == "SuSE") system_image.FromPixbuf = new Gdk.Pixbuf (null, "suse_logo.png"); else if (system_info.distro == "Slackware") system_image.FromPixbuf = new Gdk.Pixbuf (null, "slackware_logo.png"); else if (system_info.distro == "Debian") system_image.FromPixbuf = new Gdk.Pixbuf (null, "debian_logo.png"); else if (system_info.distro == "Ubuntu") system_image.FromPixbuf = new Gdk.Pixbuf (null, "ubuntu_logo.png"); else if (system_info.distro == "Mandrake") system_image.FromPixbuf = new Gdk.Pixbuf (null, "mandriva_logo.png"); else if (system_info.distro == "Mandriva") system_image.FromPixbuf = new Gdk.Pixbuf (null, "mandriva_logo.png"); /*else if ((system_info.distro == "Yellowdog") system_image.FromPixbuf = new Gdk.Pixbuf (null, "yellowdog_logo.png"); else if ((system_info.distro == "Sun") system_image.FromPixbuf = new Gdk.Pixbuf (null, "sun_logo.png");*/ else if (system_info.distro == "Gentoo") system_image.FromPixbuf = new Gdk.Pixbuf (null, "gentoo_logo.png"); else system_image.FromPixbuf = new Gdk.Pixbuf (null, "no_image.png"); //more details expander if (system_expander.Expanded == true) { system_gnomev_entry.Text = system_info.system_gnomev + " (" + system_info.system_gnomeo + ")"; system_kernelv_entry.Text = system_info.system_kernelv + " (" + system_info.system_kernelb + ")"; } else { system_gnomev_entry.Text = system_info.system_gnomev; system_kernelv_entry.Text = system_info.system_kernelv; } } //uptime needs to be updated every time system_info.Uptime(); system_uptime_entry.Text = system_info.system_uptime; systemA = false; } /**********/ //CPU event if ( notebook1.CurrentPage == 2 ) { if ( cpuA ) { cpu_info.CpuStaticInfo(); cpu_vendor_entry.Text = cpu_info.cpu_vendor; cpu_cpus_entry.Text = cpu_info.cpu_cpus.ToString(); cpu_name_entry.Text = cpu_info.cpu_name; cpu_cache_entry.Text = cpu_info.cpu_cache; cpu_numbering_entry.Text = cpu_info.cpu_numbering; cpu_flags_entry.Text = cpu_info.cpu_flags; //set the cpu imageexpanders_checkbutton.Active = (bool) client.Get (EXPANDERS_KEY); if (cpu_vendor_entry.Text.EndsWith("Intel")) { cpu_image.FromPixbuf = new Gdk.Pixbuf (null, "intel_logo.png"); } else if (cpu_vendor_entry.Text.EndsWith("AMD")) { cpu_image.FromPixbuf = new Gdk.Pixbuf (null, "amd_logo.png"); } cpuA = false; } //this needs to be updated every time cpu_info.CpuDynamicInfo(); cpu_frequency_entry.Text = cpu_info.cpu_frequency; cpu_bogomips_entry.Text = cpu_info.cpu_bogomips; } /************/ //Memory event if ( notebook1.CurrentPage == 3 ) { MemoryRefresh(); } /************/ //Storage event if ( notebook1.CurrentPage == 4 ) { TreeIter ide_iter; if ( storageA ) { //BOLD text try //CellRendererText cellr = new CellRendererText (); //cellr.Weight = (int)Pango.Weight.Bold; storage_treeview.AppendColumn("Device", new CellRendererText (), "text", 0); storage_treeview.AppendColumn("Extracted information", new CellRendererText (), "text", 1); storageA = false; } //clear treestore and call function again ide_treestore.Clear(); storage_info.IdeInfo(); //ide info - populate treestore if (storage_info.ide_hda[1] != null ) { ide_iter = ide_treestore.AppendValues ("Primary Master /dev/hda", storage_info.ide_hda[0]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.ide_hda[1]); if (storage_info.ide_hda[2] != null) ide_treestore.AppendValues (ide_iter, "Capacity", storage_info.ide_hda[2]); if (storage_info.ide_hda[3] != null) ide_treestore.AppendValues (ide_iter, "Cache", storage_info.ide_hda[3]); } if (storage_info.ide_hdb[1] != null) { ide_iter = ide_treestore.AppendValues ("Primary Slave /dev/hdb", storage_info.ide_hdb[0]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.ide_hdb[1]); if (storage_info.ide_hdb[2] != null) ide_treestore.AppendValues (ide_iter, "Capacity", storage_info.ide_hdb[2]); if (storage_info.ide_hdb[3] != null) ide_treestore.AppendValues (ide_iter, "Cache", storage_info.ide_hdb[3]); } if (storage_info.ide_hdc[1] != null) { ide_iter = ide_treestore.AppendValues ("Secondary Master /dev/hdc", storage_info.ide_hdc[0]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.ide_hdc[1]); if (storage_info.ide_hdc[2] != null) ide_treestore.AppendValues (ide_iter, "Capacity", storage_info.ide_hdc[2]); if (storage_info.ide_hdc[3] != null) ide_treestore.AppendValues (ide_iter, "Cache", storage_info.ide_hdc[3]); } if (storage_info.ide_hdd[1]!= null) { ide_iter = ide_treestore.AppendValues ("Secondary Slave /dev/hdd", storage_info.ide_hdd[0]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.ide_hdd[1]); if (storage_info.ide_hdd[2] != null) ide_treestore.AppendValues (ide_iter, "Capacity", storage_info.ide_hdd[2]); if (storage_info.ide_hdd[3] != null) ide_treestore.AppendValues (ide_iter, "Cache", storage_info.ide_hdd[3]); } //scsi info - populate treestore storage_info.ScsiInfo(); if (storage_info.scsi_1[0] != null) { ide_iter = ide_treestore.AppendValues ("SCSI device", storage_info.scsi_1[0]);; ide_treestore.AppendValues (ide_iter, "Vendor", storage_info.scsi_1[1]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.scsi_1[2]); } if (storage_info.scsi_2[0] != null) { ide_iter = ide_treestore.AppendValues ("SCSI device", storage_info.scsi_2[0]);; ide_treestore.AppendValues (ide_iter, "Vendor", storage_info.scsi_2[1]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.scsi_2[2]); } if (storage_info.scsi_3[0] != null) { ide_iter = ide_treestore.AppendValues ("SCSI device", storage_info.scsi_3[0]);; ide_treestore.AppendValues (ide_iter, "Vendor", storage_info.scsi_3[1]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.scsi_3[2]); } if (storage_info.scsi_4[0] != null) { ide_iter = ide_treestore.AppendValues ("SCSI device", storage_info.scsi_4[0]); ide_treestore.AppendValues (ide_iter, "Vendor", storage_info.scsi_4[1]); ide_treestore.AppendValues (ide_iter, "Model", storage_info.scsi_4[2]); } storage_treeview.Model = ide_treestore; //storage_treeview.ExpandAll(); } /*************/ //Partitions event /*if ( notebook1.CurrentPage == 7 ) { //call all functions partitions_info.PartitionsHda(); partitions_info.PartitionsHdb(); partitions_info.PartitionsSda(); partitions_info.PartitionsSdb(); //append columns to treeviews if ( partitionsA ) { partitions_hda_treeview.AppendColumn("Color", new CellRendererPixbuf (), "pixbuf", 0); partitions_hda_treeview.AppendColumn("Device", new CellRendererText (), "text", 1); partitions_hda_treeview.AppendColumn("Partition size", new CellRendererText (), "text", 2); partitions_hdb_treeview.AppendColumn("Color", new CellRendererPixbuf (), "pixbuf", 0); partitions_hdb_treeview.AppendColumn("Device", new CellRendererText (), "text", 1); partitions_hdb_treeview.AppendColumn("Partition size", new CellRendererText (), "text", 2); partitions_sda_treeview.AppendColumn("Color", new CellRendererPixbuf (), "pixbuf", 0); partitions_sda_treeview.AppendColumn("Device", new CellRendererText (), "text", 1); partitions_sda_treeview.AppendColumn("Partition size", new CellRendererText (), "text", 2); partitions_sdb_treeview.AppendColumn("Color", new CellRendererPixbuf (), "pixbuf", 0); partitions_sdb_treeview.AppendColumn("Device", new CellRendererText (), "text", 1); partitions_sdb_treeview.AppendColumn("Partition size", new CellRendererText (), "text", 2); partitions_info.HdaCalculations(); partitions_info.HdbCalculations(); partitions_info.SdaCalculations(); partitions_info.SdbCalculations(); partitionsA = false; } partitions_combobox.Clear(); partitions_combobox_liststore.Clear(); //hda if ( partitions_info.hdaB ) { partitions_hda_liststore.Clear(); if ( partitions_info.partitions_hda[1] != null ) partitions_hda_liststore.AppendValues (square_butter, "/dev/hda1", partitions_info.partitions_hda[1]); if ( partitions_info.partitions_hda[2] != null ) partitions_hda_liststore.AppendValues (square_chameleon, "/dev/hda2", partitions_info.partitions_hda[2]); if ( partitions_info.partitions_hda[3] != null ) partitions_hda_liststore.AppendValues (square_scarletred, "/dev/hda3", partitions_info.partitions_hda[3]); if ( partitions_info.partitions_hda[4] != null ) partitions_hda_liststore.AppendValues (square_skyblue, "/dev/hda4", partitions_info.partitions_hda[4]); if ( partitions_info.partitions_hda[5] != null ) partitions_hda_liststore.AppendValues (square_chokolate, "/dev/hda5", partitions_info.partitions_hda[5]); if ( partitions_info.partitions_hda[6] != null ) partitions_hda_liststore.AppendValues (square_plum, "/dev/hda6", partitions_info.partitions_hda[6]); if ( partitions_info.partitions_hda[7] != null ) partitions_hda_liststore.AppendValues (square_orange, "/dev/hda7", partitions_info.partitions_hda[7]); if ( partitions_info.partitions_hda[8] != null ) partitions_hda_liststore.AppendValues (square_aluminium, "/dev/hda8", partitions_info.partitions_hda[8]); partitions_hda_treeview.Model = partitions_hda_liststore; //add to combobox partitions_combobox_liststore.AppendValues(storage_pix, " /dev/hda "); } //hdb if ( partitions_info.hdbB ) { partitions_hdb_liststore.Clear(); if ( partitions_info.partitions_hdb[1] != null ) partitions_hdb_liststore.AppendValues (square_butter, "/dev/hdb1", partitions_info.partitions_hdb[1]); if ( partitions_info.partitions_hdb[2] != null ) partitions_hdb_liststore.AppendValues (square_chameleon, "/dev/hdb2", partitions_info.partitions_hdb[2]); if ( partitions_info.partitions_hdb[3] != null ) partitions_hdb_liststore.AppendValues (square_scarletred, "/dev/hdb3", partitions_info.partitions_hdb[3]); if ( partitions_info.partitions_hdb[4] != null ) partitions_hdb_liststore.AppendValues (square_skyblue, "/dev/hdb4", partitions_info.partitions_hdb[4]); if ( partitions_info.partitions_hdb[5] != null ) partitions_hdb_liststore.AppendValues (square_chokolate, "/dev/hdb5", partitions_info.partitions_hdb[5]); if ( partitions_info.partitions_hdb[6] != null ) partitions_hdb_liststore.AppendValues (square_plum, "/dev/hdb6", partitions_info.partitions_hdb[6]); if ( partitions_info.partitions_hdb[7] != null ) partitions_hdb_liststore.AppendValues (square_orange, "/dev/hdb7", partitions_info.partitions_hdb[7]); if ( partitions_info.partitions_hdb[8] != null ) partitions_hdb_liststore.AppendValues (square_aluminium, "/dev/hdb8", partitions_info.partitions_hdb[8]); partitions_hdb_treeview.Model = partitions_hdb_liststore; //add to combobox partitions_combobox_liststore.AppendValues(storage_pix, " /dev/hdb "); } //sda if ( partitions_info.sdaB ) { partitions_sda_liststore.Clear(); if ( partitions_info.partitions_sda[1] != null ) partitions_sda_liststore.AppendValues (square_butter, "/dev/sda1", partitions_info.partitions_sda[1]); if ( partitions_info.partitions_sda[2] != null ) partitions_sda_liststore.AppendValues (square_chameleon, "/dev/sda2", partitions_info.partitions_sda[2]); if ( partitions_info.partitions_sda[3] != null ) partitions_sda_liststore.AppendValues (square_scarletred, "/dev/sda3", partitions_info.partitions_sda[3]); if ( partitions_info.partitions_sda[4] != null ) partitions_sda_liststore.AppendValues (square_skyblue, "/dev/sda4", partitions_info.partitions_sda[4]); if ( partitions_info.partitions_sda[5] != null ) partitions_sda_liststore.AppendValues (square_chokolate, "/dev/sda5", partitions_info.partitions_sda[5]); if ( partitions_info.partitions_sda[6] != null ) partitions_sda_liststore.AppendValues (square_plum, "/dev/sda6", partitions_info.partitions_sda[6]); if ( partitions_info.partitions_sda[7] != null ) partitions_sda_liststore.AppendValues (square_orange, "/dev/sda7", partitions_info.partitions_sda[7]); if ( partitions_info.partitions_sda[8] != null ) partitions_sda_liststore.AppendValues (square_aluminium, "/dev/sda8", partitions_info.partitions_sda[8]); partitions_sda_treeview.Model = partitions_sda_liststore; //add to combobox partitions_combobox_liststore.AppendValues(storage_pix, " /dev/sda "); } //sdb if ( partitions_info.sdbB ) { partitions_sdb_liststore.Clear(); if ( partitions_info.partitions_sdb[1] != null ) partitions_sdb_liststore.AppendValues (square_butter, "/dev/sdb1", partitions_info.partitions_sdb[1]); if ( partitions_info.partitions_sdb[2] != null ) partitions_sdb_liststore.AppendValues (square_chameleon, "/dev/sdb2", partitions_info.partitions_sdb[2]); if ( partitions_info.partitions_sdb[3] != null ) partitions_sdb_liststore.AppendValues (square_scarletred, "/dev/sdb3", partitions_info.partitions_sdb[3]); if ( partitions_info.partitions_sdb[4] != null ) partitions_sdb_liststore.AppendValues (square_skyblue, "/dev/sdb4", partitions_info.partitions_sdb[4]); if ( partitions_info.partitions_sdb[5] != null ) partitions_sdb_liststore.AppendValues (square_chokolate, "/dev/sdb5", partitions_info.partitions_sdb[5]); if ( partitions_info.partitions_sdb[6] != null ) partitions_sdb_liststore.AppendValues (square_plum, "/dev/sdb6", partitions_info.partitions_sdb[6]); if ( partitions_info.partitions_sdb[7] != null ) partitions_sdb_liststore.AppendValues (square_orange, "/dev/sdb7", partitions_info.partitions_sdb[7]); if ( partitions_info.partitions_sdb[8] != null ) partitions_sdb_liststore.AppendValues (square_aluminium, "/dev/sdb8", partitions_info.partitions_sdb[8]); partitions_sdb_treeview.Model = partitions_sdb_liststore; //add to combobox partitions_combobox_liststore.AppendValues(storage_pix, " /dev/sdb "); } //combobox CellRendererPixbuf pixbuf_renderer = new CellRendererPixbuf (); CellRendererText text_renderer = new CellRendererText (); partitions_combobox.PackStart(pixbuf_renderer, false); partitions_combobox.PackStart(text_renderer, true); partitions_combobox.AddAttribute (pixbuf_renderer, "pixbuf", 0); partitions_combobox.AddAttribute (text_renderer, "text", 1); partitions_combobox.Model = partitions_combobox_liststore; partitions_combobox.Active = 0; }*/ /*************/ //Hardware event if ( notebook1.CurrentPage == 5 ) { if ( hardwareA ) { //combobox ListStore hardware_combobox_liststore = new ListStore (typeof (Gdk.Pixbuf), typeof (String)); Gdk.Pixbuf motherboard_pix = new Gdk.Pixbuf(null, "motherboard.png"); Gdk.Pixbuf graphiccard_pix = new Gdk.Pixbuf(null, "graphiccard.png"); Gdk.Pixbuf soundcard_pix = new Gdk.Pixbuf(null, "soundcard.png"); Gdk.Pixbuf network_pix = new Gdk.Pixbuf(null, "network.png"); hardware_combobox_liststore.AppendValues(motherboard_pix, " Motherboard "); hardware_combobox_liststore.AppendValues(graphiccard_pix, " Graphic card "); hardware_combobox_liststore.AppendValues(soundcard_pix, " Sound card "); hardware_combobox_liststore.AppendValues(network_pix, " Network "); hardware_combobox.Clear(); CellRendererPixbuf pixbuf_renderer = new CellRendererPixbuf (); CellRendererText text_renderer = new CellRendererText (); hardware_combobox.PackStart(pixbuf_renderer, false); hardware_combobox.PackStart(text_renderer, true); hardware_combobox.AddAttribute (pixbuf_renderer, "pixbuf", 0); hardware_combobox.AddAttribute (text_renderer, "text", 1); hardware_combobox.Model = hardware_combobox_liststore; hardware_combobox.Active = 0; //call function hardware_info.StaticInfo(); //MOTHERBOARD TreeStore motherboard_treestore = new TreeStore (typeof (string)); TreeIter motherboard_iter; motherboard_treeview.AppendColumn("Motherboard", new CellRendererText (), "text", 0); //host brige info - populate treestore if ( hardware_info.host_bridge[0] != null ) { motherboard_iter = motherboard_treestore.AppendValues ("Host bridge"); motherboard_treestore.AppendValues (motherboard_iter, hardware_info.host_bridge[0]); if ( hardware_info.host_bridge[1] != null ) motherboard_treestore.AppendValues (motherboard_iter, "Subsystem: " + hardware_info.host_bridge[1]); } //pci brige info - populate treestore if ( hardware_info.pci_bridge[0] != null ) { motherboard_iter = motherboard_treestore.AppendValues ("PCI bridge(s)"); for ( int i = 0; i < 5; i++) { if ( hardware_info.pci_bridge[i] != null ) motherboard_treestore.AppendValues (motherboard_iter, hardware_info.pci_bridge[i]); } } //usb controller info - populate treestore if ( hardware_info.usb_controller[0] != null ) { motherboard_iter = motherboard_treestore.AppendValues ("USB controller(s)"); for ( int i = 0; i < 5; i++) { if ( hardware_info.usb_controller[i] != null ) motherboard_treestore.AppendValues (motherboard_iter, hardware_info.usb_controller[i]); } } //isa brige info - populate treestore if ( hardware_info.isa_bridge[0] != null ) { motherboard_iter = motherboard_treestore.AppendValues ("ISA bridge"); motherboard_treestore.AppendValues (motherboard_iter, hardware_info.isa_bridge[0]); if ( hardware_info.isa_bridge[1] != null ) motherboard_treestore.AppendValues (motherboard_iter, "Subsystem: " + hardware_info.isa_bridge[1]); } //ide interface info - populate treestore if ( hardware_info.ide_interface[0] != null ) { motherboard_iter = motherboard_treestore.AppendValues ("IDE interface"); motherboard_treestore.AppendValues (motherboard_iter, hardware_info.ide_interface[0]); if ( hardware_info.ide_interface[1] != null ) motherboard_treestore.AppendValues (motherboard_iter, "Subsystem: " + hardware_info.ide_interface[1]); } motherboard_treeview.Model = motherboard_treestore; //motherboard_treeview.ExpandAll(); //GRAPHIC CARD TreeStore graphiccard_treestore = new TreeStore (typeof (string)); TreeIter graphiccard_iter; graphiccard_treeview.AppendColumn("Graphic card", new CellRendererText (), "text", 0); //vga controller info - populate treestore if ( hardware_info.vga_controller[0] != null ) { graphiccard_iter = graphiccard_treestore.AppendValues ("VGA compatible controller"); graphiccard_treestore.AppendValues (graphiccard_iter, hardware_info.vga_controller[0]); if ( hardware_info.vga_controller[1] != null ) graphiccard_treestore.AppendValues (graphiccard_iter, "Subsystem: " + hardware_info.vga_controller[1]); } graphiccard_treeview.Model = graphiccard_treestore; //graphiccard_treeview.ExpandAll(); //SOUND CARD TreeStore soundcard_treestore = new TreeStore (typeof (string)); TreeIter soundcard_iter; soundcard_treeview.AppendColumn("Sound card", new CellRendererText (), "text", 0); //multimedia audio info - populate treestore if ( hardware_info.multimedia_controller[0] != null ) { soundcard_iter = soundcard_treestore.AppendValues ("Multmedia audio controller"); soundcard_treestore.AppendValues (soundcard_iter, hardware_info.multimedia_controller[0]); if ( hardware_info.multimedia_controller[1] != null ) soundcard_treestore.AppendValues (soundcard_iter, "Subsystem: " + hardware_info.multimedia_controller[1]); } soundcard_treeview.Model = soundcard_treestore; //soundcard_treeview.ExpandAll(); //NETWORK TreeStore network_treestore = new TreeStore (typeof (string)); TreeIter network_iter; network_treeview.AppendColumn("Network", new CellRendererText (), "text", 0); //network info - populate treestore if ( hardware_info.network_controller[0] != null ) { network_iter = network_treestore.AppendValues ("Network controller"); network_treestore.AppendValues (network_iter, hardware_info.network_controller[0]); if ( hardware_info.network_controller[1] != null ) network_treestore.AppendValues (network_iter, "Subsystem: " + hardware_info.network_controller[1]); } //ethernet info - populate treestore if ( hardware_info.ethernet_controller[0] != null ) { network_iter = network_treestore.AppendValues ("Ethernet controller"); network_treestore.AppendValues (network_iter, hardware_info.ethernet_controller[0]); if ( hardware_info.ethernet_controller[1] != null ) network_treestore.AppendValues (network_iter, "Subsystem: " + hardware_info.ethernet_controller[1]); } //modem info - populate treestore if ( hardware_info.modem[0] != null ) { network_iter = network_treestore.AppendValues ("Modem"); network_treestore.AppendValues (network_iter, hardware_info.modem[0]); if ( hardware_info.modem[1] != null ) network_treestore.AppendValues (network_iter, "Subsystem: " + hardware_info.modem[1]); } network_treeview.Model = network_treestore; //network_treeview.ExpandAll(); } hardwareA = false; } /*************/ //NVIDIA event if ( notebook1.CurrentPage == 6 ) { if ( nvidiaA ) { nvidia_image.FromPixbuf = new Gdk.Pixbuf (null, "nvidia_logo.png"); nvidia_info.MainInfo(); nvidia_info.Version(); nvidia_info.AditionaInfo(); nvidia_model_entry.Text = nvidia_info.nvidia_model; nvidia_ctype_entry.Text = nvidia_info.nvidia_ctype + " " + nvidia_info.nvidia_busrate; nvidia_videoram_entry.Text = nvidia_info.nvidia_videoram; nvidia_gpu_entry.Text = nvidia_info.nvidia_gpu; nvidia_version_entry.Text = nvidia_info.nvidia_version; nvidiaA = false; } } } public void MemoryRefresh() { //I guess this needs to be updated every time too... memory_info.MemoryStaticInfo(); memory_total_entry.Text = memory_info.memory_total + " MiB"; //check if swap exists if ( memory_info.memory_swaptotal == "0" ) { memory_swaptotal_entry.Text = "no swap"; } else memory_swaptotal_entry.Text = memory_info.memory_swaptotal + " MiB"; //this needs to be updated every time memory_info.MemoryDynamicInfo(); try { memory_freep = ( (Int32.Parse(memory_info.memory_free_total) * 100) / Int32.Parse(memory_info.memory_total) ).ToString(); memory_swapfreep = ( (Int32.Parse(memory_info.memory_swapfree) * 100) / Int32.Parse(memory_info.memory_swaptotal) ).ToString(); } catch (DivideByZeroException ex) { Console.WriteLine( ex ); } //progress bar memory_info.Progressbar1(); memory_progressbar1.Fraction = memory_info.fraction1; memory_info.Progressbar2(); if ( memory_info.fraction2 > 0 ) memory_progressbar2.Fraction = memory_info.fraction2; //more details expander if (memory_expander.Expanded == false) { memory_progressbar1.Text = "Free: " + memory_freep + "%"; if ( memory_swaptotal_entry.Text == "no swap" ) memory_progressbar2.Text = "no swap"; else memory_progressbar2.Text ="Free: " + memory_swapfreep + "%"; } else { memory_progressbar1.Text = "Free: " + memory_freep + "% (" + memory_info.memory_free_total + " MiB)"; if ( memory_swaptotal_entry.Text == "no swap" ) memory_progressbar2.Text = "no swap"; else memory_progressbar2.Text = "Free: " + memory_swapfreep + "% (" + memory_info.memory_swapfree + " MiB)"; } memory_cached_entry.Text = memory_info.memory_cached + " MiB"; memory_active_entry.Text = memory_info.memory_active + " MiB"; memory_inactive_entry.Text = memory_info.memory_inactive + " MiB"; //memoryA = true; } /***************/ //system expander public void on_system_expander_activate (object o, EventArgs e) { if (system_expander.Expanded == true) { system_gnomev_entry.Text = system_info.system_gnomev + " (" + system_info.system_gnomeo + ")"; system_kernelv_entry.Text = system_info.system_kernelv + " (" + system_info.system_kernelb + ")"; } else if (system_expander.Expanded == false) { system_gnomev_entry.Text = system_info.system_gnomev; system_kernelv_entry.Text = system_info.system_kernelv; } } //memory expander public void on_memory_expander_activate (object o, EventArgs e) { if (memory_expander.Expanded == true) { memory_progressbar1.Text = "Free: " + memory_freep + "% (" + memory_info.memory_free_total + " MiB)"; if ( memory_swaptotal_entry.Text == "no swap" ) memory_progressbar2.Text = "no swap"; else memory_progressbar2.Text = "Free: " + memory_swapfreep + "% (" + memory_info.memory_swapfree + " MiB)"; } else if (memory_expander.Expanded == false) { memory_progressbar1.Text = "Free: " + memory_freep + "%"; if ( memory_swaptotal_entry.Text == "no swap" ) memory_progressbar2.Text = "no swap"; else memory_progressbar2.Text = "Free: " + memory_swapfreep + "%"; } } //memory refresh public uint memory_refresh_timer; public void on_memory_refresh_checkbutton_toggled (object o, EventArgs e) { if ( memory_refresh_checkbutton.Active ) memory_refresh_timer = GLib.Timeout.Add( 3000 , new GLib.TimeoutHandler(memory_refresh)); } public bool memory_refresh () { MemoryRefresh(); if ( memory_refresh_checkbutton.Active ) return true; else return false; } //partitions combobox public void on_partitions_combobox_changed (object o, EventArgs e) { /* TreeIter iter; if (partitions_combobox.GetActiveIter (out iter)) { if ( partitions_combobox.Model.GetValue (iter, 1).Equals( " /dev/hda ") ) partitions_notebook.Page = 0; if ( partitions_combobox.Model.GetValue (iter, 1).Equals( " /dev/hdb ") ) partitions_notebook.Page = 1; if ( partitions_combobox.Model.GetValue (iter, 1).Equals( " /dev/sda ") ) partitions_notebook.Page = 2; if ( partitions_combobox.Model.GetValue (iter, 1).Equals( " /dev/sdb ") ) partitions_notebook.Page = 3; }*/ } //hardware combobox public void on_hardware_combobox_changed (object o, EventArgs e) { TreeIter iter; if (hardware_combobox.GetActiveIter (out iter)) { if ( hardware_combobox.Model.GetValue (iter, 1).Equals( " Motherboard ") ) hardware_notebook.Page = 0; if ( hardware_combobox.Model.GetValue (iter, 1).Equals( " Graphic card ") ) hardware_notebook.Page = 1; if ( hardware_combobox.Model.GetValue (iter, 1).Equals( " Sound card ") ) hardware_notebook.Page = 2; if ( hardware_combobox.Model.GetValue (iter, 1).Equals( " Network ") ) hardware_notebook.Page = 3; } } Gdk.Pixbuf logoPix = new Gdk.Pixbuf(null, "sysinfo_logo.png"); Gdk.Pixbuf iconPix = new Gdk.Pixbuf(null, "sysinfo_system.png"); /**************/ //welcome button public void on_index_clicked (object o, EventArgs e) { notebook1.CurrentPage = 0; } //launch nvidia-settings button public void on_nvidia_button_clicked (object o, EventArgs e) { Process proc1 = new Process(); proc1.StartInfo.FileName = "nvidia-settings"; //proc1.StartInfo.Arguments = "&"; //proc1.StartInfo.UseShellExecute = false; //proc1.StartInfo.RedirectStandardOutput = true; proc1.Start(); //proc1.WaitForExit(); proc1.Close(); } //window delete Int32 width, height; public void on_window1_delete_event (object sender, DeleteEventArgs a) { window1.GetSize( out width, out height ); client.Set ( WINDOW_WIDTH_KEY, width); client.Set ( WINDOW_HEIGHT_KEY, height); Application.Quit (); a.RetVal = true; } public void on_filechooserdialog1_close (object o, EventArgs e) { filechooserdialog1.Hide(); } //menu - quit public void on_quit1_activate (object o, EventArgs e) { window1.GetSize( out width, out height ); client.Set ( WINDOW_WIDTH_KEY, width); client.Set ( WINDOW_HEIGHT_KEY, height); Application.Quit (); } //menu - save to file public void on_save1_activate (object o, EventArgs e) { Int32 result = filechooserdialog1.Run(); switch ( result ) { case ( (int) Gtk.ResponseType.Ok ): { String filename = filechooserdialog1.Filename.ToString(); save_to_file.Save(filename, system_info, cpu_info, memory_info, storage_info, hardware_info, nvidia_info); filechooserdialog1.Hide(); break; } case ( (int) Gtk.ResponseType.Cancel ): { filechooserdialog1.Hide(); break; } default: break; } } //menu - about dialog public void on_about1_activate (object o, EventArgs e) { aboutdialog1.Version = sysinfo_version; aboutdialog1.Logo = logoPix; aboutdialog1.Icon = iconPix; aboutdialog1.Show(); } //menu - preferences dialog public void on_preferences1_activate (object o, EventArgs e) { preferences_dialog.Show(); } public void on_closebutton1_clicked (object o, EventArgs e) { preferences_dialog.Hide(); } //gconf update void UpdateFromGConf () { try { initial_animation_checkbutton.Active = (bool) client.Get (INITIAL_ANIMATION_KEY); Int32 section_start_number = (int) client.Get (SECTION_START_KEY); expanders_checkbutton.Active = (bool) client.Get (EXPANDERS_KEY); //Int32 window_width = (int) client.Get (WINDOW_WIDTH_KEY); //Int32 window_height = (int) client.Get (WINDOW_HEIGHT_KEY); section_start_combobox.Active = section_start_number; } catch (GConf.NoSuchKeyException e) { initial_animation_checkbutton.Active = true; expanders_checkbutton.Active = false; client.Set ( INITIAL_ANIMATION_KEY, true ); client.Set ( EXPANDERS_KEY, false ); Console.WriteLine( e ); } catch (System.InvalidCastException e) { Console.WriteLine( e ); } } //initial animation check button public void on_initial_animation_checkbutton_toggled (object o, EventArgs e) { client.Set ( INITIAL_ANIMATION_KEY, initial_animation_checkbutton.Active ); } //section to start in combobox - Preferences public void on_section_start_combobox_changed (object o, EventArgs e) { TreeIter iter; if (section_start_combobox.GetActiveIter (out iter)) { if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "Welcome") ) { client.Set ( SECTION_START_KEY, 0 ); } if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "System") ) { client.Set ( SECTION_START_KEY, 1 ); } if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "CPU") ) { client.Set ( SECTION_START_KEY, 2 ); } if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "Memory") ) { client.Set ( SECTION_START_KEY, 3 ); } if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "Storage") ) { client.Set ( SECTION_START_KEY, 4 ); }/* if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "Partitions") ) { client.Set ( SECTION_START_KEY, 5 ); }*/ if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "Hardware") ) { client.Set ( SECTION_START_KEY, 5 ); } if ( section_start_combobox.Model.GetValue (iter, 0).Equals( "NVIDIA") ) { client.Set ( SECTION_START_KEY, 6 ); } } } //expaders expanded public void on_expanders_checkbutton_toggled (object o, EventArgs e) { client.Set ( EXPANDERS_KEY, expanders_checkbutton.Active ); } public void GConf_Changed (object sender, NotifyEventArgs args) { UpdateFromGConf(); } /**************/ //paned animation bool hpaned_animation_show() { if (main_hpaned.Position < 100) { main_hpaned.Position = main_hpaned.Position + 10; return true; } else { showhide_image.SetFromStock("gtk-goto-first", IconSize.Button); return false; } } bool hpaned_animation_hide() { if (main_hpaned.Position > 1) { main_hpaned.Position = main_hpaned.Position - 10; return true; } else { showhide_image.SetFromStock("gtk-goto-last", IconSize.Button); return false; } } bool animation_start () { animation_timer = GLib.Timeout.Add(40, new GLib.TimeoutHandler(hpaned_animation_show)); return false; } //time date in statusbar updates bool timedate_update () { String timedate = DateTime.Now.DayOfWeek.ToString() + ", " + DateTime.Now.ToString(); /*+ DateTime.Now.Day.ToString() + "." + DateTime.Now.Month.ToString() + "." + DateTime.Now.Year.ToString() + ", " + DateTime.Now.TimeOfDay.Hours.ToString() + ":" + DateTime.Now.TimeOfDay.Minutes.ToString() + ":" + DateTime.Now.TimeOfDay.Seconds.ToString();*/ statusbar1.Push(0, timedate); return true; } //show/hide animation button public void on_sh_button_clicked (object o, EventArgs e) { if (main_hpaned.Position <= 1) { animation_timer = GLib.Timeout.Add(40, new GLib.TimeoutHandler(hpaned_animation_show)); } else { main_hpaned.Position = 100; animation_timer = GLib.Timeout.Add(40, new GLib.TimeoutHandler(hpaned_animation_hide)); } } /************/ //Cairo drawing //main cairo drawing class MainCairoDrawing main_cairo_drawing = new MainCairoDrawing(); //intro top graphic public void on_intro_top_drawingarea_expose_event (object o, ExposeEventArgs args) { intro_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (intro_top_drawingarea.GdkWindow); //widget width Int32 width = intro_top_drawingarea.Allocation.Width - 14; main_cairo_drawing.IntroTop(g, width); } //intro bottom graphic public void on_intro_bottom_drawingarea_expose_event (object o, ExposeEventArgs args) { intro_bottom_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (intro_bottom_drawingarea.GdkWindow); main_cairo_drawing.IntroBottom(g); } //system top graphic public void on_system_top_drawingarea_expose_event (object o, ExposeEventArgs args) { system_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (system_top_drawingarea.GdkWindow); Int32 width = system_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.SystemTop(g, width); } //cpu top graphic public void on_cpu_top_drawingarea_expose_event (object o, ExposeEventArgs args) { cpu_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (cpu_top_drawingarea.GdkWindow); Int32 width = cpu_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.CpuTop(g, width); } //memory top graphic public void on_memory_top_drawingarea_expose_event (object o, ExposeEventArgs args) { memory_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (memory_top_drawingarea.GdkWindow); Int32 width = memory_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.MemoryTop(g, width); } //storage top graphic public void on_storage_top_drawingarea_expose_event (object o, ExposeEventArgs args) { storage_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (storage_top_drawingarea.GdkWindow); Int32 width = storage_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.StorageTop(g, width); } //partitions top graphic public void on_partitions_top_drawingarea_expose_event (object o, ExposeEventArgs args) { /* partitions_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (partitions_top_drawingarea.GdkWindow); Int32 width = partitions_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.PartitionsTop(g, width);*/ } //partitions cairo drawing class //PartitionsCairoDrawing partitions_cairo_drawing = new PartitionsCairoDrawing(); //partitions hda drawingarea graphic public void on_partitions_hda_drawingarea_expose_event (object o, ExposeEventArgs args) { /* partitions_hda_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (partitions_hda_drawingarea.GdkWindow); Int32 edge = partitions_sda_drawingarea.Allocation.Width - 44; partitions_info.HdaDrawingCalculations(edge); if ( partitions_info.hdaB == true ) partitions_cairo_drawing.HdaDrawing(g, partitions_info.partitions_hdaP, partitions_info.partitions_hda);*/ } //partitions hdb drawingarea graphic public void on_partitions_hdb_drawingarea_expose_event (object o, ExposeEventArgs args) { /* partitions_hdb_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (partitions_hdb_drawingarea.GdkWindow); Int32 edge = partitions_sda_drawingarea.Allocation.Width - 44; partitions_info.HdbDrawingCalculations(edge); if ( partitions_info.hdaB == true ) partitions_cairo_drawing.HdbDrawing(g, partitions_info.partitions_hdbP, partitions_info.partitions_hdb);*/ } //partitions sda drawingarea graphic public void on_partitions_sda_drawingarea_expose_event (object o, ExposeEventArgs args) { /* partitions_sda_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (partitions_sda_drawingarea.GdkWindow); Int32 edge = partitions_sda_drawingarea.Allocation.Width - 44; partitions_info.SdaDrawingCalculations(edge); if ( partitions_info.sdaB == true ) partitions_cairo_drawing.SdaDrawing(g, partitions_info.partitions_sdaP, partitions_info.partitions_sda);*/ } //partitions sdb drawingarea graphic public void on_partitions_sdb_drawingarea_expose_event (object o, ExposeEventArgs args) { /* partitions_sdb_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (partitions_sdb_drawingarea.GdkWindow); Int32 edge = partitions_sda_drawingarea.Allocation.Width - 44; partitions_info.SdbDrawingCalculations(edge); if ( partitions_info.sdbB == true ) partitions_cairo_drawing.SdbDrawing(g, partitions_info.partitions_sdbP, partitions_info.partitions_sdb);*/ } //hardware top graphic public void on_hardware_top_drawingarea_expose_event (object o, ExposeEventArgs args) { hardware_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (hardware_top_drawingarea.GdkWindow); Int32 width = intro_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.HardwareTop(g, width); } //nvidia top graphic public void on_nvidia_top_drawingarea_expose_event (object o, ExposeEventArgs args) { nvidia_top_drawingarea = (DrawingArea) o; Cairo.Context g = Gdk.CairoHelper.Create (nvidia_top_drawingarea.GdkWindow); Int32 width = intro_top_drawingarea.Allocation.Width - 10; main_cairo_drawing.NvidiaTop(g, width); } } } //ghaefb sysinfo-0.7/Sysinfo/HardwareInfo.cs0000644000076400007640000001454710523332111016630 0ustar ghaefbghaefb// Filename: HardwareInfo.cs // Contains functions to extract information displayed in Hardware category using System; using System.IO; using System.Diagnostics; namespace Sysinfo { public class HardwareInfo { public String [] host_bridge = {null, null}; public String [] pci_bridge = {null, null, null, null, null}; public String [] usb_controller = {null, null, null, null, null}; public String [] isa_bridge = {null, null}; public String [] ide_interface = {null, null}; public String [] vga_controller = {null, null}; public String [] multimedia_controller = {null, null}; public String [] network_controller = {null, null}; public String [] ethernet_controller = {null, null}; public String [] modem = {null, null}; String path = "lspci"; public HardwareInfo() { //lspci path if ( File.Exists( "/usr/sbin/lspci") ) path = "/usr/sbin/lspci"; if ( File.Exists( "/sbin/lspci") ) path = "/sbin/lspci"; if ( File.Exists( "/bin/lspci") ) path = "/bin/lspci"; if ( File.Exists( "/usr/bin/lspci") ) path = "/usr/bin/lspci"; } //all static info public void StaticInfo() { String temp; Boolean host_bridgeB = false; Int32 pci_bridgeI = 0; Int32 usb_controllerI = 0; Boolean isa_bridgeB = false; Boolean ide_interfaceB = false; Boolean vga_controllerB = false; Boolean multimedia_controllerB = false; Boolean network_controllerB = false; Boolean ethernet_controllerB = false; Boolean modemB = false; try { //run lspci command and read output Process proc1 = new Process(); proc1.StartInfo.FileName = path; proc1.StartInfo.Arguments = "-v"; proc1.StartInfo.UseShellExecute = false; proc1.StartInfo.RedirectStandardOutput = true; proc1.Start(); proc1.WaitForExit(); while ( proc1.StandardOutput.Peek() != (-1) ) { temp = proc1.StandardOutput.ReadLine(); /* Motherboard */ //host bridge if ( temp.Length <= 1 ) host_bridgeB = false; if ( host_bridgeB && temp.StartsWith("\tSubsystem") ) { host_bridge [1] = temp.Remove(0, temp.IndexOf(" ") + 1); host_bridgeB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Host bridge") ) { host_bridge [0] = temp.Remove(0, temp.IndexOf(" ") + 14); host_bridgeB = true; } //pci bridge if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("PCI bridge") ) { pci_bridge [pci_bridgeI] = temp.Remove(0, temp.IndexOf(" ") + 13); pci_bridgeI++; } //usb controller if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("USB Controller") ) { usb_controller [usb_controllerI] = temp.Remove(0, temp.IndexOf(" ") + 17); usb_controllerI++; } //isa bridge if ( temp.Length <= 1 ) isa_bridgeB = false; if ( isa_bridgeB && temp.StartsWith("\tSubsystem") ) { isa_bridge [1] = temp.Remove(0, temp.IndexOf(" ") + 1); isa_bridgeB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("ISA bridge") ) { isa_bridge [0] = temp.Remove(0, temp.IndexOf(" ") + 13); isa_bridgeB = true; } //ide interface if ( temp.Length <= 1 ) ide_interfaceB = false; if ( ide_interfaceB && temp.StartsWith("\tSubsystem") ) { ide_interface [1] = temp.Remove(0, temp.IndexOf(" ") + 1); ide_interfaceB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("IDE interface") ) { ide_interface [0] = temp.Remove(0, temp.IndexOf(" ") + 16); ide_interfaceB = true; } /* Graphic card */ //vga compatible controller if ( temp.Length <= 1 ) vga_controllerB = false; if ( vga_controllerB && temp.StartsWith("\tSubsystem") ) { vga_controller [1] = temp.Remove(0, temp.IndexOf(" ") + 1); vga_controllerB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("VGA compatible controller") ) { vga_controller [0] = temp.Remove(0, temp.IndexOf(" ") + 28); vga_controllerB = true; } /* Sound card */ //multimedia audio controller if ( temp.Length <= 1 ) multimedia_controllerB = false; if ( multimedia_controllerB && temp.StartsWith("\tSubsystem") ) { multimedia_controller [1] = temp.Remove(0, temp.IndexOf(" ") + 1); multimedia_controllerB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Multimedia audio controller") ) { multimedia_controller [0] = temp.Remove(0, temp.IndexOf(" ") + 30); multimedia_controllerB = true; } else if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Audio device") ) { multimedia_controller [0] = temp.Remove(0, temp.IndexOf(" ") + 15); multimedia_controllerB = true; } /* Network devices */ //network controller if ( temp.Length <= 1 ) network_controllerB = false; if ( network_controllerB && temp.StartsWith("\tSubsystem") ) { network_controller [1] = temp.Remove(0, temp.IndexOf(" ") + 1); network_controllerB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Network controller") ) { network_controller [0] = temp.Remove(0, temp.IndexOf(" ") + 21); network_controllerB = true; } //ethernet controller if ( temp.Length <= 1 ) ethernet_controllerB = false; if ( ethernet_controllerB && temp.StartsWith("\tSubsystem") ) { ethernet_controller [1] = temp.Remove(0, temp.IndexOf(" ") + 1); ethernet_controllerB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Ethernet controller") ) { ethernet_controller [0] = temp.Remove(0, temp.IndexOf(" ") + 22); ethernet_controllerB = true; } //modem if ( temp.Length <= 1 ) modemB = false; if ( modemB && temp.StartsWith("\tSubsystem") ) { modem [1] = temp.Remove(0, temp.IndexOf(" ") + 1); modemB = false; } if ( temp.Remove(0, temp.IndexOf(" ") + 1).StartsWith("Modem:") ) { modem [0] = temp.Remove(0, temp.IndexOf(" ") + 8); modemB = true; } } proc1.Close(); } catch (Exception ex) { Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/MainCairoDrawing.cs0000644000076400007640000003144510503021317017432 0ustar ghaefbghaefb// Filename: MainCairoDrawing.cs // Contains functions to draw main cairo graphics using System; using Cairo; using Gtk; namespace Sysinfo { public class MainCairoDrawing { //intro top Welcome public void IntroTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (10,10); p2 = new PointD (width, 10); s1 = new PointD (width + 2, 12); s2 = new PointD (width + 2, 38); p3 = new PointD (width, 40); p4 = new PointD (10,40); s3 = new PointD (8, 38); s4 = new PointD (8, 12); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 80); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(22); g.SelectFontFace ("", FontSlant.Italic, FontWeight.Bold); g.MoveTo ( new PointD(22, 33)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("Welcome to"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //intro bottom tips public void IntroBottom(Cairo.Context g) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (30,10); p2 = new PointD (420, 10); s1 = new PointD (422, 12); s2 = new PointD (422, 88); p3 = new PointD (420, 90); p4 = new PointD (30,90); s3 = new PointD (28, 88); s4 = new PointD (28, 12); g.Color = new Color (0.3, 0.4, 0.6, 0.8); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,20, 80, 80); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0)); pat.AddColorStop (1, new Cairo.Color (0.3,0.4,0.6,0.3)); g.Pattern = pat; g.FillPreserve (); g.Color = new Color (0, 0, 0, 0.8); g.SelectFontFace ("", FontSlant.Italic , FontWeight.Bold ); g.SetFontSize(18); g.MoveTo ( new PointD(88, 28) ); g.ShowText ("."); g.MoveTo ( new PointD(88, 58) ); g.ShowText ("."); g.SelectFontFace ("", FontSlant.Italic , FontWeight.Normal ); g.SetFontSize(10); g.MoveTo ( new PointD(98, 30) ); g.ShowText ("Use the navigation on the left to choose different categories"); g.MoveTo ( new PointD(98, 42) ); g.ShowText ("of your computer and system information to display."); g.MoveTo ( new PointD(98, 60) ); g.ShowText ("When you click on a category in the navigation, the dynamic"); g.MoveTo ( new PointD(98, 72) ); g.ShowText ("information is automatically refreshed."); g.MoveTo ( new PointD(38, 35)); g.Color = new Color (0.3, 0.4, 0.6, 1); g.SelectFontFace ("", FontSlant.Normal , FontWeight.Bold ); g.SetFontSize(18); g.ShowText ("Tips"); g.NewPath (); /* g.Color = new Color (0.3, 0.4, 0.6, 0.8); g.Scale (34, 34); g.LineWidth = 0.06; g.Arc (1.0, 1.0, 0.6, 0, 360); g.Stroke ();*/ ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //system top public void SystemTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("General system information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //cpu top public void CpuTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("CPU information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //memory top public void MemoryTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("Memory information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //storage top public void StorageTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("Storage information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //partitions top public void PartitionsTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("Partitions information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //hardware top public void HardwareTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("Hardware information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } //nvidia top public void NvidiaTop(Cairo.Context g, Int32 width) { PointD p1,p2,p3,p4,s1,s2,s3,s4; p1 = new PointD (5,5); p2 = new PointD (width, 5); s1 = new PointD (width + 2, 7); s2 = new PointD (width + 2, 28); p3 = new PointD (width, 30); p4 = new PointD (5,30); s3 = new PointD (3, 28); s4 = new PointD (3, 7); g.Color = new Color (0.3, 0.4, 0.6, 1); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); g.LineWidth = 1; g.Stroke (); g.MoveTo (p1); g.LineTo (p2); g.LineTo (s1); g.LineTo (s2); g.LineTo (p3); g.LineTo (p4); g.LineTo (s3); g.LineTo (s4); g.LineTo (p1); g.ClosePath (); Cairo.Gradient pat = new Cairo.LinearGradient (80,10, 80, 60); pat.AddColorStop (0, new Cairo.Color (0.3,0.4,0.6,0.6)); pat.AddColorStop (1, new Cairo.Color (0,0,0,1)); g.Pattern = pat; g.FillPreserve (); g.SetFontSize(17); g.SelectFontFace ("", FontSlant.Normal, FontWeight.Bold); g.MoveTo ( new PointD(12, 23)); g.Color = new Color (1, 1, 1, 1); g.ShowText ("NVIDIA graphic card information"); ((IDisposable) g.Target).Dispose (); ((IDisposable) g).Dispose (); } } } //ghaefb sysinfo-0.7/Sysinfo/gui.glade0000644000076400007640000050324110523070604015512 0ustar ghaefbghaefb True Sysinfo GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST True False True False 0 True GTK_PACK_DIRECTION_LTR GTK_PACK_DIRECTION_LTR True _File True True gtk-save True True True gtk-quit True True _Edit True True gtk-preferences True True _Help True True gtk-about True 0 False False True False 0 True True 1 True False 0 True True GTK_POLICY_NEVER GTK_POLICY_NEVER GTK_SHADOW_IN GTK_CORNER_TOP_LEFT 100 True True GDK_BUTTON_PRESS_MASK False False False False False False False 0 True True True Go back to the welcome page True GTK_RELIEF_NONE True True gtk-home 4 0.5 0.5 0 0 0 False False True False True False 0 True False False GTK_POS_TOP False False True False 0 True 0.5 0.5 1 1 0 0 0 0 0 48 True 0 False True True <b>System information extraction program</b> Do you know your computer ? If you don't, you've come to the right place. False True GTK_JUSTIFY_LEFT True False 0.10000000149 0.10000000149 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 True False 460 100 True 0 True True False True True label1 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True True 0.5 0.5 1 1 2 0 8 8 True False 0 4 True 1 2 False 2 8 True Release False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True Your Linux distribution release identification True False True 0 False * False 1 2 0 1 0 True True True 0.5 0.5 0 0 4 False True 0 False True True 0.5 0.5 1 1 0 0 8 8 4 True 3 2 False 2 8 True Kernel False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True Version of Linux kernel you are currently running True False True 0 False * False 1 2 2 3 True GNOME False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Version of GNOME desktop environment installed True False True 0 False * False 1 2 1 2 0 2 0 1 2 2 fill 0 False True True 0.5 0.5 1 1 0 0 8 8 True True False 0 True 0.5 0.5 1 1 0 0 10 0 6 True 5 2 False 2 8 True OS Type False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True Operating system type True False True 0 False * False 1 2 0 1 True GCC version False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Version of GNU Compiler Collection True False True 0 False * False 1 2 1 2 True Xorg version False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True Hostname False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 4 5 fill True Hostname of this computer True False True 0 False * False 1 2 4 5 True Version of your Xorg graphical X server True False True 0 False * False 1 2 2 3 True 0 2 3 4 2 4 fill fill True More details False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 True True True 0.5 0.5 1 1 0 0 8 8 6 True False 8 True Uptime False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True How long your system has been up and running, since your last boot True False True 0 False * False 0 True True 2 False True False True True label2 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True True 0.5 0.5 1 1 2 0 8 8 True False 0 4 True 2 2 False 2 8 True Vendor False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True CPU vendor identification True False True 0 False * False 1 2 0 1 True CPUs False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Number of CPUs detected (useful information for multiprocessor systems or dual core CPUs) True False True 0 False False 1 2 1 2 0 True True True 0.5 0.5 0 0 4 False True 0 False True True 0.5 0.5 1 1 0 0 8 8 4 True 4 2 False 2 8 True Model name False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Frequency False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True L2 cache False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 3 4 fill True Full CPU model name True False True 0 False * False 1 2 1 2 True CPU level 2 cache size True False True 0 False * False 1 2 3 4 True Current frequency of CPU. Note: Usually on laptops the frequency is dynamic, so the value may vary True False True 0 False * False 1 2 2 3 0 2 0 1 2 2 fill 0 False True True 0.5 0.5 1 1 0 0 8 8 True True False 0 True 0.5 0.5 1 1 0 0 10 0 6 True 3 2 False 2 8 True CPU bogomips: The number of million times a second a processor can do absolutely nothing. (based on CPU frequency) True False True 0 False * False 1 2 0 1 True Numbering False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Flags False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True Family, Model and stepping number of CPU True False True 0 False * False 1 2 1 2 True Bogomips False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True Flags that CPU supports True False True 0 False * False 1 2 2 3 True More details False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 False True False True True label3 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True True 0.5 0.5 1 1 0 0 8 8 6 True 5 2 False 4 8 True Swap total False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 3 4 fill True Total system memory - RAM True False True 0 False * False 1 2 0 1 True Total swap space True False True 0 False * False 1 2 3 4 True Memory total False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True GTK_PROGRESS_LEFT_TO_RIGHT 0 0.10000000149 PANGO_ELLIPSIZE_NONE 0 2 1 2 8 2 fill True GTK_PROGRESS_LEFT_TO_RIGHT 0 0.10000000149 PANGO_ELLIPSIZE_NONE 0 2 4 5 8 2 fill 0 False True True 0.5 0.5 1 1 0 0 8 8 True True False 0 True 0.5 0.5 1 1 0 0 10 0 6 True 3 2 False 2 8 True Cached False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True Active False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Inactive False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True Cached memory True False True 0 False * False 1 2 0 1 True Active memory True False True 0 False * False 1 2 1 2 True Inactive memory True False True 0 False * False 1 2 2 3 True More details False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 0 True True True 0.980000019073 0.5 0 1 0 4 0 0 True Enable this option to refresh Memory information every 3 seconds True Automatically refresh True GTK_RELIEF_NORMAL True False False True 0 False True False True True label4 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True 4 True 0.5 0.5 1 1 0 4 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True False False True False False False 0 True True False True True label5 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False False True 1 0.5 0 1 0 0 8 8 4 True False 8 True False True 0 False False 0 False True True False False GTK_POS_TOP False False 4 True 0.5 0.5 1 1 0 4 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False True False False False False True True label81 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 4 True 0.5 0.5 1 1 0 4 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False True False False False False True True label82 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 4 True 0.5 0.5 1 1 0 4 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False True False False False False True True label83 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 4 True 0.5 0.5 1 1 0 4 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False True False False False False True True label84 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True False True True label7 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True True 0.5 0.5 1 1 2 0 8 8 True False 0 4 True 1 2 False 2 8 True Model False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 0 1 fill True NVIDIA graphic card model name True False True 0 False False 1 2 0 1 0 True True True 0.5 0.5 0 0 4 False True 0 False True True 0.5 0.5 1 1 0 0 8 8 4 True 5 2 False 2 8 True Card Type False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 1 2 fill True Graphic card bus Type and Rate True False True 0 False False 1 2 1 2 True Video RAM False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 2 3 fill True GPU Frequency False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 1 3 4 fill True Graphic card video RAM True False True 0 False False 1 2 2 3 True Current GPU frequency True False True 0 False False 1 2 3 4 0 2 0 1 2 2 fill 0 False True 2 True 0.980000019073 0.5 0.019999999553 1 0 0 0 0 True Launch 'nvidia-settings' NVIDIA driver configuration program True GTK_RELIEF_NONE True True 0.5 0.5 0 0 0 0 0 0 True False 2 True gtk-go-forward 4 0.5 0.5 0 0 0 False False True NVIDIA Display Settings True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False 2 False False True 0.5 0.5 1 1 0 0 14 14 True NVIDIA graphic driver Kernel module version and build time True False True 0 False False 6 False True GTK_PACK_END False True True label8 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 34 True 0 False True True 1 0.5 0 1 0 0 8 8 4 True False 8 True <i>Under development</i> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 8 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True False True 0 True False 0 False False True False False GTK_POS_TOP True False True False 0 90 True 0 False True 4 True 0.5 0.5 1 1 0 2 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True True False True False False False 0 True True False True True no device False True GTK_JUSTIFY_LEFT False False 0.5 0.5 2 2 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 90 True 0 False True 4 True 0.5 0.5 1 1 0 2 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True True False True False False False 0 True True False True True no device False True GTK_JUSTIFY_LEFT False False 0.5 0.5 2 2 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 90 True 0 False True 4 True 0.5 0.5 1 1 0 2 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True True False True False False False 0 True True False True True no device False True GTK_JUSTIFY_LEFT False False 0.5 0.5 2 2 PANGO_ELLIPSIZE_NONE -1 False 0 tab True False 0 90 True 0 False True 4 True 0.5 0.5 1 1 0 2 6 8 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True True True False True False False False 0 True True False True True no device False True GTK_JUSTIFY_LEFT False False 0.5 0.5 2 2 PANGO_ELLIPSIZE_NONE -1 False 0 tab 2 True True False True True label6 False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True False True 0 True True 0 True True True False 4 True Show/hide navigation True GTK_RELIEF_NONE True True gtk-jump-to 4 0.5 0.5 0 0 0 False False True True 0 True True 0 False False True Sysinfo Copyright (C) Nil Gradisnik 2006 <ghaefb@gmail.com> System information extraction program You may redistribute it and/or modify it under the terms of the GNU General Public License, as published by the Free Software Foundation; either version 2, or (at your option) any later version. Sysinfo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Sysinfo. See the file "COPYING". If not, write to: The Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. False http://sysinfo.r8.org sysinfo.r8.org Nil Gradisnik <ghaefb@gmail.com> Thanks to: Luka Kac <skipper3k@gmail.com> Nil Gradisnik <ghaefb@gmail.com> Nil Gradisnik <ghaefb@gmail.com> Eva Gostencnik <neivla@gmail.com> Tango icons <http://tango-project.org> Fedora logo <htp://fedora.redhat.com> Ubuntu logo <http://www.ubuntu.com> (Ubuntu is a trademark of Canonical Limited) translator-credits 300 240 Preferences GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True gtk-preferences True False False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-close True GTK_RELIEF_NORMAL True -7 0 False True GTK_PACK_END 8 True True True True GTK_POS_TOP False False 8 True False 0 True 0 0.5 GTK_SHADOW_NONE True 0.5 0.5 1 1 0 0 12 0 8 True False 6 True If you find that startup animation where navigation shows up anoying, you can turn it off here. True Enable initial animation True GTK_RELIEF_NORMAL True False False True 1 False False True False 8 True Section to start in: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 0 False False True Welcome System CPU Memory Storage Hardware False True 0 True True 0 True True True Make all "More details" expanded at startup True Show details at startup True GTK_RELIEF_NORMAL True False False True 0 False False True <b>Startup</b> False True GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 label_item 2 False True False True True General False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 PANGO_ELLIPSIZE_NONE -1 False 0 tab 0 True True GTK_FILE_CHOOSER_ACTION_SAVE True False False False Save information to file GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True True gtk-save True True False GDK_WINDOW_TYPE_HINT_DIALOG GDK_GRAVITY_NORTH_WEST True False True False 24 True GTK_BUTTONBOX_END True True True gtk-cancel True GTK_RELIEF_NORMAL True -6 True True True True gtk-save True GTK_RELIEF_NORMAL True -5 0 False True GTK_PACK_END sysinfo-0.7/Sysinfo/NvidiaInfo.cs0000644000076400007640000000755510503021245016307 0ustar ghaefbghaefb// Filename: NvidiaInfo.cs // Contains functions to extract information displayed in NVIDIA category using System; using System.IO; using System.Diagnostics; namespace Sysinfo { public class NvidiaInfo { public Boolean nvidiaB = false; public String nvidia_model = "unknown"; public String nvidia_ctype = "unknown"; public String nvidia_version = "unknown"; public String nvidia_videoram = "unknown"; public String nvidia_busrate = ""; public String nvidia_gpu = "unknown"; //check for nvidia driver public NvidiaInfo() { if ( Directory.Exists("/proc/driver/nvidia/") ) nvidiaB = true; } //read some basic info public void MainInfo(){ String temp; try { using (TextReader textread = File.OpenText("/proc/driver/nvidia/cards/0")) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.StartsWith("Model:") ) { temp = temp.Remove(0, 10); nvidia_model = temp; } if ( temp.StartsWith("Card Type:") ) { temp = temp.Remove(0, 13); nvidia_ctype = temp; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } } //read driver version public void Version() { String temp; try { using (TextReader textread = File.OpenText("/proc/driver/nvidia/version")) { while ( textread.Peek() != (-1) ) { temp = textread.ReadLine(); if ( temp.StartsWith("NVRM version:") ) { temp = temp.Remove(0, 14); nvidia_version = temp; } } } } catch (FileNotFoundException ex) { Console.WriteLine( ex ); } catch (DirectoryNotFoundException ex) { Console.WriteLine( ex ); } } //read extra info using nvidia-settings public void AditionaInfo() { String temp; try { //run command and read output: nvidia-settings --query //video ram Process proc1 = new Process(); proc1.StartInfo.FileName = "nvidia-settings"; proc1.StartInfo.Arguments = "-q VideoRam"; proc1.StartInfo.UseShellExecute = false; proc1.StartInfo.RedirectStandardOutput = true; proc1.Start(); proc1.WaitForExit(); temp = proc1.StandardOutput.ReadLine(); temp = proc1.StandardOutput.ReadLine(); temp = temp.Remove(0, temp.LastIndexOf(":") + 2); nvidia_videoram = ( Double.Parse(temp) / 1024 ).ToString() + " MB"; proc1.Close(); //bus rate Process proc2 = new Process(); proc2.StartInfo.FileName = "nvidia-settings"; proc2.StartInfo.Arguments = "-q BusRate"; proc2.StartInfo.UseShellExecute = false; proc2.StartInfo.RedirectStandardOutput = true; proc2.Start(); proc2.WaitForExit(); temp = proc2.StandardOutput.ReadLine(); temp = proc2.StandardOutput.ReadLine(); temp = temp.Remove(0, temp.LastIndexOf(":") + 2); nvidia_busrate = temp.Remove(temp.LastIndexOf("."), 1) + "x"; proc2.Close(); //gpu frequency Process proc3 = new Process(); proc3.StartInfo.FileName = "nvidia-settings"; proc3.StartInfo.Arguments = "-q GPUCurrentClockFreqs"; proc3.StartInfo.UseShellExecute = false; proc3.StartInfo.RedirectStandardOutput = true; proc3.Start(); proc3.WaitForExit(); temp = proc3.StandardOutput.ReadLine(); temp = proc3.StandardOutput.ReadLine(); temp = temp.Remove(0, temp.LastIndexOf(":") + 2); nvidia_gpu = temp.Remove(temp.LastIndexOf(","), 5) + " MHz"; proc3.Close(); } catch (System.ComponentModel.Win32Exception ex) { Console.WriteLine( ex ); } catch (ArgumentOutOfRangeException ex) { Console.WriteLine( ex ); } catch (FormatException ex) { Console.WriteLine( ex ); } } } } //ghaefb sysinfo-0.7/Sysinfo/SaveToFile.cs0000644000076400007640000002250110445462161016261 0ustar ghaefbghaefb// Filename: SaveToFile.cs // Contains functions to save all the information to plain text file using System; using System.IO; using Gtk; namespace Sysinfo { public class SaveToFile { public void Save(String filename, SystemInfo system_info, CpuInfo cpu_info, MemoryInfo memory_info, StorageInfo storage_info, HardwareInfo hardware_info, NvidiaInfo nvidia_info) { system_info.Release(); system_info.Gnome(); system_info.Kernel(); system_info.Ostype(); system_info.Gccv(); system_info.Xorg(); system_info.Hostname(); system_info.Uptime(); cpu_info.CpuStaticInfo(); cpu_info.CpuDynamicInfo(); memory_info.MemoryStaticInfo(); storage_info.IdeInfo(); storage_info.ScsiInfo(); hardware_info.StaticInfo(); nvidia_info.MainInfo(); nvidia_info.Version(); nvidia_info.AditionaInfo(); using (TextWriter textwrite = File.CreateText(filename)) { textwrite.WriteLine("System information report, generated by Sysinfo: " + DateTime.Now); textwrite.WriteLine("http://sysinfo.r8.org\n"); //system textwrite.WriteLine("SYSTEM INFORMATION"); textwrite.WriteLine("\tRunning " + system_info.distro + " " + system_info.system_ostype + ", the "+ system_info.system_release + " release."); textwrite.WriteLine("\tGNOME: " + system_info.system_gnomev + " (" + system_info.system_gnomeo + ")"); textwrite.WriteLine("\tKernel version: " + system_info.system_kernelv + " (" + system_info.system_kernelb + ")"); textwrite.WriteLine("\tGCC: " + system_info.system_gcc); textwrite.WriteLine("\tXorg: " + system_info.system_xorg); textwrite.WriteLine("\tHostname: " + system_info.system_hostname); textwrite.WriteLine("\tUptime: " + system_info.system_uptime); //cpu textwrite.WriteLine("\nCPU INFORMATION"); textwrite.WriteLine("\t" + cpu_info.cpu_vendor + ", " + cpu_info.cpu_name); textwrite.WriteLine("\tNumber of CPUs: " + cpu_info.cpu_cpus); textwrite.WriteLine("\tCPU clock currently at " + cpu_info.cpu_frequency + " with " + cpu_info.cpu_cache + " cache"); textwrite.WriteLine("\tNumbering: " + cpu_info.cpu_numbering); textwrite.WriteLine("\tBogomips: " + cpu_info.cpu_bogomips); textwrite.WriteLine("\tFlags: " + cpu_info.cpu_flags); //memory textwrite.WriteLine("\nMEMORY INFORMATION"); textwrite.WriteLine("\tTotal memory: " + memory_info.memory_total + " MB"); textwrite.WriteLine("\tTotal swap: " + memory_info.memory_swaptotal + " MB"); //storage textwrite.WriteLine("\nSTORAGE INFORMATION"); if (storage_info.ide_hda[1] != null ) { textwrite.WriteLine("\tPrimary Master /dev/hda - " + storage_info.ide_hda[0]); textwrite.WriteLine("\t\tModel: " + storage_info.ide_hda[1]); if (storage_info.ide_hda[2] != null) textwrite.WriteLine("\t\tCapacity: " + storage_info.ide_hda[2]); if (storage_info.ide_hda[3] != null) textwrite.WriteLine("\t\tCache: " + storage_info.ide_hda[3]); } if (storage_info.ide_hdb[1] != null ) { textwrite.WriteLine("\tPrimary Master /dev/hdb - " + storage_info.ide_hdb[0]); textwrite.WriteLine("\t\tModel: " + storage_info.ide_hdb[1]); if (storage_info.ide_hdb[2] != null) textwrite.WriteLine("\t\tCapacity: " + storage_info.ide_hdb[2]); if (storage_info.ide_hdb[3] != null) textwrite.WriteLine("\t\tCache: " + storage_info.ide_hdb[3]); } if (storage_info.ide_hdc[1] != null ) { textwrite.WriteLine("\tPrimary Master /dev/hdc - " + storage_info.ide_hdc[0]); textwrite.WriteLine("\t\tModel: " + storage_info.ide_hdc[1]); if (storage_info.ide_hdc[2] != null) textwrite.WriteLine("\t\tCapacity: " + storage_info.ide_hdc[2]); if (storage_info.ide_hdc[3] != null) textwrite.WriteLine("\t\tCache: " + storage_info.ide_hdc[3]); } if (storage_info.ide_hdd[1] != null ) { textwrite.WriteLine("\tPrimary Master /dev/hdd - " + storage_info.ide_hdd[0]); textwrite.WriteLine("\t\tModel: " + storage_info.ide_hdd[1]); if (storage_info.ide_hdd[2] != null) textwrite.WriteLine("\t\tCapacity: " + storage_info.ide_hdd[2]); if (storage_info.ide_hdd[3] != null) textwrite.WriteLine("\t\tCache: " + storage_info.ide_hdd[3]); } if (storage_info.scsi_1[0] != null) { textwrite.WriteLine("\tSCSI device - " + storage_info.scsi_1[0]);; textwrite.WriteLine("\t\tVendor: " + storage_info.scsi_1[1]); textwrite.WriteLine("\t\tModel: " + storage_info.scsi_1[2]); } if (storage_info.scsi_2[0] != null) { textwrite.WriteLine("\tSCSI device - " + storage_info.scsi_2[0]);; textwrite.WriteLine("\t\tVendor: " + storage_info.scsi_2[1]); textwrite.WriteLine("\t\tModel: " + storage_info.scsi_2[2]); } if (storage_info.scsi_3[0] != null) { textwrite.WriteLine("\tSCSI device - " + storage_info.scsi_3[0]);; textwrite.WriteLine("\t\tVendor: " + storage_info.scsi_3[1]); textwrite.WriteLine("\t\tModel: " + storage_info.scsi_3[2]); } if (storage_info.scsi_4[0] != null) { textwrite.WriteLine("\tSCSI device - " + storage_info.scsi_4[0]);; textwrite.WriteLine("\t\tVendor: " + storage_info.scsi_4[1]); textwrite.WriteLine("\t\tModel: " + storage_info.scsi_4[2]); } //hardware textwrite.WriteLine("\nHARDWARE INFORMATION"); textwrite.WriteLine("MOTHERBOARD"); if ( hardware_info.host_bridge[0] != null ) { textwrite.WriteLine("\tHost bridge"); textwrite.WriteLine("\t\t" + hardware_info.host_bridge[0]); if ( hardware_info.host_bridge[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.host_bridge[1]); } if ( hardware_info.pci_bridge[0] != null ) { textwrite.WriteLine("\tPCI bridge(s)"); for ( int i = 0; i < 5; i++) { if ( hardware_info.pci_bridge[i] != null ) textwrite.WriteLine("\t\t" + hardware_info.pci_bridge[i]); } } if ( hardware_info.usb_controller[0] != null ) { textwrite.WriteLine("\tUSB controller(s)"); for ( int i = 0; i < 5; i++) { if ( hardware_info.usb_controller[i] != null ) textwrite.WriteLine("\t\t" + hardware_info.usb_controller[i]); } } if ( hardware_info.isa_bridge[0] != null ) { textwrite.WriteLine("\tISA bridge"); textwrite.WriteLine("\t\t" + hardware_info.isa_bridge[0]); if ( hardware_info.isa_bridge[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.isa_bridge[1]); } if ( hardware_info.ide_interface[0] != null ) { textwrite.WriteLine("\tIDE interface"); textwrite.WriteLine("\t\t" + hardware_info.ide_interface[0]); if ( hardware_info.ide_interface[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.ide_interface[1]); } textwrite.WriteLine("\nGRAPHIC CARD"); if ( hardware_info.vga_controller[0] != null ) { textwrite.WriteLine("\tVGA controller"); textwrite.WriteLine("\t\t" + hardware_info.vga_controller[0]); if ( hardware_info.vga_controller[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.vga_controller[1]); } textwrite.WriteLine("\nSOUND CARD"); if ( hardware_info.multimedia_controller[0] != null ) { textwrite.WriteLine("\tMultimedia controller"); textwrite.WriteLine("\t\t" + hardware_info.multimedia_controller[0]); if ( hardware_info.multimedia_controller[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.multimedia_controller[1]); } textwrite.WriteLine("\nNETWORK"); if ( hardware_info.network_controller[0] != null ) { textwrite.WriteLine("\tNetwork controller"); textwrite.WriteLine("\t\t" + hardware_info.network_controller[0]); if ( hardware_info.network_controller[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.network_controller[1]); } if ( hardware_info.ethernet_controller[0] != null ) { textwrite.WriteLine("\tEthernet controller"); textwrite.WriteLine("\t\t" + hardware_info.ethernet_controller[0]); if ( hardware_info.ethernet_controller[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.ethernet_controller[1]); } if ( hardware_info.modem[0] != null ) { textwrite.WriteLine("\tModem"); textwrite.WriteLine("\t\t" + hardware_info.modem[0]); if ( hardware_info.modem[1] != null ) textwrite.WriteLine("\t\tSubsystem: " + hardware_info.modem[1]); } if ( nvidia_info.nvidiaB ) { textwrite.WriteLine("\nNVIDIA GRAPHIC CARD INFORMATION"); textwrite.WriteLine("\tModel name: " + nvidia_info.nvidia_model); textwrite.WriteLine("\tCard Type: " + nvidia_info.nvidia_ctype + " " + nvidia_info.nvidia_busrate); textwrite.WriteLine("\tVideo RAM: " + nvidia_info.nvidia_videoram); textwrite.WriteLine("\tGPU Frequency: " + nvidia_info.nvidia_gpu); textwrite.WriteLine("\tDriver version: " + nvidia_info.nvidia_version); } } } } } //ghaefb sysinfo-0.7/configure0000755000076400007640000034147010523120373014210 0ustar ghaefbghaefb#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for Sysinfo 0.7. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='Sysinfo' PACKAGE_TARNAME='sysinfo' PACKAGE_VERSION='0.7' PACKAGE_STRING='Sysinfo 0.7' PACKAGE_BUGREPORT='' ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar PKG_CONFIG MCS ac_pt_PKG_CONFIG MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS GTK_SHARP_20_CFLAGS GTK_SHARP_20_LIBS GCONF_SHARP_20_CFLAGS GCONF_SHARP_20_LIBS GLIB_SHARP_20_CFLAGS GLIB_SHARP_20_LIBS GLADE_SHARP_20_CFLAGS GLADE_SHARP_20_LIBS ENABLE_DEBUG_TRUE ENABLE_DEBUG_FALSE DEBUG_CONFIG_LIBRARIES DEBUG_CONFIG_LIBS ENABLE_RELEASE_TRUE ENABLE_RELEASE_FALSE RELEASE_CONFIG_LIBRARIES RELEASE_CONFIG_LIBS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_env_PKG_CONFIG_value=$PKG_CONFIG ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG ac_env_MONO_CAIRO_CFLAGS_set=${MONO_CAIRO_CFLAGS+set} ac_env_MONO_CAIRO_CFLAGS_value=$MONO_CAIRO_CFLAGS ac_cv_env_MONO_CAIRO_CFLAGS_set=${MONO_CAIRO_CFLAGS+set} ac_cv_env_MONO_CAIRO_CFLAGS_value=$MONO_CAIRO_CFLAGS ac_env_MONO_CAIRO_LIBS_set=${MONO_CAIRO_LIBS+set} ac_env_MONO_CAIRO_LIBS_value=$MONO_CAIRO_LIBS ac_cv_env_MONO_CAIRO_LIBS_set=${MONO_CAIRO_LIBS+set} ac_cv_env_MONO_CAIRO_LIBS_value=$MONO_CAIRO_LIBS ac_env_GTK_SHARP_20_CFLAGS_set=${GTK_SHARP_20_CFLAGS+set} ac_env_GTK_SHARP_20_CFLAGS_value=$GTK_SHARP_20_CFLAGS ac_cv_env_GTK_SHARP_20_CFLAGS_set=${GTK_SHARP_20_CFLAGS+set} ac_cv_env_GTK_SHARP_20_CFLAGS_value=$GTK_SHARP_20_CFLAGS ac_env_GTK_SHARP_20_LIBS_set=${GTK_SHARP_20_LIBS+set} ac_env_GTK_SHARP_20_LIBS_value=$GTK_SHARP_20_LIBS ac_cv_env_GTK_SHARP_20_LIBS_set=${GTK_SHARP_20_LIBS+set} ac_cv_env_GTK_SHARP_20_LIBS_value=$GTK_SHARP_20_LIBS ac_env_GCONF_SHARP_20_CFLAGS_set=${GCONF_SHARP_20_CFLAGS+set} ac_env_GCONF_SHARP_20_CFLAGS_value=$GCONF_SHARP_20_CFLAGS ac_cv_env_GCONF_SHARP_20_CFLAGS_set=${GCONF_SHARP_20_CFLAGS+set} ac_cv_env_GCONF_SHARP_20_CFLAGS_value=$GCONF_SHARP_20_CFLAGS ac_env_GCONF_SHARP_20_LIBS_set=${GCONF_SHARP_20_LIBS+set} ac_env_GCONF_SHARP_20_LIBS_value=$GCONF_SHARP_20_LIBS ac_cv_env_GCONF_SHARP_20_LIBS_set=${GCONF_SHARP_20_LIBS+set} ac_cv_env_GCONF_SHARP_20_LIBS_value=$GCONF_SHARP_20_LIBS ac_env_GLIB_SHARP_20_CFLAGS_set=${GLIB_SHARP_20_CFLAGS+set} ac_env_GLIB_SHARP_20_CFLAGS_value=$GLIB_SHARP_20_CFLAGS ac_cv_env_GLIB_SHARP_20_CFLAGS_set=${GLIB_SHARP_20_CFLAGS+set} ac_cv_env_GLIB_SHARP_20_CFLAGS_value=$GLIB_SHARP_20_CFLAGS ac_env_GLIB_SHARP_20_LIBS_set=${GLIB_SHARP_20_LIBS+set} ac_env_GLIB_SHARP_20_LIBS_value=$GLIB_SHARP_20_LIBS ac_cv_env_GLIB_SHARP_20_LIBS_set=${GLIB_SHARP_20_LIBS+set} ac_cv_env_GLIB_SHARP_20_LIBS_value=$GLIB_SHARP_20_LIBS ac_env_GLADE_SHARP_20_CFLAGS_set=${GLADE_SHARP_20_CFLAGS+set} ac_env_GLADE_SHARP_20_CFLAGS_value=$GLADE_SHARP_20_CFLAGS ac_cv_env_GLADE_SHARP_20_CFLAGS_set=${GLADE_SHARP_20_CFLAGS+set} ac_cv_env_GLADE_SHARP_20_CFLAGS_value=$GLADE_SHARP_20_CFLAGS ac_env_GLADE_SHARP_20_LIBS_set=${GLADE_SHARP_20_LIBS+set} ac_env_GLADE_SHARP_20_LIBS_value=$GLADE_SHARP_20_LIBS ac_cv_env_GLADE_SHARP_20_LIBS_set=${GLADE_SHARP_20_LIBS+set} ac_cv_env_GLADE_SHARP_20_LIBS_value=$GLADE_SHARP_20_LIBS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures Sysinfo 0.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of Sysinfo 0.7:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Use 'Debug' Configuration default=NO --enable-release Use 'Release' Configuration default=YES Some influential environment variables: PKG_CONFIG path to pkg-config utility MONO_CAIRO_CFLAGS C compiler flags for MONO_CAIRO, overriding pkg-config MONO_CAIRO_LIBS linker flags for MONO_CAIRO, overriding pkg-config GTK_SHARP_20_CFLAGS C compiler flags for GTK_SHARP_20, overriding pkg-config GTK_SHARP_20_LIBS linker flags for GTK_SHARP_20, overriding pkg-config GCONF_SHARP_20_CFLAGS C compiler flags for GCONF_SHARP_20, overriding pkg-config GCONF_SHARP_20_LIBS linker flags for GCONF_SHARP_20, overriding pkg-config GLIB_SHARP_20_CFLAGS C compiler flags for GLIB_SHARP_20, overriding pkg-config GLIB_SHARP_20_LIBS linker flags for GLIB_SHARP_20, overriding pkg-config GLADE_SHARP_20_CFLAGS C compiler flags for GLADE_SHARP_20, overriding pkg-config GLADE_SHARP_20_LIBS linker flags for GLADE_SHARP_20, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Sysinfo configure 0.7 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Sysinfo $as_me 0.7, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='sysinfo' VERSION='0.7' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "x$PKG_CONFIG" = "xno"; then { { echo "$as_me:$LINENO: error: You need to install pkg-config" >&5 echo "$as_me: error: You need to install pkg-config" >&2;} { (exit 1); exit 1; }; } fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # Extract the first word of "mcs", so it can be a program name with args. set dummy mcs; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MCS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MCS in [\\/]* | ?:[\\/]*) ac_cv_path_MCS="$MCS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no" ;; esac fi MCS=$ac_cv_path_MCS if test -n "$MCS"; then echo "$as_me:$LINENO: result: $MCS" >&5 echo "${ECHO_T}$MCS" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "x$MCS" = "xno"; then { { echo "$as_me:$LINENO: error: mcs Not found" >&5 echo "$as_me: error: mcs Not found" >&2;} { (exit 1); exit 1; }; } fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi PKG_CONFIG=$ac_pt_PKG_CONFIG else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 PKG_CONFIG="" fi fi pkg_failed=no echo "$as_me:$LINENO: checking for MONO_CAIRO" >&5 echo $ECHO_N "checking for MONO_CAIRO... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$MONO_CAIRO_CFLAGS"; then pkg_cv_MONO_CAIRO_CFLAGS="$MONO_CAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-cairo\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "mono-cairo" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$MONO_CAIRO_LIBS"; then pkg_cv_MONO_CAIRO_LIBS="$MONO_CAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-cairo\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_CAIRO_LIBS=`$PKG_CONFIG --libs "mono-cairo" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-cairo"` else MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-cairo"` fi # Put the nasty error message in config.log where it belongs echo "$MONO_CAIRO_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (mono-cairo) were not met: $MONO_CAIRO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MONO_CAIRO_CFLAGS and MONO_CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (mono-cairo) were not met: $MONO_CAIRO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MONO_CAIRO_CFLAGS and MONO_CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables MONO_CAIRO_CFLAGS and MONO_CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables MONO_CAIRO_CFLAGS and MONO_CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else MONO_CAIRO_CFLAGS=$pkg_cv_MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS=$pkg_cv_MONO_CAIRO_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi pkg_failed=no echo "$as_me:$LINENO: checking for GTK_SHARP_20" >&5 echo $ECHO_N "checking for GTK_SHARP_20... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$GTK_SHARP_20_CFLAGS"; then pkg_cv_GTK_SHARP_20_CFLAGS="$GTK_SHARP_20_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTK_SHARP_20_LIBS"; then pkg_cv_GTK_SHARP_20_LIBS="$GTK_SHARP_20_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_SHARP_20_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-sharp-2.0"` else GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GTK_SHARP_20_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0) were not met: $GTK_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gtk-sharp-2.0) were not met: $GTK_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GTK_SHARP_20_CFLAGS=$pkg_cv_GTK_SHARP_20_CFLAGS GTK_SHARP_20_LIBS=$pkg_cv_GTK_SHARP_20_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi pkg_failed=no echo "$as_me:$LINENO: checking for GCONF_SHARP_20" >&5 echo $ECHO_N "checking for GCONF_SHARP_20... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$GCONF_SHARP_20_CFLAGS"; then pkg_cv_GCONF_SHARP_20_CFLAGS="$GCONF_SHARP_20_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GCONF_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gconf-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GCONF_SHARP_20_LIBS"; then pkg_cv_GCONF_SHARP_20_LIBS="$GCONF_SHARP_20_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GCONF_SHARP_20_LIBS=`$PKG_CONFIG --libs "gconf-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GCONF_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-sharp-2.0"` else GCONF_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-sharp-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GCONF_SHARP_20_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gconf-sharp-2.0) were not met: $GCONF_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gconf-sharp-2.0) were not met: $GCONF_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GCONF_SHARP_20_CFLAGS=$pkg_cv_GCONF_SHARP_20_CFLAGS GCONF_SHARP_20_LIBS=$pkg_cv_GCONF_SHARP_20_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi pkg_failed=no echo "$as_me:$LINENO: checking for GLIB_SHARP_20" >&5 echo $ECHO_N "checking for GLIB_SHARP_20... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$GLIB_SHARP_20_CFLAGS"; then pkg_cv_GLIB_SHARP_20_CFLAGS="$GLIB_SHARP_20_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glib-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GLIB_SHARP_20_LIBS"; then pkg_cv_GLIB_SHARP_20_LIBS="$GLIB_SHARP_20_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_SHARP_20_LIBS=`$PKG_CONFIG --libs "glib-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-sharp-2.0"` else GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-sharp-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_SHARP_20_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (glib-sharp-2.0) were not met: $GLIB_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (glib-sharp-2.0) were not met: $GLIB_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GLIB_SHARP_20_CFLAGS=$pkg_cv_GLIB_SHARP_20_CFLAGS GLIB_SHARP_20_LIBS=$pkg_cv_GLIB_SHARP_20_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi pkg_failed=no echo "$as_me:$LINENO: checking for GLADE_SHARP_20" >&5 echo $ECHO_N "checking for GLADE_SHARP_20... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$GLADE_SHARP_20_CFLAGS"; then pkg_cv_GLADE_SHARP_20_CFLAGS="$GLADE_SHARP_20_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glade-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GLADE_SHARP_20_LIBS"; then pkg_cv_GLADE_SHARP_20_LIBS="$GLADE_SHARP_20_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_SHARP_20_LIBS=`$PKG_CONFIG --libs "glade-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glade-sharp-2.0"` else GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glade-sharp-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GLADE_SHARP_20_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (glade-sharp-2.0) were not met: $GLADE_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (glade-sharp-2.0) were not met: $GLADE_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GLADE_SHARP_20_CFLAGS=$pkg_cv_GLADE_SHARP_20_CFLAGS GLADE_SHARP_20_LIBS=$pkg_cv_GLADE_SHARP_20_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" enable_debug=yes else enable_debug=no fi; if test x$enable_debug = xyes; then ENABLE_DEBUG_TRUE= ENABLE_DEBUG_FALSE='#' else ENABLE_DEBUG_TRUE='#' ENABLE_DEBUG_FALSE= fi if test "x$enable_debug" = "xyes" ; then DEBUG_CONFIG_LIBRARIES='' DEBUG_CONFIG_LIBS='' CONFIG_REQUESTED="yes" fi # Check whether --enable-release or --disable-release was given. if test "${enable_release+set}" = set; then enableval="$enable_release" enable_release=yes else enable_release=no fi; if test x$enable_release = xyes; then ENABLE_RELEASE_TRUE= ENABLE_RELEASE_FALSE='#' else ENABLE_RELEASE_TRUE='#' ENABLE_RELEASE_FALSE= fi if test "x$enable_release" = "xyes" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' CONFIG_REQUESTED="yes" fi if test -z "$CONFIG_REQUESTED" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' if true; then ENABLE_RELEASE_TRUE= ENABLE_RELEASE_FALSE='#' else ENABLE_RELEASE_TRUE='#' ENABLE_RELEASE_FALSE= fi fi ac_config_files="$ac_config_files ./Sysinfo/sysinfo ./Sysinfo/Makefile ./Makefile ./Sysinfo/Sysinfo.Sysinfo.pc" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then we branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. cat >confdef2opt.sed <<\_ACEOF t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g t quote s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g t quote d : quote s,[ `~#$^&*(){}\\|;'"<>?],\\&,g s,\[,\\&,g s,\],\\&,g s,\$,$$,g p _ACEOF # We use echo to avoid assuming a particular line-breaking character. # The extra dot is to prevent the shell from consuming trailing # line-breaks from the sub-command output. A line-break within # single-quotes doesn't work because, if this script is created in a # platform that uses two characters for line-breaks (e.g., DOS), tr # would break. ac_LF_and_DOT=`echo; echo .` DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` rm -f confdef2opt.sed ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_RELEASE_TRUE}" && test -z "${ENABLE_RELEASE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_RELEASE_TRUE}" && test -z "${ENABLE_RELEASE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by Sysinfo $as_me 0.7, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ Sysinfo config.status 0.7 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "./Sysinfo/sysinfo" ) CONFIG_FILES="$CONFIG_FILES ./Sysinfo/sysinfo" ;; "./Sysinfo/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Sysinfo/Makefile" ;; "./Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Makefile" ;; "./Sysinfo/Sysinfo.Sysinfo.pc" ) CONFIG_FILES="$CONFIG_FILES ./Sysinfo/Sysinfo.Sysinfo.pc" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@MCS@,$MCS,;t t s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t s,@MONO_CAIRO_CFLAGS@,$MONO_CAIRO_CFLAGS,;t t s,@MONO_CAIRO_LIBS@,$MONO_CAIRO_LIBS,;t t s,@GTK_SHARP_20_CFLAGS@,$GTK_SHARP_20_CFLAGS,;t t s,@GTK_SHARP_20_LIBS@,$GTK_SHARP_20_LIBS,;t t s,@GCONF_SHARP_20_CFLAGS@,$GCONF_SHARP_20_CFLAGS,;t t s,@GCONF_SHARP_20_LIBS@,$GCONF_SHARP_20_LIBS,;t t s,@GLIB_SHARP_20_CFLAGS@,$GLIB_SHARP_20_CFLAGS,;t t s,@GLIB_SHARP_20_LIBS@,$GLIB_SHARP_20_LIBS,;t t s,@GLADE_SHARP_20_CFLAGS@,$GLADE_SHARP_20_CFLAGS,;t t s,@GLADE_SHARP_20_LIBS@,$GLADE_SHARP_20_LIBS,;t t s,@ENABLE_DEBUG_TRUE@,$ENABLE_DEBUG_TRUE,;t t s,@ENABLE_DEBUG_FALSE@,$ENABLE_DEBUG_FALSE,;t t s,@DEBUG_CONFIG_LIBRARIES@,$DEBUG_CONFIG_LIBRARIES,;t t s,@DEBUG_CONFIG_LIBS@,$DEBUG_CONFIG_LIBS,;t t s,@ENABLE_RELEASE_TRUE@,$ENABLE_RELEASE_TRUE,;t t s,@ENABLE_RELEASE_FALSE@,$ENABLE_RELEASE_FALSE,;t t s,@RELEASE_CONFIG_LIBRARIES@,$RELEASE_CONFIG_LIBRARIES,;t t s,@RELEASE_CONFIG_LIBS@,$RELEASE_CONFIG_LIBS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_srcdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@builddir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi sysinfo-0.7/install-sh0000755000076400007640000002202110455117014014273 0ustar ghaefbghaefb#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: sysinfo-0.7/INSTALL0000664000076400007640000002257410266441511013341 0ustar ghaefbghaefbFedora/RedHat users ******************* Run these commands: ./configure --prefix=/usr make make install (as root) Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PREFIX', the package will use PREFIX as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the `--target=TYPE' option to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Here is a another example: /bin/bash ./configure CONFIG_SHELL=/bin/bash Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. sysinfo-0.7/missing0000755000076400007640000002540610455117014013700 0ustar ghaefbghaefb#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: sysinfo-0.7/Makefile.in0000644000076400007640000004761510523120373014352 0ustar ghaefbghaefb# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure COPYING \ ChangeLog NEWS install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pkglibdir)" \ "$(DESTDIR)$(sysinfodesktopdir)" pkglibDATA_INSTALL = $(INSTALL_DATA) sysinfodesktopDATA_INSTALL = $(INSTALL_DATA) DATA = $(pkglib_DATA) $(sysinfodesktop_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = Sysinfo DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEBUG_CONFIG_LIBRARIES = @DEBUG_CONFIG_LIBRARIES@ DEBUG_CONFIG_LIBS = @DEBUG_CONFIG_LIBS@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ ENABLE_DEBUG_FALSE = @ENABLE_DEBUG_FALSE@ ENABLE_DEBUG_TRUE = @ENABLE_DEBUG_TRUE@ ENABLE_RELEASE_FALSE = @ENABLE_RELEASE_FALSE@ ENABLE_RELEASE_TRUE = @ENABLE_RELEASE_TRUE@ GCONF_SHARP_20_CFLAGS = @GCONF_SHARP_20_CFLAGS@ GCONF_SHARP_20_LIBS = @GCONF_SHARP_20_LIBS@ GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@ GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@ GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RELEASE_CONFIG_LIBRARIES = @RELEASE_CONFIG_LIBRARIES@ RELEASE_CONFIG_LIBS = @RELEASE_CONFIG_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ #Warning: This is an automatically generated file, do not edit! @ENABLE_DEBUG_TRUE@SUBDIRS = Sysinfo @ENABLE_RELEASE_TRUE@SUBDIRS = Sysinfo sysinfodesktopdir = /usr/share/applications sysinfodesktop_DATA = \ sysinfo.desktop pkglib_DATA = $(DLL_REFERENCES) DLL_REFERENCES = EXTRA_DIST = \ $(DLL_REFERENCES)\ $(sysinfodesktop_DATA) all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ./Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign ./Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) uninstall-info-am: install-pkglibDATA: $(pkglib_DATA) @$(NORMAL_INSTALL) test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)" @list='$(pkglib_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(pkglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ done uninstall-pkglibDATA: @$(NORMAL_UNINSTALL) @list='$(pkglib_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done install-sysinfodesktopDATA: $(sysinfodesktop_DATA) @$(NORMAL_INSTALL) test -z "$(sysinfodesktopdir)" || $(mkdir_p) "$(DESTDIR)$(sysinfodesktopdir)" @list='$(sysinfodesktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(sysinfodesktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysinfodesktopdir)/$$f'"; \ $(sysinfodesktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysinfodesktopdir)/$$f"; \ done uninstall-sysinfodesktopDATA: @$(NORMAL_UNINSTALL) @list='$(sysinfodesktop_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(sysinfodesktopdir)/$$f'"; \ rm -f "$(DESTDIR)$(sysinfodesktopdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/./Sysinfo @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sysinfodesktopdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-sysinfodesktopDATA install-exec-am: install-pkglibDATA install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-pkglibDATA \ uninstall-sysinfodesktopDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ dist-tarZ dist-zip distcheck distclean distclean-generic \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-pkglibDATA install-strip install-sysinfodesktopDATA \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am uninstall-pkglibDATA \ uninstall-sysinfodesktopDATA # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sysinfo-0.7/README0000664000076400007640000000047410446212444013164 0ustar ghaefbghaefbAbout ----- Sysinfo is an application for the GNOME Desktop which can display some useful computer and system information. Dependencies ----------- * The latest GNOME development packages (gtk+-2.8) * A full Mono Development stack (mono 1.1.x, gtk-sharp-2.0, etc.) * Cairo graphics library (cairo 1.0.x) sysinfo-0.7/COPYING0000664000076400007640000004311010266441203013326 0ustar ghaefbghaefb GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. sysinfo-0.7/aclocal.m40000644000076400007640000006264710523120371014145 0ustar ghaefbghaefb# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR sysinfo-0.7/sysinfo.desktop0000664000076400007640000000032210523111161015347 0ustar ghaefbghaefb[Desktop Entry] Encoding=UTF-8 Name=Sysinfo Comment=Display detailed computer/system information Exec=sysinfo Icon=computer.png Terminal=false MultipleArgs=false Type=Application Categories=Application;System; sysinfo-0.7/ChangeLog0000777000076400007640000000000010523405021017237 2Sysinfo/ChangeLogustar ghaefbghaefbsysinfo-0.7/Makefile.am0000644000076400007640000000053710523117434014335 0ustar ghaefbghaefb #Warning: This is an automatically generated file, do not edit! if ENABLE_DEBUG SUBDIRS = Sysinfo endif if ENABLE_RELEASE SUBDIRS = Sysinfo endif sysinfodesktopdir = /usr/share/applications sysinfodesktop_DATA = \ sysinfo.desktop pkglib_DATA = $(DLL_REFERENCES) DLL_REFERENCES = EXTRA_DIST = \ $(DLL_REFERENCES)\ $(sysinfodesktop_DATA) sysinfo-0.7/Makefile.include0000644000076400007640000000177310523117357015372 0ustar ghaefbghaefbbuild_sources = $(addprefix $(srcdir)/, $(FILES) $(GENERATED_FILES)) build_resources = $(addprefix $(srcdir)/, $(RESOURCES)) build_resources_embed = $(foreach res,$(build_resources), $(addprefix -resource:,$(res)),$(RESOURCES_PREFIX)$(notdir $(res))) build_references_ref = $(REFERENCES) build_references_ref += $(foreach ref, $(DLL_REFERENCES), -r:$(ref)) build_references_ref += $(foreach ref, $(PROJECT_REFERENCES), -r:$(ref)) pc_files = $(PC_FILES_IN:.pc.in=.pc) build_datafiles = $(addprefix $(BUILD_DIR)/, $(DATA_FILES)) $(build_datafiles): $(BUILD_DIR)/% : $(addprefix $(srcdir)/, %) mkdir -p $(dir $@) cp $< $@ EXTRA_DIST = $(FILES) $(GENERATED_FILES) $(RESOURCES) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES) $(PC_FILES_IN) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DLL_REFERENCES) DISTCLEANFILES = $(GENERATED_FILES) $(build_datafiles) $(pc_files) pkglib_SCRIPTS = $(ASSEMBLY) $(build_datafiles) bin_SCRIPTS = $(ASSEMBLY_WRAPPER) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pc_files) sysinfo-0.7/NEWS0000664000076400007640000000001710446212301012764 0ustar ghaefbghaefb See ChangeLog sysinfo-0.7/configure.ac0000644000076400007640000000343510523117357014573 0ustar ghaefbghaefbdnl Warning: This is an automatically generated file, do not edit! dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.54]) AC_INIT([Sysinfo], [0.7]) AM_INIT_AUTOMAKE([foreign]) dnl pkg-config AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi AC_PROG_INSTALL AC_PATH_PROG(MCS, mcs, no) if test "x$MCS" = "xno"; then AC_MSG_ERROR([mcs Not found]) fi PKG_CHECK_MODULES([MONO_CAIRO], [mono-cairo]) PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0]) PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0]) PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0]) PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0]) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Use 'Debug' Configuration [default=NO]]), enable_debug=yes, enable_debug=no) AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes) if test "x$enable_debug" = "xyes" ; then DEBUG_CONFIG_LIBRARIES='' DEBUG_CONFIG_LIBS='' AC_SUBST(DEBUG_CONFIG_LIBRARIES) AC_SUBST(DEBUG_CONFIG_LIBS) CONFIG_REQUESTED="yes" fi AC_ARG_ENABLE(release, AC_HELP_STRING([--enable-release], [Use 'Release' Configuration [default=YES]]), enable_release=yes, enable_release=no) AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes) if test "x$enable_release" = "xyes" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' AC_SUBST(RELEASE_CONFIG_LIBRARIES) AC_SUBST(RELEASE_CONFIG_LIBS) CONFIG_REQUESTED="yes" fi if test -z "$CONFIG_REQUESTED" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' AC_SUBST(RELEASE_CONFIG_LIBRARIES) AC_SUBST(RELEASE_CONFIG_LIBS) AM_CONDITIONAL(ENABLE_RELEASE, true) fi AC_CONFIG_FILES([ ./Sysinfo/sysinfo ./Sysinfo/Makefile ./Makefile ./Sysinfo/Sysinfo.Sysinfo.pc ]) AC_OUTPUT