Jack Howarth | 29 Jun 18:24 2015
Picon

stricter BuildDepends/ Depends for ghc libs

Brendan,
     I've checked in another set of changes for the ghc library packages in libs/ghc which have Shlibs entries. Since these packages link against the shared libs in the ghc package using versioned install names, the addition of...

ghc (>= 7.8.3-1), ghc (<< 7.8.4-1)

to both the BuildDepends and Depends will insure that they both build and run against the proper ghc version.
      I'm not certain yet how cleanly this will work when the ghc is upgraded to ghc 7.10.1. It may be that ghc needs to be refactored to behave like the r-base and r-mods packages which can co-exist. The current situation (prior to my changes today) would allow fink to upgrade ghc and then proceed to upgrade the packages in libs/ghc without considering that the installed packages previously built against the older ghc will no longer have the required supporting shared libraries from the older ghc.
       This explains why upgrading ghc has always been such a rough proposition and I have almost always had 'fink remove --recursive ghc' to purge the previous installation of ghc and its ghc lib packages. We simply weren't considering the breakage caused to  installed ghc lib packages built against the older ghc upon the installation of the newer ghc.
          Jack
ps As I mentioned on fink-seed, the rootless feature will either require the current ghc 7.8.3 to be rebuilt from source (using a gcc-bootstrap package as MacPorts does) with their patch...


or ghc upgraded to the new 7.10.1 release which contains this change.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Hanspeter Niederstrasser | 27 Jun 14:17 2015

wxwidgets300-* hardcodes flag-sort into compiler identification

 From /sw/lib/wxwidgets300-gtk2/wx/config/gtk2-unicode-3.0:

[ -z "$output_option_cc"            ] || echo "flag-sort -r gcc"
[ -z "$output_option_cxx"           ] || echo "flag-sort -r g++"
[ -z "$output_option_ld"            ] || echo "flag-sort -r g++ -o"

$ wx-config --cc
flag-sort -r gcc

This then shows up in ./configure outputs with results like:
configure:3891: checking Checking wxWidgets for min version:
configure:3895: result: -r gcc

which messes up subsequent configure tests.

wxwidgets300-osxcocoa has a similar issue.

Hanspeter

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Max Horn | 25 Jun 12:39 2015
Picon

SDL and X11

Hi there,

so Jack sent me a patch for sdl.info to avoid use of the X11 convenience symlinks, see e.g. here:

https://sourceforge.net/p/fink/package-submissions/4507/

However, that patch isn't quite enough. It would result in an unusable SDL on systems without the
convenience links, since, if X11 support is enabled in SDL
 (a) sdl.h always pulls X11 headers, even if the application using SDL is not using the X11 video driver,
 (b) "sdl-config --cflags" does not include something like -I/opt/X11/include

Result: You can't compile code using SDL, at least not without manually adjusting the CFLAGS.

I see two possible solutions:

(1) Just disable the X11 video driver, under the assumption that everyone is using the native Quartz driver
these days anyway.

(2) Modify sdl-config to point to /opt/X11

Option (1) is a lot easier and also reduces the dependencies for anything using SDL. But I am not sure if the
underlying assumption is right. I.e. are there packages which rely on the SDL X11 video driver? Does
anybody know?

If not, I can have a look at option (2). It certainly is "safer", but not nicer.

An additional option would be to provide a -nox variant of sdl / sdl-shlibs, and start migrating packages to
using that.

Cheers,
Max
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Alexander Hansen | 24 Jun 02:13 2015
Picon

Let's start populating the 10.9-libcxx tree

Here are my suggested rules so that we can start out with a functional distribution.

1)  Packages without a Distribution: tag need to have been tested on all of 10.9, 10.10, and 10.11.  Ask
someone to test on other OS X versions if you don’t have them before you commit anything.
2)  Packages with appropriate Distribution restrictions may be added if they’ve been tested.
3)  Maintained packages that you don’t own may NOT be added unless you get permission from the maintainer;
OR you have waited for 72 hours AND gotten a Core Team member to sign off on the change.  I don’t care in the
slightest how much this inconveniences you personally.
4)  Packages may NOT rely on the /usr/X11 and /usr/X11R6 symlinks.  We have tools available in the
distribution to help you find the real X11 paths.  Apparently there’s a system tool to run to allow those
symlinks to be created on 10.11, but I’d rather have use the real X11 path.

Once we’ve got the base packages populated, I’ll merge the “Captain-libc++” branch into TheCaptain.

--

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Alexander Hansen | 20 Jun 22:58 2015
Picon

OpenSSL vs. LibreSSL

Since the system’s OpenSSL is going away for 10.11 we’ve got a bit of a pickle.

My understanding is that our packages that use openssl100-dev and have binaries are now technically in
violation of the openssl license, which only allows redistribution against an OpenSSL which is shipped
with the OS.

1)  Is this still true?  If so, then we need to start tagging them as Restrictive.
2)  Does LibreSSL have the same restriction?  If not, can we convert over to use that?

--

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jack Howarth | 20 Jun 16:01 2015
Picon

octave-3.8.2-3.8.2-7 cleanups and improvements

Alexander,
      I have posted proposed packaging for an update to octave-3.8.2 on fink tracker at...


The changes are...

