Regards,
Alain
--
La version française des pages de manuel Linux
http://manpagesfr.free.fr
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-16-2010, 07:19 PM
"Tom "spot" Callaway"
Problems in packaging kicad
On 03/16/2010 08:27 AM, Alain Portal wrote:
> Hi,
>
> I get some problem in packaging kicad.
> Linking fails, and I don't know how to solve.
> There is no problem if I compile without packaging.
Well, I doubt that seriously. This code is a bit of a mess (but still
not as painful as chromium).
Attached is a new spec file, and two patches that fix the problems which
were preventing it from building.
~spot, who feels dirty after spending so much time hacking around cmake
diff -up kicad-2010.03.14/eeschema/CMakeLists.txt.kbool kicad-2010.03.14/eeschema/CMakeLists.txt
--- kicad-2010.03.14/eeschema/CMakeLists.txt.kbool 2010-03-15 08:24:32.000000000 -0400
+++ kicad-2010.03.14/eeschema/CMakeLists.txt 2010-03-16 13:21:28.364443236 -0400
@@ -154,7 +154,7 @@ if(APPLE)
set_target_properties(eeschema PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
endif(APPLE)
-target_link_libraries(eeschema common bitmaps polygon ${wxWidgets_LIBRARIES} ${GDI_PLUS_LIBRARIES})
+target_link_libraries(eeschema common bitmaps kbool polygon ${wxWidgets_LIBRARIES} ${GDI_PLUS_LIBRARIES})
%description
Kicad is an EDA software to design electronic schematic
diagrams and printed circuit board artwork up to 16 layers.
Kicad is a set of four softwares and a project manager:
- Eeschema: schematic entry
- Pcbnew: board editor
- Gerbview: GERBER viewer (photoplotter documents)
- Cvpcb: footprint selector for components used in the circuit design
- Kicad: project manager
# install localization
%{__rm} -rf %{buildroot}%{_datadir}/%{name}/internat/
install -d %{buildroot}%{_datadir}/locale
cd internat
for dir in ca cs de es fr hu it ko nl pl pt ru sl sv zh_CN
do
install -d %{buildroot}%{_datadir}/locale/${dir}
install -m 644 ${dir}/%{name}.mo %{buildroot}%{_datadir}/locale/${dir}/%{name}.mo
done
cd ..
%changelog
* Tue Mar 16 2010 Tom "spot" Callaway <tcallawa@redhat.com> 2010.03.14-2.rev2462
- link fixes. Really, these libraries should be linked properly so they don't need the executable linking calls
to be explicitly correct, but cmake gives me a headache.
- fix demo installation
- fix spec file
* Mon Mar 15 2010 Alain Portal <alain.portal[AT]univ-montp2[DOT]fr> 2010.03.14-1.rev2462
- New upstream version
* Mon Aug 24 2009 Jon Ciesla <limb@jcomserv.net> - 2009.07.07-4.rev1863
- Multilib path correction, BZ 518916.
* Wed Jul 08 2009 Jon Ciesla <limb@jcomserv.net> - 2009.07.07-2.rev1863
- Dropped eeschema desktop file.
- Moved English kicad.pdf to main rpm.
- Added ls.so.conf file and ldconfig to post, postun to fix libs issue.
- Dropped category Development from desktop file.
* Tue Jul 7 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 2009.07.07-1.rev1863
- svn rev 1863
- documentation splitted into multiple packages
- libraries are now taken directly from SVN rather than from older releases
- build changed to cmake based
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007.07.09-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 2007.07.09-4
- First patch is Patch0 - should fix build in Rawhide.
- Include %%_libdir/kicad directory.
- Drop explicit Requires wxGTK in favour of automatic SONAME dependencies.
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2007.07.09-3
- Autorebuild for GCC 4.3
* Thu Feb 8 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-1
- New upstream version
* Thu Feb 8 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.08.28-4
- Add patch to build with RPM_OPT_FLAGS and remove -s from LDFLAGS
Contribution of Ville Skyttä <ville[DOT]skytta[AT]iki[DOT]fi>
Fix #227757
- Fix typo in french summary
* Thu Dec 28 2006 Jason L Tibbitts III <tibbs@math.uh.edu> 2006.08.28-3
- Rebuild with wxGTK 2.8.
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2006.08.28-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Fri Sep 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.08.28-1
- New upstream version
- Use macro style instead of variable style
- Install missing modules. Fix #206602
* Wed Jun 28 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-1
- New upstream version
* Tue Jun 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.04.24-5
- Change name
- Use %%{_docdir} instead of %%{_datadir}/doc
- Use %%find_lang
- Update desktop database
- Convert MSDOS EOL to Unix EOL
- Remove BR utrac
* Mon Jun 12 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-4
- Patch to suppress extra qualification compile time error on FC5
- BR utrac to convert MSDOS files before applying patch
This will be remove for the next upstream version.
* Tue May 23 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-3
- Install help in /usr/share/doc/kicad/ as the path is hardcoded
in gestfich.cpp
- Add desktop file
* Mon May 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-2
- Add a second tarball that contains many things that are not included in
the upstream source tarball such components and footprints librairies,
help, localisation, etc.
* Sun May 21 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-1
- Initial Fedora RPM
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-17-2010, 03:56 AM
Kevin Kofler
Problems in packaging kicad
Tom "spot" Callaway wrote:
> - link fixes. Really, these libraries should be linked properly so they
> don't need the executable linking calls to be explicitly correct, but
> cmake gives me a headache.
You can use target_link_libraries on a shared library just as well as on an
executable.
Kevin Kofler
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-17-2010, 08:19 AM
Terry Barnaby
Problems in packaging kicad
On 03/16/2010 08:19 PM, Tom "spot" Callaway wrote:
> On 03/16/2010 08:27 AM, Alain Portal wrote:
>> Hi,
>>
>> I get some problem in packaging kicad.
>> Linking fails, and I don't know how to solve.
>> There is no problem if I compile without packaging.
>
> Well, I doubt that seriously. This code is a bit of a mess (but still
> not as painful as chromium).
>
> Attached is a new spec file, and two patches that fix the problems which
> were preventing it from building.
>
> ~spot, who feels dirty after spending so much time hacking around cmake
>
Another little change that is needed is that the package source file
"kicad-ld.conf" has the contents "/usr/lib64/kicad". It should be
"/usr/lib/kicad", otherwise it does not work correctly on 32bit
i686 platforms.
The kicad.spec file edits this to "/usr/lib64/kicad" if for an x86_64
platform.
Terry
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-17-2010, 11:45 AM
Alain Portal
Problems in packaging kicad
Le Mardi 16 Mars 2010 21:19:44, Tom "spot" Callaway a écrit :
> On 03/16/2010 08:27 AM, Alain Portal wrote:
> > Hi,
> >
> > I get some problem in packaging kicad.
> > Linking fails, and I don't know how to solve.
> > There is no problem if I compile without packaging.
>
> Well, I doubt that seriously. This code is a bit of a mess (but still
> not as painful as chromium).
>
> Attached is a new spec file, and two patches that fix the problems which
> were preventing it from building.
Great job ;-)
Thanks for your help!
Regards,
Alain
--
La version française des pages de manuel Linux
http://manpagesfr.free.fr
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-17-2010, 11:47 AM
Alain Portal
Problems in packaging kicad
Le Mercredi 17 Mars 2010 10:19:52, Terry Barnaby a écrit :
> Another little change that is needed is that the package source file
> "kicad-ld.conf" has the contents "/usr/lib64/kicad". It should be
> "/usr/lib/kicad", otherwise it does not work correctly on 32bit
> i686 platforms.
>
> The kicad.spec file edits this to "/usr/lib64/kicad" if for an x86_64
> platform.
I don't know what I did to get the edited file instead of the source file in the
sources...
Thanks for pointing.
Regards,
Alain
--
La version française des pages de manuel Linux
http://manpagesfr.free.fr
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
03-17-2010, 12:45 PM
"Tom "spot" Callaway"
Problems in packaging kicad
On 03/17/2010 12:56 AM, Kevin Kofler wrote:
> Tom "spot" Callaway wrote:
>> - link fixes. Really, these libraries should be linked properly so they
>> don't need the executable linking calls to be explicitly correct, but
>> cmake gives me a headache.
>
> You can use target_link_libraries on a shared library just as well as on an
> executable.
Yeah, I tried that first, but cmake ignored it, and I have better things
to do with my day than try to figure out someone's half-thought out make
replacement.
~spot
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel