On 4/12/2012 11:01 AM, Stefan Bruda wrote:
> Hi,
>
> I don't know how pertinent this is to the world at large (who has
> probably moved to more modern window managers by now ;-) ), but I am
> partial to the enlightenment window manager (the 16 i.e. old variety),
> having been using it for ages.  I am in fact using a horrible hack to
> have it on 10.6 but fortunately (for me) it builds out of the box on
> 10.7.  Here is the trivial patch to the info file that makes it so:
>
> ------ patch begins ------
> diff -Pur /sw/fink/10.4/stable/main/finkinfo/x11-wm/enlightenment.info 
> /sw/fink/10.7/local/main/finkinfo/enlightenment.info
> --- /sw/fink/10.4/stable/main/finkinfo/x11-wm/enlightenment.info      
> 2010-10-22 16:45:10.000000000 -0400
> +++ /sw/fink/10.7/local/main/finkinfo/enlightenment.info      2012-04-12 
> 10:49:29.000000000 -0400
> @@ -1,7 +1,7 @@
>   Package: enlightenment
>   Version: 0.16.8.5
> -Revision: 1
> -Distribution: 10.4, 10.5
> +Revision: 2
> +Distribution: 10.4, 10.5, 10.7
>
>   BuildDepends:<<
>       audiofile,
> @@ -33,7 +33,7 @@
>   PatchFile-MD5: 392c3f921eba8353d6f40824e6983d0e
>   SetCPPFLAGS: -I%p/lib/freetype219/include
>   SetLDFLAGS: -L%p/lib/freetype219/lib -laudiofile
> -ConfigureParams: --disable-roothacklib --disable-composite 
> --disable-dependency-tracking --libdir=%p/lib/%n
> +ConfigureParams: --disable-sound --disable-roothacklib --disable-composite 
> --disable-dependency-tracking --libdir=%p/lib/%n 
> --x-includes=/usr/X11/include  --x-libraries=/usr/X11/lib
>   InstallScript:<<
>       make install DESTDIR=%d
>   <<
> ------ patch ends ------
>
> I am almost sure that --disable-sound is not necessary, but in my
> experience sound is buggy (at least on the Mac OS side) and I have
> never felt a need for such (all platforms).
>
> Since the package has no maintainer I am also willing to act as such
> if you want (just tell me what to do).

That's great to hear. Please open a tracker item at 
<https://sourceforge.net/tracker/?group_id=17203&atid=414256> (you'll 
need a free SourceForge account) and submit the .info file there

I did a quick check with your change included here, and saw a quick 
issue that you can fix before submitting:

The build uses "Xft/XftCompat.h" and "fontconfig/fontconfig.h" and 
happily takes the headers from X11 if xft2-dev and fontconfig2-dev are 
not present.  You'll have to put an explicit BuildDepends on those two 
packages.  I found this by adding this CompileScript to the .info:

CompileScript: <<
        %{default_script}
        fink-package-precedence .
<<

and using --enable-dependency-tracking in ConfigureParams.  The package 
'fink-package-precedence' is a nice sanity checker (put it in BDep as 
well) that makes sure you have a consistent use of Fink headers and 
libraries. And lastly, you can just remove the Distribution line since 
10.7 uses a separate tree and no-field means implicit approval for that 
Dist.

Add me (nieder) to the Assigned field in the tracker so I get a notice 
when you submit.

Hanspeter

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to