1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
7 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
8 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
10 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
15 <h1 class=
"sectionedit1300"><a name=
"installing_geda_rpm_packages_on_suse" id=
"installing_geda_rpm_packages_on_suse">Installing gEDA rpm packages on SuSE
</a></h1>
19 <!-- EDIT1300 SECTION "Installing gEDA rpm packages on SuSE" [1-54] -->
20 <h2 class=
"sectionedit1301"><a name=
"available_rpm_packages" id=
"available_rpm_packages">Available rpm packages
</a></h2>
23 <li class=
"level1"><div class=
"li"> geda (
1.6.1)
</div>
25 <li class=
"level1"><div class=
"li"> gerbv (
2.3.0)
</div>
27 <li class=
"level1"><div class=
"li"> pcb (
20091103)
</div>
29 <li class=
"level1"><div class=
"li"> ng-spice-rework (
20)
</div>
31 <li class=
"level1"><div class=
"li"> gnucap (
0.35)
</div>
33 <li class=
"level1"><div class=
"li"> gspiceui (
0.9.98)
</div>
35 <li class=
"level1"><div class=
"li"> gwave (
20090213)
</div>
37 <li class=
"level1"><div class=
"li"> gtkwave (
3.3.3)
</div>
39 <li class=
"level1"><div class=
"li"> dinotrace (
9.4a)
</div>
41 <li class=
"level1"><div class=
"li"> verilog (
0.9.1)
</div>
43 <li class=
"level1"><div class=
"li"> wcalc (
1.1)
</div>
45 <li class=
"level1"><div class=
"li"> xgsch2pcb (
0.1.3)
</div>
47 <li class=
"level1"><div class=
"li"> electronics-menu (
1.0)
</div>
52 <!-- EDIT1301 SECTION "Available rpm packages" [55-359] -->
53 <h2 class=
"sectionedit1302"><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>
56 <li class=
"level1"><div class=
"li"> Start Yast and go to “Change Installation Source”
</div>
58 <li class=
"level1"><div class=
"li"> Add a
<acronym title=
"Hyper Text Transfer Protocol">HTTP
</acronym> source with the following properties:
</div>
60 <li class=
"level3"><div class=
"li"> <strong>Servername:
</strong> software.opensuse.org
</div>
62 <li class=
"level3"><div class=
"li"> <strong>Directory:
</strong> /download/repositories/science/openSUSE_11.0/
</div>
69 (Choose the directory for your distribution)
72 <li class=
"level1"><div class=
"li"> Start “Install Software” in Yast, goto “Search” and look for gEDA. All packages appear.
</div>
74 <li class=
"level1"><div class=
"li"> Install the packages as usuall.
</div>
80 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>
84 You can also browse through repositories first:
85 <a href=
"http://software.opensuse.org/download/science/openSUSE_11.0/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/openSUSE_11.0/repodata/" rel=
"nofollow"> openSUSE_11.0 repo
</a>,
86 <a href=
"http://software.opensuse.org/download/science/openSUSE_11.1/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/openSUSE_11.1/repodata/" rel=
"nofollow"> openSUSE_11.1 repo
</a>.
87 <a href=
"http://software.opensuse.org/download/science/openSUSE_11.2/repodata/" class=
"urlextern" title=
"http://software.opensuse.org/download/science/openSUSE_11.2/repodata/" rel=
"nofollow"> openSUSE_11.2 repo
</a>.
91 <!-- EDIT1302 SECTION "Installing Packages from the SuSE Build Service" [360-1361] -->
92 <h2 class=
"sectionedit1303"><a name=
"distribution_specific_notes" id=
"distribution_specific_notes">Distribution specific notes
</a></h2>
97 Each distribution version has it
's own issues. Please read the notes below.
101 <!-- EDIT1303 SECTION "Distribution specific notes" [1362-1479] -->
102 <h3 class=
"sectionedit1304"><a name=
"opensuse_110" id=
"opensuse_110">openSUSE
11.0</a></h3>
105 <li class=
"level1"><div class=
"li"> …
</div>
110 <!-- EDIT1304 SECTION "openSUSE 11.0" [1480-1512] -->
111 <h3 class=
"sectionedit1305"><a name=
"opensuse_111" id=
"opensuse_111">openSUSE
11.1</a></h3>
114 <li class=
"level1"><div class=
"li"> currently no electronics menu, all programs show up in the Education→Science menu
</div>
116 <li class=
"level1"><div class=
"li"> …
</div>
121 <!-- EDIT1305 SECTION "openSUSE 11.1" [1513-1632] -->
122 <h3 class=
"sectionedit1306"><a name=
"opensuse_112" id=
"opensuse_112">openSUSE
11.2</a></h3>
125 <li class=
"level1"><div class=
"li"> currently no electronics menu, all programs show up in the Education→Science menu
</div>
127 <li class=
"level1"><div class=
"li"> …
</div>
132 <!-- EDIT1306 SECTION "openSUSE 11.2" [1633-1752] -->
133 <h2 class=
"sectionedit1307"><a name=
"desktop_integration" id=
"desktop_integration">Desktop Integration
</a></h2>
137 This is a summary how the gEDA and other electronic packages are integrated into the desktop of openSUSE.
141 <!-- EDIT1307 SECTION "Desktop Integration" [1753-1892] -->
142 <h3 class=
"sectionedit1308"><a name=
"electronics_menu" id=
"electronics_menu">Electronics Menu
</a></h3>
146 Unfortunatly the openSUSE distribution does not provide a electronics menu entry for all the nice gEDA programms.
147 Peter Clifton has created a menu entry for electronics. This menu package is available in the
<strong>electronics-menu
</strong> rpm.
148 It contains the menu item and some icons for it. The menu categorie is called
<strong>Edutainment–
>Electronics
</strong> in openSUSE.
152 If it is installed, it looks like this in KDE (manually combined with gimp):
156 <a href=
"media/geda/suse_electronics_menu.png" class=
"media" target=
"_blank" title=
"geda:suse_electronics_menu.png"><img src=
"media/geda/suse_electronics_menu.png" class=
"media" alt=
"" /></a>
160 <!-- EDIT1308 SECTION "Electronics Menu" [1893-2393] -->
161 <h3 class=
"sectionedit1309"><a name=
"notes_about_rpm_spec_file" id=
"notes_about_rpm_spec_file">Notes about rpm spec file
</a></h3>
165 openSUSE calls it
's
<em>SuSEconfig
</em> program after every installation of rpm packages with YaST.
166 Thus it
's not necessary to integrate all configuration calls into the
<em>post
</em> and
<em>postun
</em> rpm sections.
170 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>
174 <pre class=
"code">PreReq: shared-mime-info
176 <pre class=
"code">%post
177 if test -f %{_bindir}/update-mime-database ; then
178 %{_bindir}/update-mime-database %{_datadir}/mime
>/dev/null
180 <pre class=
"code">%postun
181 if test -f %{_bindir}/update-mime-database ; then
182 %{_bindir}/update-mime-database %{_datadir}/mime
>/dev/null
187 Another addition is required to install the mimelnks properly in the KDE environment.
188 KDE does not take care of the mimelnks installed in
<em>/usr/share/mimelnk
</em>/, thus they have to be copied to
189 the KDE directory
<em>/opt/kde3/mimelnk
</em>/. This is done in the rpm
<acronym title=
"specification">spec
</acronym> file inside the %install section
192 <pre class=
"code">%install
194 kdemimedir=$(kde-config --install mime)
195 if test %{_datadir} != $kdemimedir ; then
196 mkdir -p $RPM_BUILD_ROOT$kdemimedir
197 mv $RPM_BUILD_ROOT%{_datadir}/mimelnk/* $RPM_BUILD_ROOT$kdemimedir
198 rmdir $RPM_BUILD_ROOT%{_datadir}/mimelnk
202 <!-- EDIT1309 SECTION "Notes about rpm spec file" [2394-3783] -->
203 <h3 class=
"sectionedit1310"><a name=
"installing_rpm_packages_manually" id=
"installing_rpm_packages_manually">Installing rpm packages manually
</a></h3>
207 For those who don
't use YaST for installation the SuSEconfig command has to be executed manually after installing or removing any rpm package.
208 You can either call the toplevel SuSEconfig command
211 <pre class=
"code">/sbin/SuSEconfig
</pre>
215 or call only the two required subconfiguration tools
218 <pre class=
"code">/sbin/conf.d/SuSEconfig.desktop-file-utils
</pre>
225 <pre class=
"code">/usr/bin/update-desktop-database
</pre>
232 <pre class=
"code">/sbin/conf.d/SuSEconfig.gtk2
</pre>
239 <pre class=
"code">/usr/bin/gtk-update-icon-cache --quiet --ignore-theme-index --remove-empty-cache
"$SUBDIR
"</pre>
242 <!-- EDIT1310 SECTION "Installing rpm packages manually" [3784-] --></body>