Re: NEW: m17n (internationalization library)

2019-03-26 Thread Kevin Lo
On Tue, Mar 26, 2019 at 10:30:40AM +, Stuart Henderson wrote:
> On 2018/12/24 21:32, Eric Brown wrote:
> > Stuart Henderson  writes:
> > 
> > > On 2018/12/24 16:05, Anthony J. Bentley wrote:
> > >> Stuart Henderson writes:
> > >> > - fonts is a better category
> > >> 
> > >> print/ might be better than fonts/; other font-related software exists
> > >> there like fontforge, t1utils, freetype.
> > >> 
> > >> I think it makes sense to just keep actual fonts under fonts/. It looks
> > >> like the only ports under fonts/ that don't actually contain fonts (ttf,
> > >> ttc, pcf, otf, pfb) are mftrace and zh-bg5{ps,pdf}.
> > >> 
> > >
> > > That would make sense too, if mftrace and zh-bg5{ps,pdf} are moved out ..
> > 
> > Thanks all for your comments.  Since I don't see a firm resolution as to
> > where libotf should go, I followed Brian's lead and used devel/libotf.
> > 
> > Also, I propagated your suggestions for libotf through to the other
> > ports, and they pass portcheck and port-lib-depends-check.
> > 
> > Attached are three new archives that have updated ports.
> > 
> > Thanks again,
> > Eric
> > 
> 
> Here's a tweaked version.
> 
> I've refactored the m17n ports into misc/m17n/db and misc/m17n/lib
> because they would normally be updated together and share some common
> build setup.
> 
> m17n-lib was missing various build dependencies which I've explicitly
> added.
> 
> Attached as one file.  Any comments/OKs?

Looks good and tested on amd64.  ok kevlo@



Re: NEW: m17n (internationalization library)

2019-03-26 Thread Stuart Henderson
On 2018/12/24 21:32, Eric Brown wrote:
> Stuart Henderson  writes:
> 
> > On 2018/12/24 16:05, Anthony J. Bentley wrote:
> >> Stuart Henderson writes:
> >> > - fonts is a better category
> >> 
> >> print/ might be better than fonts/; other font-related software exists
> >> there like fontforge, t1utils, freetype.
> >> 
> >> I think it makes sense to just keep actual fonts under fonts/. It looks
> >> like the only ports under fonts/ that don't actually contain fonts (ttf,
> >> ttc, pcf, otf, pfb) are mftrace and zh-bg5{ps,pdf}.
> >> 
> >
> > That would make sense too, if mftrace and zh-bg5{ps,pdf} are moved out ..
> 
> Thanks all for your comments.  Since I don't see a firm resolution as to
> where libotf should go, I followed Brian's lead and used devel/libotf.
> 
> Also, I propagated your suggestions for libotf through to the other
> ports, and they pass portcheck and port-lib-depends-check.
> 
> Attached are three new archives that have updated ports.
> 
> Thanks again,
> Eric
> 

Here's a tweaked version.

I've refactored the m17n ports into misc/m17n/db and misc/m17n/lib
because they would normally be updated together and share some common
build setup.

m17n-lib was missing various build dependencies which I've explicitly
added.

Attached as one file.  Any comments/OKs?

$ tar tzf /tmp/libotf-m17n.tgz
devel/libotf
devel/libotf/Makefile
devel/libotf/distinfo
devel/libotf/pkg
devel/libotf/pkg/DESCR
devel/libotf/pkg/PLIST
misc/m17n
misc/m17n/lib
misc/m17n/lib/Makefile
misc/m17n/lib/distinfo
misc/m17n/lib/patches
misc/m17n/lib/patches/patch-configure
misc/m17n/lib/patches/patch-example_Makefile_in
misc/m17n/lib/pkg
misc/m17n/lib/pkg/DESCR
misc/m17n/lib/pkg/PLIST
misc/m17n/db
misc/m17n/db/Makefile
misc/m17n/db/distinfo
misc/m17n/db/pkg
misc/m17n/db/pkg/DESCR
misc/m17n/db/pkg/PLIST
misc/m17n/Makefile
misc/m17n/Makefile.inc



libotf-m17n.tgz
Description: application/tar-gz


Re: NEW: m17n (internationalization library)

2018-12-24 Thread Eric Brown
Stuart Henderson  writes:

> On 2018/12/24 16:05, Anthony J. Bentley wrote:
>> Stuart Henderson writes:
>> > - fonts is a better category
>> 
>> print/ might be better than fonts/; other font-related software exists
>> there like fontforge, t1utils, freetype.
>> 
>> I think it makes sense to just keep actual fonts under fonts/. It looks
>> like the only ports under fonts/ that don't actually contain fonts (ttf,
>> ttc, pcf, otf, pfb) are mftrace and zh-bg5{ps,pdf}.
>> 
>
> That would make sense too, if mftrace and zh-bg5{ps,pdf} are moved out ..

