From 6d17236b0da0537485da806e5d7c1563551b6c93 Mon Sep 17 00:00:00 2001 From: plyatov Date: Tue, 18 Mar 2008 21:16:49 +0000 Subject: [PATCH] Added icon and "kicad.desktop" for Gnome/KDE menu. --- CMakeLists.txt | 9 +++++++++ bitmaps/kicad.png | Bin 0 -> 2294 bytes include/build_version.h | 2 +- share/kicad.desktop | 14 ++++++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 bitmaps/kicad.png create mode 100644 share/kicad.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 0477db598c..29cfd69b74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ if(UNIX) # When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX. set(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.") set(KICAD_DATA share/kicad CACHE PATH "Location of KiCad data files.") + SET(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.") endif(APPLE) endif(UNIX) @@ -47,6 +48,7 @@ if(WIN32) # When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX. set(KICAD_PLUGINS ${KICAD_BIN}/plugins) set(KICAD_DATA share CACHE PATH "Location of KiCad data files.") + SET(KICAD_DOCS doc) endif(WIN32) set(KICAD_DEMOS ${KICAD_DATA}/demos) @@ -103,3 +105,10 @@ add_subdirectory(polygon) add_subdirectory(demos) add_subdirectory(internat) add_subdirectory(template) + +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/install.txt DESTINATION ${KICAD_DOCS} COMPONENT resources) +if(UNIX) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/share/kicad.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT resources) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bitmaps/kicad.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps COMPONENT resources) +endif(UNIX) + diff --git a/bitmaps/kicad.png b/bitmaps/kicad.png new file mode 100644 index 0000000000000000000000000000000000000000..6c3303503968204b400ecddcfbce04dc18a43699 GIT binary patch literal 2294 zcmVam1?FT4q|Ot<3Zf zJEM-!j-y3J>sYFe;3$efHRX{60xXXNl0ZnZB%6?IUb}mD_ujqz12KdRflklNnLEGp z{N8hZ_sqG%vMjErN%<4!J+i9o)H6>#-l2&&Ml6CEi*ov0gTAEn7tX)@@wcZIluR#( zhWo9U9-=)E6o21U{-Cbw4J&8ndegKB(QrSJV4wBn@wU1zzCSiOA<2)V3?(eiacyn) z?)53GX0)aYL*{n|#Ch|KBtu0Dw_8Lp(pOp2OdK!k&L08qy|e-Z*eL zc546zwP5q+%>_=U^FE>3Ga!s2LD_9B9PWbmKlM{svXBiMHmsdKDa+nx$oNOjA?&Y5 zr5jaM?@(1W9pDF}5L?a^JZHCISWz`QJ9|+u7>tKPp|jy|xcS%q?BRu1h4<@^4>F9-= z!KE5w*LgC>$5;RPR5bS6@E)lnsx=Y|xA3#^5nd>LMF1Q-ww++paSn#VWW{|%CoB|m zN=pU6_U+rXgci)tM*Ml6m5XYC(gKQ|*E^B`HKAW$d%M|rt`6sIi6vkegS+>C*?;akQJV+#ruk5fHygc0j4^v|hY=@OrJVLB zw_jdO#OUDlgK5;8cQR|vYF1|E{|E?76Aa_Z^IFQwDFosZciQI1u6sjKy(s3{z)bd!@?Nc!l+u`WvyTANODzPTIAQUMtNcgpST-o1y? z(v`OcAQ%jyC@w-FjYEgdaK7OLLP|w2g19sSXY$~3+BBVT?|Dw0?V>MeaqX9*D1JO+ z!hE}XH`!@6g5d~?q9nZVAc0{RLQ!l0^z~;lVWNxv{!2t-GR4KS0N0O+BXqXaaJ;dX zur3BijQ3GI(F#To>_?RHy|6#nVl z)0=|L=0Z^}bLNbXnZ?O;w)awfi)=Hjs81hazMfl4d8?)nz0Am^yU~jg3`|99ew53SBqxcr4m3 zgQA3)nA?Zn-$tWPFe>vhnkEs88PuMtB+!*gN{W+~fKIA2nV2PUw7NRp+tc&8EX$HC z%OYl4kpuwCm*2y4&pwL?zR$GTf54fPF-R{g3%8?|#Vcph+!Cj&*G8mEr@p=shh5NA z^DR$5_AsCCtzcwY1}@Jy4xXz)kD0vl-bdZLcI|rj+IR{3z?3OdSUPPKd)D+|p8Yi! z>%JVMZ*6U+vp>S&iW8`+gkeBy%Nf4j`428M)Ua;dYG%w|j;7hLtT^LyCs49*1@|s_ z0Mj%RhVzgMiNmI$$bz?53RZbO!+Y>GVlf>6Suz0d`+Ly!Fo*W<;IZi@lk&0%=~3n^ z{yCXhSqLFv7z6o)5J-}guz=ohBf3ftOm*{ST<%nY!62i}Hi|?YJ07$k)<}6z z`|tqn&0+Rii>(|K6VwBs*!kVLq4$B8?jOZV%d$bS^L-P5-xmH=?< z-RA)a#lU$h0FL{uJFgzRUT?6lu+aJT%d3Gi3C2-V@Kt9vjSc!`8=)!@qo)xO1lP^s?zx`v-I` z#U#JC0!a>0OWGj6+1hE0&MK5-W4Q3c1L)Fa-fzq0!G|7V!q`y|4JFt}VhG2pfhBHf zDIIbUUFw${8-GyB%btDJnlOIc&7=GuG-L%TFZ8_l(5kWuOHw=AO}k~78iwhh)nB6n z1bX`X$9vtLXjrwPdXSFpJ}k>>iO1s|)h!Vkwaj=p*h?hbPax!P9S*>M0Y*rQf$Ln4 Q>;M1&07*qoM6N<$g2;7b1ONa4 literal 0 HcmV?d00001 diff --git a/include/build_version.h b/include/build_version.h index 002a7d15a3..bf047a0500 100644 --- a/include/build_version.h +++ b/include/build_version.h @@ -5,7 +5,7 @@ COMMON_GLOBL wxString g_BuildVersion #ifdef EDA_BASE - (wxT("(20080311-r876)")) + (wxT("(20080313-r890)")) #endif ; diff --git a/share/kicad.desktop b/share/kicad.desktop new file mode 100644 index 0000000000..2cc3df7ebd --- /dev/null +++ b/share/kicad.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +GenericName[en]=KiCad - project manager +GenericName[ru]=KiCad - менеджер проектов +Comment[en]=Electrical schematic and PCB design suite +Comment[ru]=Комплекс для разработки электрических схем и печатных плат +MimeType=text/pro +Name=KiCad +Exec=kicad +Icon=kicad +Type=Application +Terminal=false +Categories=Scientific; +