<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link rel="stylesheet" media="print" type="text/css" href="./print.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <h1 class="sectionedit1935"><a name="installing_geda_rpm_packages_on_suse" id="installing_geda_rpm_packages_on_suse">Installing gEDA rpm packages on SuSE</a></h1> <div class="level1"> </div> <!-- EDIT1935 SECTION "Installing gEDA rpm packages on SuSE" [1-54] --> <h2 class="sectionedit1936"><a name="available_rpm_packages" id="available_rpm_packages">Available rpm packages</a></h2> <div class="level2"> <ul> <li class="level1"><div class="li"> geda (1.6.1)</div> </li> <li class="level1"><div class="li"> gerbv (2.3.0)</div> </li> <li class="level1"><div class="li"> pcb (20091103)</div> </li> <li class="level1"><div class="li"> ng-spice-rework (20)</div> </li> <li class="level1"><div class="li"> gnucap (0.35)</div> </li> <li class="level1"><div class="li"> gspiceui (0.9.98)</div> </li> <li class="level1"><div class="li"> gwave (20090213)</div> </li> <li class="level1"><div class="li"> gtkwave (3.3.3)</div> </li> <li class="level1"><div class="li"> dinotrace (9.4a)</div> </li> <li class="level1"><div class="li"> verilog (0.9.1)</div> </li> <li class="level1"><div class="li"> wcalc (1.1)</div> </li> <li class="level1"><div class="li"> xgsch2pcb (0.1.3)</div> </li> <li class="level1"><div class="li"> electronics-menu (1.0)</div> </li> </ul> </div> <!-- EDIT1936 SECTION "Available rpm packages" [55-359] --> <h2 class="sectionedit1937"><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> <div class="level2"> <ol> <li class="level1"><div class="li"> Start Yast and go to “Change Installation Source”</div> </li> <li class="level1"><div class="li"> Add a <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> source with the following properties: </div> <ul> <li class="level3"><div class="li"> <strong>Servername:</strong> software.opensuse.org</div> </li> <li class="level3"><div class="li"> <strong>Directory:</strong> /download/repositories/science/openSUSE_11.0/ (Choose the directory for your distribution) </div> </li> </ul> </li> <li class="level1"><div class="li"> Start “Install Software” in Yast, goto “Search” and look for gEDA. All packages appear.</div> </li> <li class="level1"><div class="li"> Install the packages as usual.</div> </li> </ol> <p> 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> </p> <p> You can also browse through repositories first: <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>, <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>. <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>. </p> </div> <!-- EDIT1937 SECTION "Installing Packages from the SuSE Build Service" [360-1350] --> <h2 class="sectionedit1938"><a name="distribution_specific_notes" id="distribution_specific_notes">Distribution specific notes</a></h2> <div class="level2"> <p> Each distribution version has it's own issues. Please read the notes below. </p> </div> <!-- EDIT1938 SECTION "Distribution specific notes" [1351-1468] --> <h3 class="sectionedit1939"><a name="opensuse_110" id="opensuse_110">openSUSE 11.0</a></h3> <div class="level3"> <ul> <li class="level1"><div class="li"> …</div> </li> </ul> </div> <!-- EDIT1939 SECTION "openSUSE 11.0" [1469-1501] --> <h3 class="sectionedit1940"><a name="opensuse_111" id="opensuse_111">openSUSE 11.1</a></h3> <div class="level3"> <ul> <li class="level1"><div class="li"> currently no electronics menu, all programs show up in the Education→Science menu</div> </li> <li class="level1"><div class="li"> …</div> </li> </ul> </div> <!-- EDIT1940 SECTION "openSUSE 11.1" [1502-1621] --> <h3 class="sectionedit1941"><a name="opensuse_112" id="opensuse_112">openSUSE 11.2</a></h3> <div class="level3"> <ul> <li class="level1"><div class="li"> currently no electronics menu, all programs show up in the Education→Science menu</div> </li> <li class="level1"><div class="li"> …</div> </li> </ul> </div> <!-- EDIT1941 SECTION "openSUSE 11.2" [1622-1741] --> <h2 class="sectionedit1942"><a name="desktop_integration" id="desktop_integration">Desktop Integration</a></h2> <div class="level2"> <p> This is a summary how the gEDA and other electronic packages are integrated into the desktop of openSUSE. </p> </div> <!-- EDIT1942 SECTION "Desktop Integration" [1742-1881] --> <h3 class="sectionedit1943"><a name="electronics_menu" id="electronics_menu">Electronics Menu</a></h3> <div class="level3"> <p> Unfortunately the openSUSE distribution does not provide a electronics menu entry for all the nice gEDA programs. 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 category is called <strong>Edutainment</strong>→<strong>Electronics</strong> in openSUSE. </p> <p> If it is installed, it looks like this in KDE (manually combined with gimp): </p> <p> <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> </p> </div> <!-- EDIT1943 SECTION "Electronics Menu" [1882-2384] --> <h3 class="sectionedit1944"><a name="notes_about_rpm_spec_file" id="notes_about_rpm_spec_file">Notes about rpm spec file</a></h3> <div class="level3"> <p> 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. </p> <p> 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. </p> <pre class="code">PreReq: shared-mime-info [...]</pre> <pre class="code">%post if test -f %{_bindir}/update-mime-database ; then %{_bindir}/update-mime-database %{_datadir}/mime >/dev/null fi</pre> <pre class="code">%postun if test -f %{_bindir}/update-mime-database ; then %{_bindir}/update-mime-database %{_datadir}/mime >/dev/null fi</pre> <p> 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 </p> <pre class="code">%install %makeinstall kdemimedir=$(kde-config --install mime) if test %{_datadir} != $kdemimedir ; then mkdir -p $RPM_BUILD_ROOT$kdemimedir mv $RPM_BUILD_ROOT%{_datadir}/mimelnk/* $RPM_BUILD_ROOT$kdemimedir rmdir $RPM_BUILD_ROOT%{_datadir}/mimelnk fi</pre> </div> <!-- EDIT1944 SECTION "Notes about rpm spec file" [2385-3782] --> <h3 class="sectionedit1945"><a name="installing_rpm_packages_manually" id="installing_rpm_packages_manually">Installing rpm packages manually</a></h3> <div class="level3"> <p> 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 </p> <pre class="code">/sbin/SuSEconfig </pre> <p> or call only the two required subconfiguration tools </p> <pre class="code">/sbin/conf.d/SuSEconfig.desktop-file-utils </pre> <p> which calls </p> <pre class="code">/usr/bin/update-desktop-database</pre> <p> and </p> <pre class="code">/sbin/conf.d/SuSEconfig.gtk2</pre> <p> which calls </p> <pre class="code">/usr/bin/gtk-update-icon-cache --quiet --ignore-theme-index --remove-empty-cache "$SUBDIR"</pre> </div> <!-- EDIT1945 SECTION "Installing rpm packages manually" [3783-] --></body> </html>