Thanks all for your comments.  Since I don't see a firm resolution as to
where libotf should go, I followed Brian's lead and used devel/libotf.

Also, I propagated your suggestions for libotf through to the other
ports, and they pass portcheck and port-lib-depends-check.

Attached are three new archives that have updated ports.

Thanks again,
Eric



libotf.tar.gz
Description: Binary data


m17n-db.tar.gz
Description: Binary data


m17n-lib.tar.gz
Description: Binary data


Re: NEW: m17n (internationalization library)

2018-12-24 Thread Stuart Henderson
On 2018/12/24 16:05, Anthony J. Bentley wrote:
> Stuart Henderson writes:
> > - fonts is a better category
> 
> print/ might be better than fonts/; other font-related software exists
> there like fontforge, t1utils, freetype.
> 
> I think it makes sense to just keep actual fonts under fonts/. It looks
> like the only ports under fonts/ that don't actually contain fonts (ttf,
> ttc, pcf, otf, pfb) are mftrace and zh-bg5{ps,pdf}.
> 

That would make sense too, if mftrace and zh-bg5{ps,pdf} are moved out ..



Re: NEW: m17n (internationalization library)

2018-12-24 Thread Anthony J. Bentley
Stuart Henderson writes:
> - fonts is a better category

print/ might be better than fonts/; other font-related software exists
there like fontforge, t1utils, freetype.

I think it makes sense to just keep actual fonts under fonts/. It looks
like the only ports under fonts/ that don't actually contain fonts (ttf,
ttc, pcf, otf, pfb) are mftrace and zh-bg5{ps,pdf}.



Re: NEW: m17n (internationalization library)

2018-12-24 Thread Stuart Henderson
On 2018/12/24 11:26, Eric Brown wrote:
> Dear List:
> 
> Please find attached two new ports that make available m17n:
> 
>   devel/m17n-lib
> 
> which depends on:
> 
>   misc/m17n-db
> 
> Furthermore, I have made some small changes to a prior submission of
> misc/libotf, and have included here for convenience.
> 
> Best regards,
> Eric
> 





I've just looked at libotf so far. Here's a diff to the Makefile:

-  -> 
- start lib version from 0.0
- fonts is a better category
- use MASTER_SITE_SAVANNAH

--- Makefile.orig   Mon Dec 24 22:16:26 2018
+++ MakefileMon Dec 24 22:17:01 2018
@@ -1,12 +1,12 @@
 # $OpenBSD: Makefile,v 1.00 2018/12/06 15:00:06 ecb Exp $
 
-COMMENT =  library for handling OpenType Fonts
+COMMENT =  library for handling OpenType Fonts
 
 DISTNAME = libotf-0.9.16
 
-SHARED_LIBS =  otf 1.0
+SHARED_LIBS =  otf 0.0
 
-CATEGORIES =   misc
+CATEGORIES =   fonts
 
 HOMEPAGE = https://www.nongnu.org/m17n/
 
@@ -17,7 +17,7 @@ PERMIT_PACKAGE_CDROM =Yes
 
 WANTLIB += c freetype z
 
-MASTER_SITES = http://download.savannah.gnu.org/releases/m17n/
+MASTER_SITES = ${MASTER_SITE_SAVANNAH:=m17n/}
 
 CONFIGURE_STYLE=gnu
 


Also DESCR has some problems, typo "facilites" should be "facilities",
and the last paragraph doesn't really make a lot of sense.



Re: NEW: m17n (internationalization library)

2018-12-24 Thread Brian Callahan



On 12/24/18 12:26 PM, Eric Brown wrote:

Dear List:

Please find attached two new ports that make available m17n:

   devel/m17n-lib

which depends on:

   misc/m17n-db

Furthermore, I have made some small changes to a prior submission of
misc/libotf, and have included here for convenience.

Best regards,
Eric



Then one at a time I guess.
Here's a tightened up version of libotf. Note that libotf conflicts with 
openmpi, and so openmpi will need the relevant @conflict marker in its 
PLIST as well. Running `make update-plist' will inform you of conflicts.


~Brian



libotf.tgz
Description: Binary data


NEW: m17n (internationalization library)

2018-12-24 Thread Eric Brown
Dear List:

Please find attached two new ports that make available m17n:

  devel/m17n-lib

which depends on:

  misc/m17n-db

Furthermore, I have made some small changes to a prior submission of
misc/libotf, and have included here for convenience.

Best regards,
Eric



libotf.tar.gz
Description: misc/libotf


m17n-db.tar.gz
Description: misc/m17n-dn


m17n-lib.tar.gz
Description: devel/m17n-lib