Re: loose dependency

2019-03-13 Thread Koichiro Iwao
On Thu, Mar 14, 2019 at 03:12:43PM +0900, Koichiro Iwao wrote:
> On Thu, Mar 14, 2019 at 01:40:14PM +0900, Hiroki Sato wrote:
> >  There is no easy solution to solve it completely because currently
> >  package dependency is solved in a strict manner including package
> >  names and version numbers, not only existence of specific files.
> >  Creating multiple ports which depend on each software or using
> >  FLAVORS to make it easier is a way to provide packages with every
> >  possible combinations of dependency and let one to choose.
> 
> Specifically talking, net/tigervnc is the case. Actually, the dependency
> is build dependency not runtime. ImageMagick is used to create multiple
> sizes of icons such as 24x24, 32x32, 48x48 during the build. Whichever
> versions of ImageMagick in the current ports tree can be used for the
> purpose. Once the port is built, ImageMagick is not required at all and
> can be uninstalled if no other packages depends on it.
> 
> I think FLAVORS does not fit such case. Creating
> net/tigervnc@ImageMagick[67] sounds me stupid. But If I specify IM6,
> IM7 users cannot build net/tigervnc due to ImageMagick conflict and
> vise cersa.
> 
> I'm stuck :(

BTW, what about this idea?

I prepare pre-converted icons and put it to public_distfiles. The port
fetches it as EXTRA_DIST.  It still sounds me a little bit stupid but
I can remove the dependency on ImageMagick from the port...

-- 
meta 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: loose dependency

2019-03-13 Thread Koichiro Iwao
On Thu, Mar 14, 2019 at 01:40:14PM +0900, Hiroki Sato wrote:
>  There is no easy solution to solve it completely because currently
>  package dependency is solved in a strict manner including package
>  names and version numbers, not only existence of specific files.
>  Creating multiple ports which depend on each software or using
>  FLAVORS to make it easier is a way to provide packages with every
>  possible combinations of dependency and let one to choose.

Specifically talking, net/tigervnc is the case. Actually, the dependency
is build dependency not runtime. ImageMagick is used to create multiple
sizes of icons such as 24x24, 32x32, 48x48 during the build. Whichever
versions of ImageMagick in the current ports tree can be used for the
purpose. Once the port is built, ImageMagick is not required at all and
can be uninstalled if no other packages depends on it.

I think FLAVORS does not fit such case. Creating
net/tigervnc@ImageMagick[67] sounds me stupid. But If I specify IM6,
IM7 users cannot build net/tigervnc due to ImageMagick conflict and
vise cersa.

I'm stuck :(

-- 
meta 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: loose dependency

2019-03-13 Thread Eugene Grosbein
14.03.2019 11:40, Hiroki Sato wrote:

> Koichiro Iwao  wrote
>   in <20190314031726.aaspgwdcuithh...@icepick.vmeta.jp>:
> 
> me> Hi,
> me>
> me> If a port have runtime dependency on bin/convert command of ImageMagick
> me> but whichever ImageMagick{6,7}{,-nox11} are OK, how port Makefile should
> me> be written?
> me>
> me> ImageMagick6 and 7 conflicts each other. I want to respect user's
> me> choice which ImageMagick to use.
> 
>  There is no easy solution to solve it completely because currently
>  package dependency is solved in a strict manner including package
>  names and version numbers, not only existence of specific files.
>  Creating multiple ports which depend on each software or using
>  FLAVORS to make it easier is a way to provide packages with every
>  possible combinations of dependency and let one to choose.

OTOH, one still may create a port depending on existence of specific file
and fetching another port automatically in case of file absence.
It works just fine for those using ports as primary source, not packages.

And yes, if one uses packages, it is forced to live with "default" versions
including dependencies or build its own pkg repo.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: loose dependency

2019-03-13 Thread Hiroki Sato
Koichiro Iwao  wrote
  in <20190314031726.aaspgwdcuithh...@icepick.vmeta.jp>:

