Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99472

Summary: ebuild for flP5 pic programmer software
Product: Gentoo Linux Reporter: Geoff Horn <geoff>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: dragonheart
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for flP5 pic programmer software

Description Geoff Horn 2005-07-18 16:16:01 UTC
Whilst creating an ebuild for the flP5 pic programmer
(http://fbradasc.altervista.org) cmake fails to find the fltk includes and
libraries. The flP5-1.1.2 package uses the cmake module FindFTLK.cmake. Looking
at this module it seems that it hasn't got a pointer to where Gentoo fltk files
are stored (/usr/include/fltk-1.1 and /usr/lib/fltk-1.1). Adding these locations
to FindFLTK.cmake removed the problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Cmake's FindFLTK.cmake should find the fltk files at /usr/include/fltk-1.1 and
/usr/lib/fltk-1.1.


XP2000, Gentoo-2005-0, gcc version 3.3.5-20050130
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-18 16:35:42 UTC
Please try your luck in forums.g.o or an appropriate mailinglist. bugs.g.o is
not a help-line.
Comment 2 Geoff Horn 2005-07-18 23:50:39 UTC
I wasn't looking for help! I was providing what I thought was a fix to a bug in
the Gentoo cmake package. If this isn't the place to query what I think is a bug
in a Gentoo package I find that surprising

Most other distributions usr something like /usr/include/FL for fltk, but Gentoo
uses /usr/include/fltk-1.1 and cmake's FindFLTK.cmake just doesn't look there!
As I said I'm not looking for help, I'm trying to give it!
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-19 05:42:53 UTC
>Most other distributions usr something like /usr/include/FL for fltk, but Gentoo
uses /usr/include/fltk-1.1 and cmake's FindFLTK.cmake just doesn't look there!

Yes. And when you update fltk it will maybe be /usr/include/fltk-1.2 at some
point. cmake's hardcoded modules are pretty useless for a distribution like
Gentoo. I'm not familiar with cmake, but you have to add the correct include
directories by hand, either as parameter or by patching the build script of the
application you want to write an ebuild for.


Well, other modules are broken as well...
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-19 05:53:12 UTC
On a first glance: opengl headers wouldn't be found, KDEDIR is not used anymore,
so KDE headers wouldn't be found,...


Given that this modules are doing some sort of nondeterministic autodetection,
I'd rather like to see the modules r.i.p. altogether.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-19 05:54:48 UTC
oh, I was wrong with opengl.
Comment 6 Geoff Horn 2005-07-31 00:40:17 UTC
Created attachment 64773 [details]
ebuild for flP5 pic programmer software

With suggestions from Carsten, and the help of Francesco Bradascio (flP5
author),I have put together this ebuild whick works for me without any changes
to the cmake package.
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2005-08-09 13:31:13 UTC
reassigning, i seriously do not have time for another package i'll never use.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-27 07:13:15 UTC
(In reply to comment #6)
> Created an attachment (id=64773) [edit]
> ebuild for flP5 pic programmer software

Please, do not hardcode package version into SRC_URI.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-06 11:57:16 UTC
Upstream seems no longer active, last release is of 2010-06-07, I suggest that people who want to provide and use this package use an user overlay. If upstream ever becomes active again with a new release, then feel free to reopen this bug or file a new one.