1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en"
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
7 <title>geda:suse_rpm_installation
</title>
8 <meta name=
"generator" content=
"DokuWiki Release rc2007-05-24" />
9 <meta name=
"robots" content=
"index,follow" />
10 <meta name=
"date" content=
"2008-03-27T04:50:13-0400" />
11 <meta name=
"keywords" content=
"geda,suse_rpm_installation" />
12 <link rel=
"search" type=
"application/opensearchdescription+xml" href=
"http://geda.seul.org/wiki/lib/exe/opensearch.php" title=
"geda Wiki" />
13 <link rel=
"start" href=
"http://geda.seul.org/wiki/" />
14 <link rel=
"contents" href=
"http://geda.seul.org/wiki/geda:suse_rpm_installation?do=index" title=
"Index" />
15 <link rel=
"alternate" type=
"application/rss+xml" title=
"Recent Changes" href=
"http://geda.seul.org/wiki/feed.php" />
16 <link rel=
"alternate" type=
"application/rss+xml" title=
"Current Namespace" href=
"http://geda.seul.org/wiki/feed.php?mode=list&ns=geda" />
17 <link rel=
"alternate" type=
"text/html" title=
"Plain HTML" href=
"http://geda.seul.org/wiki/_export/xhtml/geda:suse_rpm_installation" />
18 <link rel=
"alternate" type=
"text/plain" title=
"Wiki Markup" href=
"http://geda.seul.org/wiki/_export/raw/geda:suse_rpm_installation" />
19 <link rel=
"stylesheet" media=
"all" type=
"text/css" href=
"lib/exe/css" />
20 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"lib/exe/001css" />
21 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"lib/exe/002css" />
24 <div class=
"dokuwiki export">
26 <div class=
"tocheader toctoggle" id=
"toc__header">Table of Contents
</div>
27 <div id=
"toc__inside">
30 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#installing_geda_rpm_packages_on_suse" class=
"toc">Installing gEDA rpm packages on SuSE
</a></span></div>
32 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#available_rpm_packages" class=
"toc">Available rpm packages
</a></span></div></li>
33 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#installing_packages_from_the_suse_build_service" class=
"toc">Installing Packages from the SuSE Build Service
</a></span></div></li>
34 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#distribution_specific_notes" class=
"toc">Distribution specific notes
</a></span></div>
36 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#suse_10.0" class=
"toc">SuSE
10.0</a></span></div></li>
37 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#suse_10.1" class=
"toc">SuSE
10.1</a></span></div></li>
38 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#suse_10.2" class=
"toc">SuSE
10.2</a></span></div></li>
39 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#suse_10.3" class=
"toc">SuSE
10.3</a></span></div></li>
42 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#desktop_integration" class=
"toc">Desktop Integration
</a></span></div>
44 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#electronics_menu" class=
"toc">Electronics Menu
</a></span></div></li>
45 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#notes_about_rpm_spec_file" class=
"toc">Notes about rpm spec file
</a></span></div></li>
46 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#installing_rpm_packages_manually" class=
"toc">Installing rpm packages manually
</a></span></div></li></ul>
54 <h1><a name=
"installing_geda_rpm_packages_on_suse" id=
"installing_geda_rpm_packages_on_suse">Installing gEDA rpm packages on SuSE
</a></h1>
58 <!-- SECTION "Installing gEDA rpm packages on SuSE" [1-52] -->
59 <h2><a name=
"available_rpm_packages" id=
"available_rpm_packages">Available rpm packages
</a></h2>
62 <li class=
"level1"><div class=
"li"> libgeda (
1.4.0)
</div>
64 <li class=
"level1"><div class=
"li"> geda-docs (
1.4.0)
</div>
66 <li class=
"level1"><div class=
"li"> geda-examples (
1.4.0)
</div>
68 <li class=
"level1"><div class=
"li"> geda-gattrib (
1.4.0)
</div>
70 <li class=
"level1"><div class=
"li"> geda-gnetlist (
1.4.0)
</div>
72 <li class=
"level1"><div class=
"li"> geda-gschem (
1.4.0)
</div>
74 <li class=
"level1"><div class=
"li"> geda-gsymcheck (
1.4.0)
</div>
76 <li class=
"level1"><div class=
"li"> geda-symbols (
1.4.0)
</div>
78 <li class=
"level1"><div class=
"li"> geda-utils (
1.4.0)
</div>
80 <li class=
"level1"><div class=
"li"> gerbv (
2.0.1)
</div>
82 <li class=
"level1"><div class=
"li"> pcb (
20080202)
</div>
84 <li class=
"level1"><div class=
"li"> ng-spice-rework (
17)
</div>
86 <li class=
"level1"><div class=
"li"> gnucap (
0.35)
</div>
88 <li class=
"level1"><div class=
"li"> gspiceui (
0.9.65)
</div>
90 <li class=
"level1"><div class=
"li"> gwave (
20051222)
</div>
92 <li class=
"level1"><div class=
"li"> gtkwave (
3.1.7)
</div>
94 <li class=
"level1"><div class=
"li"> dinotrace (
9.3f)
</div>
96 <li class=
"level1"><div class=
"li"> verilog (
0.8.6)
</div>
98 <li class=
"level1"><div class=
"li"> wcalc (
1.0)
</div>
100 <li class=
"level1"><div class=
"li"> xgsch2pcb (
0.1.2)
</div>
102 <li class=
"level1"><div class=
"li"> electronics-menu (
1.0)
</div>
107 <!-- SECTION "Available rpm packages" [53-558] -->
108 <h2><a name=
"installing_packages_from_the_suse_build_service" id=
"installing_packages_from_the_suse_build_service">Installing Packages from the SuSE Build Service
</a></h2>
111 <li class=
"level1"><div class=
"li"> Start Yast and go to “Change Installation Source”
</div>
113 <li class=
"level1"><div class=
"li"> Add a
<acronym title=
"Hyper Text Transfer Protocol">HTTP
</acronym> source with the following properties:
</div>
115 <li class=
"level3"><div class=
"li"> <strong>Servername:
</strong> software.opensuse.org
</div>
117 <li class=
"level3"><div class=
"li"> <strong>Directory:
</strong> /download/repositories/science/openSUSE_10.2/
</div>
124 (Choose the directory for your distribution)
127 <li class=
"level1"><div class=
"li"> Start “Install Software” in Yast, goto “Search” and look for gEDA. All packages appear.
</div>
129 <li class=
"level1"><div class=
"li"> Install the packages as usuall.
</div>
134 For more informations read the
<a href=
"http://en.opensuse.org/Build_Service/User" class=
"urlextern" title=
"http://en.opensuse.org/Build_Service/User" rel=
"nofollow"> generic installation notes
</a> of the
<a href=
"http://en.opensuse.org/Build_Service" class=
"urlextern" title=
"http://en.opensuse.org/Build_Service" rel=
"nofollow"> OpenSuSE Build Service
</a>
138 You can also browse through repositories first:
<a href=
"http://software.opensuse.org/download/science/SUSE_Linux_10.0/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/SUSE_Linux_10.0/repodata/" rel=
"nofollow"> SUSE_Linux_10.0 repo
</a>,
<a href=
"http://software.opensuse.org/download/science/SUSE_Linux_10.1/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/SUSE_Linux_10.1/repodata/" rel=
"nofollow"> SUSE_Linux_10.1 repo
</a>,
<a href=
"http://software.opensuse.org/download/science/openSUSE_10.2/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/openSUSE_10.2/repodata/" rel=
"nofollow"> openSUSE_10.2 repo
</a>,
<a href=
"http://software.opensuse.org/download/science/openSUSE_10.3/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/openSUSE_10.3/repodata/" rel=
"nofollow"> openSUSE_10.3 repo
</a>
142 <!-- SECTION "Installing Packages from the SuSE Build Service" [559-1663] -->
143 <h2><a name=
"distribution_specific_notes" id=
"distribution_specific_notes">Distribution specific notes
</a></h2>
147 Each distribution version has it’s own issues. Please read the notes below.
151 <!-- SECTION "Distribution specific notes" [1664-1782] -->
152 <h3><a name=
"suse_10.0" id=
"suse_10.0">SuSE
10.0</a></h3>
155 <li class=
"level1"><div class=
"li"> <strong>xgschem2pcb
</strong> not available, it requires a more recent dbus library
</div>
160 <!-- SECTION "SuSE 10.0" [1783-1879] -->
161 <h3><a name=
"suse_10.1" id=
"suse_10.1">SuSE
10.1</a></h3>
164 <li class=
"level1"><div class=
"li"> <strong>xgschem2pcb
</strong> not available, it requires a more recent dbus library
</div>
169 <!-- SECTION "SuSE 10.1" [1880-1974] -->
170 <h3><a name=
"suse_10.2" id=
"suse_10.2">SuSE
10.2</a></h3>
173 <li class=
"level1"><div class=
"li"> <strong>gwave cannot be build
</strong>, it requires guile-gtk which requires libglade and gtk12. libglade is no longer part of the SuSE distribution.
</div>
178 <!-- SECTION "SuSE 10.2" [1975-2137] -->
179 <h3><a name=
"suse_10.3" id=
"suse_10.3">SuSE
10.3</a></h3>
182 <li class=
"level1"><div class=
"li"> <strong>gwave cannot be build
</strong>, it requires guile-gtk which requires libglade and gtk12. libglade is no longer part of the SuSE distribution.
</div>
187 <!-- SECTION "SuSE 10.3" [2138-2301] -->
188 <h2><a name=
"desktop_integration" id=
"desktop_integration">Desktop Integration
</a></h2>
192 This is a summary how the gEDA and other electronic packages are integrated into the desktop of openSUSE.
196 <!-- SECTION "Desktop Integration" [2302-2441] -->
197 <h3><a name=
"electronics_menu" id=
"electronics_menu">Electronics Menu
</a></h3>
201 Unfortunatly the openSUSE distribution does not provide a electronics menu entry for all the nice gEDA programms. Peter Clifton has created a menu entry for electronics. This menu package is available in the
<strong>electronics-menu
</strong> rpm. It contains the menu item and some icons for it. The menu categorie is called
<strong>Edutainment
–>Electronics
</strong> in openSUSE.
205 If it is installed, it looks like this in KDE (manually combined with gimp):
209 <a href=
"_detail/geda_suse_electronics_menu.html" class=
"media" title=
"geda:suse_electronics_menu.png"><img src=
"_media/geda_suse_electronics_menu.png" class=
"media" alt=
"" /></a>
213 <!-- SECTION "Electronics Menu" [2442-2942] -->
214 <h3><a name=
"notes_about_rpm_spec_file" id=
"notes_about_rpm_spec_file">Notes about rpm spec file
</a></h3>
218 openSUSE calls it’s
<em>SuSEconfig
</em> program after every installation of rpm packages with YaST. Thus it’s not necessary to integrate all configuration calls into the
<em>post
</em> and
<em>postun
</em> rpm sections.
222 The only additions in the
<acronym title=
"specification">spec
</acronym> files are for the
<em>Shared
<acronym title=
"Multipurpose Internet Mail Extension">MIME
</acronym> Info
</em>. It is described in this openSUSE
<a href=
"http://en.opensuse.org/Packaging/SUSE_Package_Conventions/Specific_Packages#10.1.3._Shared_MIME_Info" class=
"urlextern" title=
"http://en.opensuse.org/Packaging/SUSE_Package_Conventions/Specific_Packages#10.1.3._Shared_MIME_Info" rel=
"nofollow">SUSE_Package_Conventions/Specific_Packages
</a> article.
224 <pre class=
"code">PreReq: shared-mime-info
226 <pre class=
"code">%post
227 /usr/bin/update-mime-database /opt/gnome/share/mime
>/dev/null
</pre>
228 <pre class=
"code">%postun
229 /usr/bin/update-mime-database /opt/gnome/share/mime
>/dev/null
</pre>
232 Another addition is required to install the mimelnks properly in the KDE environment. KDE does not take care of the mimelnks installed in
<em>/usr/share/mimelnk
</em>/, thus they have to be copied to the KDE directory
<em>/opt/kde3/mimelnk
</em>/. This is done in the rpm
<acronym title=
"specification">spec
</acronym> file inside the %install section
234 <pre class=
"code">%install
236 kdemimedir=$(kde-config --install mime)
237 mkdir -p
"$RPM_BUILD_ROOT
""$kdemimedir
""/application
"
238 cp
"$RPM_BUILD_ROOT
"/usr/share/mimelnk/application/*
"$RPM_BUILD_ROOT
""$kdemimedir
""/application/
"</pre>
241 <!-- SECTION "Notes about rpm spec file" [2943-4164] -->
242 <h3><a name=
"installing_rpm_packages_manually" id=
"installing_rpm_packages_manually">Installing rpm packages manually
</a></h3>
246 For those who don’t use YaST for installation the SuSEconfig command has to be executed manually after installing or removing any rpm package. You can either call the toplevel SuSEconfig command
248 <pre class=
"code">/sbin/SuSEconfig
</pre>
251 or call only the two required subconfiguration tools
253 <pre class=
"code">/sbin/conf.d/SuSEconfig.desktop-file-utils
</pre>
258 <pre class=
"code">/usr/bin/update-desktop-database
</pre>
263 <pre class=
"code">/sbin/conf.d/SuSEconfig.gtk2
</pre>
268 <pre class=
"code">/usr/bin/gtk-update-icon-cache --quiet --ignore-theme-index --remove-empty-cache
"$SUBDIR
"</pre>
271 <!-- SECTION "Installing rpm packages manually" [4165-] --></div>