[fink:package-submissions] #4803 add ncurses6-6.0-1 and libncursesw6-6.0-1 packages

Hanspeter Niederstrasser via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4803/0610c2198b0e458237a3cff0eb2d2ed4b568c464.package-submissions@fink.p.sourceforge.net>
- **labels**:  --> base, New Package
- **Group**: Undergoing_Validation --> Awaiting_fink-core_decision



---

** [package-submissions:#4803] add ncurses6-6.0-1 and libncursesw6-6.0-1 packages**

**Status:** open
**Group:** Awaiting_fink-core_decision
**Labels:** base New Package 
**Created:** Thu Oct 06, 2016 02:03 PM UTC by Jack Howarth
**Last Updated:** Thu Oct 06, 2016 04:23 PM UTC
**Owner:** Chris Zubrzycki


The attached info files for libncursesw6.info and ncurses6.info add ncurses 6.0 to fink base. The changes from the current libncursesw5.info file are...

~~~
--- /sw/fink/10.11/stable/main/finkinfo/base/libncursesw5.info	2016-10-06 09:54:50.000000000 -0400
+++ libncursesw6.info	2016-10-06 09:07:25.000000000 -0400
@@ -1,14 +1,15 @@
-Package: libncursesw5
-Version: 5.9-20110507
+Package: libncursesw6
+Version: 6.0
 Revision: 1
 
 GCC: 4.0
-#Source: ftp://invisible-island.net/ncurses/current/ncurses-%v.tgz
-Source: mirror:sourceforge:fink/ncurses-%v.tgz
-Source-MD5: 49dc7136424f2bdd653439eda63a2375
-SourceDirectory: ncurses-5.9
+Source: ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-%v.tar.gz
+Source-MD5: ee13d052e1ead260d7c28071f46eefb1
+SourceDirectory: ncurses-%v
 BuildDepends: fink (>= 0.13.0)
 Depends: %N-shlibs (= %v-%r)
+Conflicts: libncursesw5, libncursesw6
+Replaces: libncursesw5, libncursesw6
 Essential: false
 BuildDependsOnly: true
 PatchScript: <<
@@ -18,8 +19,10 @@
 		gzip -cd $p | patch -p1
 	done
 
-	#Need to remove these entries to avoid failure on case sensitive file systems
+	# Need to remove these entries to avoid failure on case sensitive file systems
 	perl -pi -e "s/hp70092a\|//; s/hp2621a\|//; s/2621a\|//" misc/terminfo.src
+	# Remove unsupported --param max-inline-insns-single=1200 option
+	perl -pi -e  "s/--param max-inline-insns-single=1200//" configure
 <<
 ConfigureParams: <<
   --without-ada \
@@ -58,10 +61,10 @@
  <<
  DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
  Shlibs: <<
-  %p/lib/libformw.5.dylib 5.0.0 %n (>= 5.4-1)
-  %p/lib/libmenuw.5.dylib 5.0.0 %n (>= 5.4-1)
-  %p/lib/libncursesw.5.dylib 5.0.0 %n (>= 5.4-1)
-  %p/lib/libpanelw.5.dylib 5.0.0 %n (>= 5.4-1)
+  %p/lib/libformw.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/libmenuw.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/libncursesw.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/libpanelw.6.dylib 6.0.0 %n (>= 6.0-1)
  <<
  Description: Shared libraries for libncursesw5 package
 <<
@@ -93,7 +96,7 @@
 <<
 DescUsage: <<
 NOTE: Headers are installed into %p/include/ncursesw instead of
-%p/include as with libncurses5. Packages depending on this might
+%p/include as with libncurses6. Packages depending on this might
 need to add %p/include/ncursesw to CPPFLAGS or otherwise make
 adjustments to build properly. All library names end in 'w'.
 <<
~~~

and the changes from the  ncurses.info file are....

~~~
--- /sw/fink/10.11/stable/main/finkinfo/base/ncurses.info	2015-11-26 16:47:27.000000000 -0500
+++ ncurses6.info	2016-10-06 09:36:32.000000000 -0400
@@ -1,15 +1,14 @@
-Package: ncurses
-Version: 5.9-20110507
+Package: ncurses6
+Version: 6.0
 Revision: 1
 
 GCC: 4.0
-#Source: ftp://invisible-island.net/ncurses/current/ncurses-%v.tgz
-Source: mirror:sourceforge:fink/ncurses-%v.tgz
-Source-MD5: 49dc7136424f2bdd653439eda63a2375
-SourceDirectory: ncurses-5.9
+Source: ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-%v.tar.gz
+Source-MD5: ee13d052e1ead260d7c28071f46eefb1
+SourceDirectory: ncurses-%v
 BuildDepends: fink (>= 0.13.0)
-Depends: libncurses5-shlibs (>= %v-%r)
-Replaces: libncurses5 (<< 5.4-20041023-4)
+Depends: libncurses6-shlibs (>= %v-%r)
+Replaces: libncurses5 (<< 5.4-20041023-4), ncurses
 Essential: true
 PatchScript: <<
 #!/bin/sh -ex
@@ -52,15 +51,15 @@
 #!/bin/sh -ev
   make install DESTDIR=%d DYLD_LIBRARY_PATH=`pwd`/lib:`pwd`/lib/ncurses
 # add extra symlinks in the main lib directory
-  ln -s ncurses/libform.5.dylib %i/lib/libform.dylib
-  ln -s ncurses/libmenu.5.dylib %i/lib/libmenu.dylib
-  ln -s ncurses/libncurses.5.dylib %i/lib/libncurses.dylib
-  ln -s ncurses/libpanel.5.dylib %i/lib/libpanel.dylib
-  ln -s ncurses/libncurses.5.dylib %i/lib/libcurses.dylib
-  ln -s ncurses/libncurses.5.dylib %i/lib/libtermcap.dylib
+  ln -s ncurses/libform.6.dylib %i/lib/libform.dylib
+  ln -s ncurses/libmenu.6.dylib %i/lib/libmenu.dylib
+  ln -s ncurses/libncurses.6.dylib %i/lib/libncurses.dylib
+  ln -s ncurses/libpanel.6.dylib %i/lib/libpanel.dylib
+  ln -s ncurses/libncurses.6.dylib %i/lib/libcurses.dylib
+  ln -s ncurses/libncurses.6.dylib %i/lib/libtermcap.dylib
 <<
 SplitOff: <<
- Package: libncurses5-shlibs
+ Package: libncurses6-shlibs
  Depends: base-files
  Essential: true
  Files: <<
@@ -71,21 +70,21 @@
  <<
  DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
  Shlibs: <<
-  %p/lib/ncurses/libform.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
-  %p/lib/ncurses/libmenu.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
-  %p/lib/ncurses/libncurses.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
-  %p/lib/ncurses/libpanel.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
+  %p/lib/ncurses/libform.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/ncurses/libmenu.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/ncurses/libncurses.6.dylib 6.0.0 %n (>= 6.0-1)
+  %p/lib/ncurses/libpanel.6.dylib 6.0.0 %n (>= 6.0-1)
  <<
  Description: Shared libraries for libncurses5 package
 <<
 SplitOff2: <<
- Package: libncurses5
- Depends: libncurses5-shlibs (= %v-%r)
+ Package: libncurses6
+ Depends: libncurses6-shlibs (= %v-%r)
  BuildDependsOnly: true
- Conflicts: ncurses-dev, libncurses5-64bit
- Replaces: ncurses-dev, ncurses (<= 5.3-20031018-2), libncurses5-64bit, ncurses (<= 5.7-20100227-1)
- Provides: libncurses5-dev
- Files: bin/ncurses5-config lib/ncurses include lib/libcurses.dylib lib/libform.dylib lib/libmenu.dylib lib/libncurses.dylib lib/libpanel.dylib lib/libtermcap.dylib
+ Conflicts: ncurses-dev, libncurses5-64bit, libncurses5
+ Replaces: ncurses-dev, ncurses (<= 5.3-20031018-2), libncurses5-64bit, ncurses (<= 5.7-20100227-1), libncurses5
+ Provides: libncurses6-dev
+ Files: bin/ncurses6-config lib/ncurses include lib/libcurses.dylib lib/libform.dylib lib/libmenu.dylib lib/libncurses.dylib lib/libpanel.dylib lib/libtermcap.dylib
  DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
  Description: Full-screen ascii drawing library
 <<
~~~

Tested on 10.11 with 'fink -m'. 

The only part that I am dubious about is the handling of the fact tgat ncurses contains overlapping files with ncurses6 and both being marked Essential. So far it appears that simply appending ncurses to the Replaces field in ncurses6 resolves this conflict. However I do wonder if we should refactor ncurses6 to provide a ncurses package that supersedes the one from ncurses instead?


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.