me> Hi,
me>
me> If a port have runtime dependency on bin/convert command of ImageMagick
me> but whichever ImageMagick{6,7}{,-nox11} are OK, how port Makefile should
me> be written?
me>
me> ImageMagick6 and 7 conflicts each other. I want to respect user's
me> choice which ImageMagick to use.

 There is no easy solution to solve it completely because currently
 package dependency is solved in a strict manner including package
 names and version numbers, not only existence of specific files.
 Creating multiple ports which depend on each software or using
 FLAVORS to make it easier is a way to provide packages with every
 possible combinations of dependency and let one to choose.

-- Hiroki


pgp4W2rJhTP6u.pgp
Description: PGP signature


loose dependency

2019-03-13 Thread Koichiro Iwao
Hi,

If a port have runtime dependency on bin/convert command of ImageMagick
but whichever ImageMagick{6,7}{,-nox11} are OK, how port Makefile should
be written?

ImageMagick6 and 7 conflicts each other. I want to respect user's
choice which ImageMagick to use.

-- 
meta 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: latest firefox missing containers?

2019-03-13 Thread Pete Wright



On 3/13/19 5:08 PM, Adam wrote:

On Wed, Mar 13, 2019 at 11:30 PM Pete Wright  wrote:


i am running firefox-65.0.2,1 and notice that i can no longer use
container tabs in the application.  the menu to select containers no
longer appears, and old container tabs i had open do not show up in my
history.  a quick look through freshports doesn't seem to show any notes
regarding this, is this expected behavior?

cheers,
-pete


Works for me.  Maybe you don't have the extension installed or some profile
corruption.



thanks Adam,
for some reason the extension got uninstalled, and i had forgotten it 
was an extension in the first place (thought it was part of default 
install).  thanks for pointing me in the right direction! now to figure 
out how my profile got corrupted..


-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: latest firefox missing containers?

2019-03-13 Thread Adam
On Wed, Mar 13, 2019 at 11:30 PM Pete Wright  wrote:

> i am running firefox-65.0.2,1 and notice that i can no longer use
> container tabs in the application.  the menu to select containers no
> longer appears, and old container tabs i had open do not show up in my
> history.  a quick look through freshports doesn't seem to show any notes
> regarding this, is this expected behavior?
>
> cheers,
> -pete
>

Works for me.  Maybe you don't have the extension installed or some profile
corruption.

-- 
Adam
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


latest firefox missing containers?

2019-03-13 Thread Pete Wright
i am running firefox-65.0.2,1 and notice that i can no longer use 
container tabs in the application.  the menu to select containers no 
longer appears, and old container tabs i had open do not show up in my 
history.  a quick look through freshports doesn't seem to show any notes 
regarding this, is this expected behavior?


cheers,
-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox problem printing big fonts

2019-03-13 Thread Andrea Venturoli

On 3/13/19 12:47 PM, Robert Huff wrote:


Andrea Venturoli writes:


  Sorry if my question is vague, but I'm lost at where to start looking.


May I suggest "gecko@", which I believe to be the list for
Mozilla-based ports?


Referentially,


Robert Huff


I forwarded the message there.

 Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Firefox problem printing big fonts

2019-03-13 Thread Robert Huff


Andrea Venturoli writes:

>  Sorry if my question is vague, but I'm lost at where to start looking.

May I suggest "gecko@", which I believe to be the list for
Mozilla-based ports?


Referentially,


Robert Huff


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Firefox problem printing big fonts

2019-03-13 Thread Andrea Venturoli

Hello.

Whenever I try printing from FireFox (mainly to PDF virtual printer, but 
also on paper), I get wrong headers fonts.
I.e. most of the page gets printed properly, but [sub]titles (or any 
bigger text) are just illegible crap.

Of course I see the page correctly on screen, before printing.

How do I go about diagnosing this?
Perhaps I'm missing some font package, but which one?
Or again, is there some setting that must be done (in FireFox? CUPS? 
other?)?

Some tool to check?

Sorry if my question is vague, but I'm lost at where to start looking.

 bye & Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"