1) Add fink-buildenv-modules (>= 0.1.3-1) to BuildDepends and use it to avoid X11 convenience symlinks
2) Set CPP and CXXCPP to allow cpp checks in configure to pass against Xcode 7
3) Switch BuildDepends from system-java16-dev to system-java-dev and Depends from system-java16 to system-java to use Oracle java instead of the deprecated system framework java.
4) Perl patch configure to properly set LDFLAGS, JAVA_LIBS and JAVA_CPPFLAGS to build against Oracle java.
5) Move octave-3.8.2 and octave-cli-3.8.2 into %p/lib/octave/3.8.2 and replace these with shell scripts to set DYLD_FALLBACK_LIBRARY_PATH for finding libjvm.dylib (which is automatically linked in correctly via an <at> rpath)
6) Add missing BuildDepends on the fink-octave-scripts which provides the essential oct-cc and oct-cxx scripts.
7) Switch build to gcc5 for future os builds.
8) Pass --without-framework-opengl for X11 variant to allow the X11 OpenGL libraries to be used instead.
9) Pass -L$X11_BASE_DIR/lib on LDFLAGS for X11 variant to allow configure to find GL OpenGL libraries in X11.

Thanks in advance for considering these changes.
            Jack
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jack Howarth | 17 Jun 16:53 2015
Picon

avoiding X11 convenience symlinks in libunique-1.1.6-7

Jack,
      The attached info file contains changes required to avoid using the X11 convenience symlinks in the build of libunique-1.1.6-7 (as rootless will make it difficult to install these). I couldn't find your entry on the developer list on the fink tracker so I am posting the info file revisions here. The changes are...

===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libunique.info,v
retrieving revision 1.3
diff -r1.3 libunique.info
28c28
< ConfigureParams: --mandir=%p/share/man --enable-dependency-tracking --enable-gtk-doc --disable-static PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" --disable-introspection
---
> ConfigureParams: --mandir=%p/share/man --enable-dependency-tracking --enable-gtk-doc --disable-static PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" --disable-introspection --x-includes=$X11_BASE_DIR/include --x-libraries=$X11_BASE_DIR/lib
30a31
> . %p/sbin/fink-buildenv-helper.sh
32c33
< perl -pi -e 's,^(UNIQUE_LIBS .*)$,$1 -lX11 -L/usr/X11R6/lib,' unique/Makefile.in
---
> perl -pi -e "s,^(UNIQUE_LIBS .*)\$,\$1 -lX11 -L$X11_BASE_DIR/lib," unique/Makefile.in
41a43,44
> #!/bin/sh -ev
> . %p/sbin/fink-buildenv-helper.sh

 Tested with 'fink -m' on future os missing the X11 convenience symlinks due to rootless.
        Jack
Attachment (libunique.info): application/octet-stream, 3229 bytes
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jack Howarth | 14 Jun 18:58 2015
Picon

sdl.info changes to avoid X11 convenience symlinks

Max,
     Can you check in the following change for sdl-1.2.15-2 in order to avoid the X11 convenience symlinks (which will be difficult to create under rootless). 

Index: sdl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/sdl.info,v
retrieving revision 1.8
diff -r1.8 sdl.info
28,29c28,39
< ConfigureParams: --mandir=%p/share/man
< CompileScript: ./configure %c; DISTCC_HOSTS='' MAKEFLAGS='-j1' make
---
> ConfigureParams: --mandir=%p/share/man --x-includes=$X11DIR/include --x-libraries=$X11DIR/lib
> CompileScript: <<
> #!/bin/sh -ev
> # avoid convenience symlinks
> darwin_vers=`uname -r | cut -d. -f1`
> if [ "$darwin_vers" -ge 12 ]; then
> X11DIR=/opt/X11
> else
> X11DIR=/usr/X11
> fi
> ./configure %c; DISTCC_HOSTS='' MAKEFLAGS='-j1' make
> <<

The info file is attached as well. Thanks in advance.
          Jack
Attachment (sdl.info): application/octet-stream, 2982 bytes
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
Jack Howarth | 14 Jun 16:17 2015
Picon

bogus BuildDepends on system-openssl-dev in libgnomecups-shlibs

    There appears to be a bogus BuildDepends on system-openssl-dev in
libgnomecups-shlibs as there seems to be no instances of the ssl
headers being used in that package. Shouldn't that BuildDepends be
dropped?
         Jack

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Scott Hannahs | 13 Jun 01:07 2015
Picon
Picon

Bug in fink bootstrap script

It checks for *greater* than or equal Darwin 13 and sets the maximum Xcode version to 6.2.  If you have Darwin
14/Xcode 6.3.2 it fails.

Should be equal to Darwin version 13.  There is a test for version not matched for greater than 14 and it throws
an error.

-Scott

--- bootstrap.old	2015-05-14 11:03:37.000000000 -0400
+++ bootstrap	2015-06-12 19:00:35.000000000 -0400
 <at>  <at>  -363,7 +363,7  <at>  <at> 
 	} elsif ($vers == 12) {
 		$min_xcode="4.4";
 		$max_xcode="5.1.1";
-	} elsif ($vers >= 13) {
+	} elsif ($vers == 13) {
 		#
 		# Extrapolate for future releases
 		#
% 

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Hanspeter Niederstrasser | 11 Jun 13:18 2015

nose-py27-1.3.6-1 fails to run tests

copying nose/usage.txt -> build/lib/nose
sudo -u fink-bld [ENV] sh -c /tmp/fink.S5gPc
/sw/bin/python2.7 setup.py build_tests
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: invalid command 'build_tests'
### execution of /sw/bin/python2.7 failed, exit code 1
### execution of /tmp/fink.S5gPc failed, exit code 1
phase test: warning

Hanspeter

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Gmane