Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
867d30d1
Commit
867d30d1
authored
Aug 17, 2008
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linux/Unix desktop files updated and moved to resources directory, about dialog updated
parent
56f30b4d
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
120 additions
and
7 deletions
+120
-7
CMakeLists.txt
CMakeLists.txt
+58
-2
about_kicad.cpp
common/about_kicad.cpp
+11
-2
cvpcb.cpp
cvpcb/cvpcb.cpp
+1
-1
kicad.cpp
kicad/kicad.cpp
+1
-1
pcbnew.cpp
pcbnew/pcbnew.cpp
+1
-1
kicad.png
resources/linux/icons/kicad.png
+0
-0
kicad_cvpcb.png
resources/linux/icons/kicad_cvpcb.png
+0
-0
kicad_eeschema.png
resources/linux/icons/kicad_eeschema.png
+0
-0
kicad_gerbview.png
resources/linux/icons/kicad_gerbview.png
+0
-0
kicad_pcbnew.png
resources/linux/icons/kicad_pcbnew.png
+0
-0
cvpcb.desktop
resources/linux/opendesktop/cvpcb.desktop
+12
-0
eeschema.desktop
resources/linux/opendesktop/eeschema.desktop
+12
-0
gerbview.desktop
resources/linux/opendesktop/gerbview.desktop
+12
-0
kicad.desktop
resources/linux/opendesktop/kicad.desktop
+0
-0
pcbnew.desktop
resources/linux/opendesktop/pcbnew.desktop
+12
-0
No files found.
CMakeLists.txt
View file @
867d30d1
...
@@ -163,11 +163,67 @@ install(FILES freeroute.jnlp
...
@@ -163,11 +163,67 @@ install(FILES freeroute.jnlp
DESTINATION
${
KICAD_BIN
}
DESTINATION
${
KICAD_BIN
}
COMPONENT resources
)
COMPONENT resources
)
if
(
UNIX
)
if
(
UNIX
)
install
(
FILES share/kicad.desktop
# set resource dir variables
set
(
LINUX_RESOURCES_DIR resources/linux
)
set
(
LINUX_DESKTOP_FILES
${
LINUX_RESOURCES_DIR
}
/opendesktop
)
set
(
LINUX_ICONS
${
LINUX_RESOURCES_DIR
}
/icons
)
# KiCad desktop file
install
(
FILES
${
LINUX_DESKTOP_FILES
}
/kicad.desktop
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
)
# KiCad icon file
install
(
FILES
${
LINUX_ICONS
}
/kicad.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
COMPONENT resources
)
# CVpcb desktop file
install
(
FILES
${
LINUX_DESKTOP_FILES
}
/cvpcb.desktop
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
)
# CVpcb icon file
install
(
FILES
${
LINUX_ICONS
}
/kicad_cvpcb.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
COMPONENT resources
)
# EEschema desktop file
install
(
FILES
${
LINUX_DESKTOP_FILES
}
/eeschema.desktop
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
)
# EEschema icon file
install
(
FILES
${
LINUX_ICONS
}
/kicad_eeschema.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
COMPONENT resources
)
# GerbView desktop file
install
(
FILES
${
LINUX_DESKTOP_FILES
}
/gerbview.desktop
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
)
COMPONENT resources
)
install
(
FILES bitmaps/kicad.png
# GerbView icon file
install
(
FILES
${
LINUX_ICONS
}
/kicad_gerbview.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
COMPONENT resources
)
COMPONENT resources
)
# PCBnew desktop file
install
(
FILES
${
LINUX_DESKTOP_FILES
}
/pcbnew.desktop
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications
COMPONENT resources
)
# PCBnew icon file
install
(
FILES
${
LINUX_ICONS
}
/kicad_pcbnew.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps
COMPONENT resources
)
endif
(
UNIX
)
endif
(
UNIX
)
common/about_kicad.cpp
View file @
867d30d1
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
extern
wxString
g_Main_Title
;
// Import program title
extern
wxString
g_Main_Title
;
// Import program title
/**************************************************/
/**************************************************/
void
InitKiCadAbout
(
wxAboutDialogInfo
&
info
)
void
InitKiCadAbout
(
wxAboutDialogInfo
&
info
)
/**************************************************/
/**************************************************/
...
@@ -36,16 +35,26 @@ void InitKiCadAbout(wxAboutDialogInfo& info)
...
@@ -36,16 +35,26 @@ void InitKiCadAbout(wxAboutDialogInfo& info)
/* Set license */
/* Set license */
info
.
SetLicence
(
wxString
::
FromAscii
info
.
SetLicence
(
wxString
::
FromAscii
(
(
"GNU GPLv3"
"The complete KiCad EDA Suite is released under the following license:
\n
"
"
\n
"
"GNU General Public License version 2
\n
"
"
\n
"
"See <http://www.gnu.org/licenses/> for more information"
));
));
/* Add developers */
/* Add developers */
info
.
AddDeveloper
(
_T
(
"Dick Hollenbeck <dick@softplc.com>"
));
info
.
AddDeveloper
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddDeveloper
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
/* Add document writers */
/* Add document writers */
info
.
AddDocWriter
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddDocWriter
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddDocWriter
(
_T
(
"Igor Plyatov <plyatov@gmail.com>"
));
/* Add translators */
/* Add translators */
info
.
AddTranslator
(
_T
(
"Czech (CZ) Milan Horák <stranger@tiscali.cz>"
));
info
.
AddTranslator
(
_T
(
"Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddTranslator
(
_T
(
"French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddTranslator
(
_T
(
"Polish (PL) Mateusz Skowroński <skowri@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"Russian (RU) Igor Plyatov <plyatov@gmail.com>"
));
}
}
cvpcb/cvpcb.cpp
View file @
867d30d1
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#include "id.h"
#include "id.h"
wxString
g_Main_Title
=
wxT
(
"C
v
pcb"
);
wxString
g_Main_Title
=
wxT
(
"C
V
pcb"
);
// Create a new application object
// Create a new application object
IMPLEMENT_APP
(
WinEDA_App
)
IMPLEMENT_APP
(
WinEDA_App
)
...
...
kicad/kicad.cpp
View file @
867d30d1
...
@@ -197,7 +197,7 @@ static void py_common_init()
...
@@ -197,7 +197,7 @@ static void py_common_init()
bool
WinEDA_App
::
OnInit
()
bool
WinEDA_App
::
OnInit
()
{
{
g_EDA_Appl
=
this
;
g_EDA_Appl
=
this
;
InitEDA_Appl
(
wxT
(
"
kic
ad"
));
InitEDA_Appl
(
wxT
(
"
KiC
ad"
));
/* init kicad */
/* init kicad */
GetSettings
();
// read current setup
GetSettings
();
// read current setup
...
...
pcbnew/pcbnew.cpp
View file @
867d30d1
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "eda_dde.h"
#include "eda_dde.h"
wxString
g_Main_Title
(
wxT
(
"PCB
NEW
"
)
);
wxString
g_Main_Title
(
wxT
(
"PCB
new
"
)
);
IMPLEMENT_APP
(
WinEDA_App
)
IMPLEMENT_APP
(
WinEDA_App
)
...
...
resources/linux/icons/kicad.png
0 → 100644
View file @
867d30d1
2.24 KB
resources/linux/icons/kicad_cvpcb.png
0 → 100644
View file @
867d30d1
4.17 KB
resources/linux/icons/kicad_eeschema.png
0 → 100644
View file @
867d30d1
4.17 KB
resources/linux/icons/kicad_gerbview.png
0 → 100644
View file @
867d30d1
4.17 KB
resources/linux/icons/kicad_pcbnew.png
0 → 100644
View file @
867d30d1
821 Bytes
resources/linux/opendesktop/cvpcb.desktop
0 → 100644
View file @
867d30d1
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=KiCad - CVpcb
GenericName[en]=CVpcb - Schema to PCB converter
Comment[en]=Schematic to PCB utility
MimeType=text/pro;
Exec=cvpcb
Icon=kicad_cvpcb
Type=Application
Terminal=false
Categories=Scientific;Development
resources/linux/opendesktop/eeschema.desktop
0 → 100644
View file @
867d30d1
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=KiCad - EESchema
GenericName[en]=KiCad - Schematic Designer
Comment[en]=Electrical schematic and PCB design suite
MimeType=text/pro;
Exec=eeschema
Icon=kicad_eeschema
Type=Application
Terminal=false
Categories=Scientific;Development
resources/linux/opendesktop/gerbview.desktop
0 → 100644
View file @
867d30d1
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=KiCad - GerbView
GenericName[en]=KiCad - Gerber Viewer
Comment[en]=KiCad's gerber viewer
MimeType=text/pro;
Exec=gerbview
Icon=kicad_gerbview
Type=Application
Terminal=false
Categories=Scientific;Development
share
/kicad.desktop
→
resources/linux/opendesktop
/kicad.desktop
View file @
867d30d1
File moved
resources/linux/opendesktop/pcbnew.desktop
0 → 100644
View file @
867d30d1
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=KiCad - PCBnew
GenericName[en]=KiCad - PCB Designer
Comment[en]=Electrical schematic and PCB design suite
MimeType=text/pro;
Exec=pcbnew
Icon=kicad_pcbnew
Type=Application
Terminal=false
Categories=Scientific;Development
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment