M. UPDATE: print/lyx 2.3.4.2 to 2.3.5.2

2020-07-25 Thread Elias M . Mariani
Changelog:
https://www.lyx.org/announce/2_3_5_2.txt

I don't see anything of impact.

Adding PORTROACH so It doesn't inform about version "2.3.x".

Tested on amd64.

OKs?

Cheers.
Elias Mariani@

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.92
diff -u -p -r1.92 Makefile
--- Makefile3 Jul 2020 21:13:04 -   1.92
+++ Makefile25 Jul 2020 16:32:39 -
@@ -1,9 +1,10 @@
 # $OpenBSD: Makefile,v 1.92 2020/07/03 21:13:04 sthen Exp $
 
+PORTROACH= skipv:2.3.x
+
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.3.4.2
-REVISION=  0
+DISTNAME=  lyx-2.3.5.2
 
 CATEGORIES=print editors
 
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- distinfo16 Mar 2020 02:40:45 -  1.18
+++ distinfo25 Jul 2020 16:32:39 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.3.4.2.tar.gz) = EQ5jU/Q/Q1mCve8jiZqCEgyXzYwrFBIFNYTsZR3fi+Y=
-SIZE (lyx-2.3.4.2.tar.gz) = 27541179
+SHA256 (lyx-2.3.5.2.tar.gz) = Y7dVBdb+0mSn7VH57j5CecHUmjlgwGr+PJTxxyvt6n4=
+SIZE (lyx-2.3.5.2.tar.gz) = 27575849
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.28
diff -u -p -r1.28 PLIST
--- pkg/PLIST   16 Mar 2020 02:40:45 -  1.28
+++ pkg/PLIST   25 Jul 2020 16:32:39 -
@@ -2401,6 +2401,8 @@ share/lyx/layouts/recipebook.layout
 share/lyx/layouts/report.layout
 share/lyx/layouts/revtex.layout
 share/lyx/layouts/revtex4-1.layout
+share/lyx/layouts/revtex4-2.layout
+share/lyx/layouts/revtex4-x.inc
 share/lyx/layouts/revtex4.layout
 share/lyx/layouts/rsphrase.module
 share/lyx/layouts/sciposter.layout



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-17 Thread Stuart Henderson
On 2020/03/16 14:01, Marc Espie wrote:
> On Mon, Mar 16, 2020 at 08:26:35AM +, Stuart Henderson wrote:
> > On 2020/03/16 00:45, Marc Espie wrote:
> > > On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> > > > Sure.
> > > > + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> > > > MASTER_SITES. (I guess that we want HTTPS first?).
> > > 
> > > We don't really care about https, but the lip6 server is fairly reliable.
> > 
> > I do - it doesn't matter for fetching an existing version where we
> > already have hashes, but guards against some problems for updates.
> > (obviously not all, but enough to be worthwhile)
> > 
> > 
> Ping, what's up with your signature diff ?
> 

Not a priority atm. If someone else wants to pick it up they can.



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-16 Thread Elias M. Mariani
Sorry, I do not follow.
Are you asking me why I send the diff of distinfo?

Cheers.

On Mon, Mar 16, 2020 at 10:04 AM Marc Espie  wrote:
>
> On Mon, Mar 16, 2020 at 08:26:35AM +, Stuart Henderson wrote:
> > On 2020/03/16 00:45, Marc Espie wrote:
> > > On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> > > > Sure.
> > > > + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> > > > MASTER_SITES. (I guess that we want HTTPS first?).
> > >
> > > We don't really care about https, but the lip6 server is fairly reliable.
> >
> > I do - it doesn't matter for fetching an existing version where we
> > already have hashes, but guards against some problems for updates.
> > (obviously not all, but enough to be worthwhile)
> >
> >
> Ping, what's up with your signature diff ?
>



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-16 Thread Marc Espie
On Mon, Mar 16, 2020 at 08:26:35AM +, Stuart Henderson wrote:
> On 2020/03/16 00:45, Marc Espie wrote:
> > On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> > > Sure.
> > > + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> > > MASTER_SITES. (I guess that we want HTTPS first?).
> > 
> > We don't really care about https, but the lip6 server is fairly reliable.
> 
> I do - it doesn't matter for fetching an existing version where we
> already have hashes, but guards against some problems for updates.
> (obviously not all, but enough to be worthwhile)
> 
> 
Ping, what's up with your signature diff ?



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-16 Thread Stuart Henderson
On 2020/03/16 00:45, Marc Espie wrote:
> On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> > Sure.
> > + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> > MASTER_SITES. (I guess that we want HTTPS first?).
> 
> We don't really care about https, but the lip6 server is fairly reliable.

I do - it doesn't matter for fetching an existing version where we
already have hashes, but guards against some problems for updates.
(obviously not all, but enough to be worthwhile)



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Marc Espie
On Mon, Mar 16, 2020 at 01:25:42AM +0100, Jeremie Courreges-Anglas wrote:
> On Mon, Mar 16 2020, Marc Espie  wrote:
> > On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> >> Sure.
> >> + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> >> MASTER_SITES. (I guess that we want HTTPS first?).
> >
> > We don't really care about https, but the lip6 server is fairly reliable.
> 
> I don't know who is "We" in your sentence but a bunch of porters
> including me prefer https over plaintext http for MASTER_SITES.
> The fact that we have checksums for distfiles only solves one part
> of the problem.

Pray tell, what part does https solve ?...



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Jeremie Courreges-Anglas
On Mon, Mar 16 2020, Marc Espie  wrote:
> On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
>> Sure.
>> + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
>> MASTER_SITES. (I guess that we want HTTPS first?).
>
> We don't really care about https, but the lip6 server is fairly reliable.

I don't know who is "We" in your sentence but a bunch of porters
including me prefer https over plaintext http for MASTER_SITES.
The fact that we have checksums for distfiles only solves one part
of the problem.

And if there's no https server available, http servers should still be
listed first before ftp:// sites.  The ftp protocol is crap that doesn't
fare well with firewalls.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Marc Espie
On Sun, Mar 15, 2020 at 08:08:34PM -0300, Elias M. Mariani wrote:
> Sure.
> + Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
> MASTER_SITES. (I guess that we want HTTPS first?).

We don't really care about https, but the lip6 server is fairly reliable.



Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Elias M. Mariani
Sure.
+ Added https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the top of
MASTER_SITES. (I guess that we want HTTPS first?).
+ Normalized all to VAR= or VAR+=, without spaces.

I know that you already give an OK but if you could check it again it
would be great.

Cheers.
Elias mariani@

On Sun, Mar 15, 2020 at 7:05 PM Stuart Henderson  wrote:
>
> : -DISTNAME=lyx-2.3.2
> : -REVISION=1
> : +DISTNAME=lyx-2.3.4.2
> :
> :  CATEGORIES=  print editors
> :
> :  HOMEPAGE=https://www.lyx.org/
> :
> : +MAINTAINER = Elias M. Mariani 
>
> slightly nitpicking, but please use consistent whitespace
>
>
> :  MASTER_SITES=ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/ \
>
> could you add https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the start
> of the list please?
>
> OK.
>
>
>


lyx-2.3.4.2.diff
Description: Binary data


Re: UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Stuart Henderson
: -DISTNAME=lyx-2.3.2
: -REVISION=1
: +DISTNAME=lyx-2.3.4.2
:  
:  CATEGORIES=  print editors
:  
:  HOMEPAGE=https://www.lyx.org/
:  
: +MAINTAINER = Elias M. Mariani 

slightly nitpicking, but please use consistent whitespace


:  MASTER_SITES=ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/ \

could you add https://ftp.lip6.fr/pub/lyx/stable/2.3.x/ to the start
of the list please?

OK.





UPDATE: print/lyx 2.3.2 to 2.3.4.2

2020-03-15 Thread Elias M. Mariani
+ Taking MAINTAINER. (again...)

Announces:
https://www.lyx.org/announce/2_3_3.txt

* BUILD/INSTALLATION
- Fix build with boost 1.69 (bug 11349).
- Update bundled boost distribution to 1.68.
- Fix warnings with clang 7.
- Allow automake 1.16.


https://www.lyx.org/announce/2_3_4.txt
https://www.lyx.org/announce/2_3_4_2.txt

* BUILD/INSTALLATION
- avoid annoying warnings with g++ 9.




Also from https://www.lyx.org/announce/2_3_1.txt

All python scripts distributed with LyX should now be compatible with both
python 2.x and python 3.x.


So, moving to python3, another unhooked from python2. :)

Tested update on an amd64 machine, no problems found.

Tests and comments welcome.
Waiting for a single OK, just to take MAINTAINER and because I have
been away for some time...

Cheers.
Elias mariani@


lyx-2.3.4.2.diff
Description: Binary data


Re: [M. UPDATE] print/lyx 2.3.1 -> 2.3.2

2019-01-05 Thread Daniel Jakots
On Sat, 5 Jan 2019 15:03:38 -0300, "Elias M. Mariani"
 wrote:

> Changelog:
> https://www.lyx.org/announce/2_3_2.txt
> Mostly bugfixes.
> 
> amd64:
> Build => OK
> Run => OK
> 
> Comments ? OK ?
> Elias.

ok danj@



[M. UPDATE] print/lyx 2.3.1 -> 2.3.2

2019-01-05 Thread Elias M. Mariani
Changelog:
https://www.lyx.org/announce/2_3_2.txt
Mostly bugfixes.

amd64:
Build => OK
Run => OK

Comments ? OK ?
Elias.


lyx-2.3.2.diff
Description: Binary data


Re: [UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-29 Thread Stuart Henderson
On 2018/11/28 14:06, Elias M. Mariani wrote:
> Modifications:
> - Changed from textproc/enchant to  textproc/enchant2.
> - Added x11/qt5/qtx11extras to LIB_DEPENDS.
> - Configure picked up new WANTLIBs: xcb Qt5X11Extras
> 
> I love cmake way more than gnu configure...
> std::regex is been used instead of boost::regex, do we have archs without 
> C++11?

landisk and m88k, but I don't think they matter in this case.

I've tested that it also builds ok with ports-gcc (requires hunspell to
also be built with ports-gcc in that case).

looks good to me -> committing shortly.




Re: [UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-28 Thread Josh Grosse
On Wed, Nov 28, 2018 at 02:06:08PM -0300, Elias M. Mariani wrote:
> Modifications:
> - Changed from textproc/enchant to  textproc/enchant2.
> - Added x11/qt5/qtx11extras to LIB_DEPENDS.
> - Configure picked up new WANTLIBs: xcb Qt5X11Extras
> 

Works for me on both amd64 and i386. :)



Re: [UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-28 Thread Elias M. Mariani
Modifications:
- Changed from textproc/enchant to  textproc/enchant2.
- Added x11/qt5/qtx11extras to LIB_DEPENDS.
- Configure picked up new WANTLIBs: xcb Qt5X11Extras

I love cmake way more than gnu configure...
std::regex is been used instead of boost::regex, do we have archs without C++11?

Cheers.
Elias.
On Tue, Nov 27, 2018 at 10:58 PM Elias M. Mariani
 wrote:
>
> On Tue, Nov 27, 2018 at 9:03 PM Josh Grosse  wrote:
> > The only thing I noticed was this port-lib-depends-check complaint:
> >
> >Missing lib: enchant-2.0 (/usr/local/bin/lyx) (NOT REACHABLE)
> >Extra:  enchant.6
> Oh, I see.
> I build with textproc/enchant and you have installed
> textproc/enchant2, so probably the configuration is picking in your
> case the newer library.
> I will send a new diff tomorrow using textproc/enchant2, it has more
> sense than using enchant.
>
> Thanks for the report!
> Elias.


lyx-2.3.1.diff
Description: Binary data


Re: [UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-27 Thread Elias M. Mariani
On Tue, Nov 27, 2018 at 9:03 PM Josh Grosse  wrote:
> The only thing I noticed was this port-lib-depends-check complaint:
>
>Missing lib: enchant-2.0 (/usr/local/bin/lyx) (NOT REACHABLE)
>Extra:  enchant.6
Oh, I see.
I build with textproc/enchant and you have installed
textproc/enchant2, so probably the configuration is picking in your
case the newer library.
I will send a new diff tomorrow using textproc/enchant2, it has more
sense than using enchant.

Thanks for the report!
Elias.



Re: [UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-27 Thread Josh Grosse
On Tue, Nov 27, 2018 at 05:17:32PM -0300, Elias M. Mariani wrote:
> Changes port-wise:
> - Changed from qt4 to qt5.
> - Removed a patch no longer needed.
> - New patch needed for the case when sizeof(long long) == sizeof(long).
> - Take MAINTAINER.
> - Removed files/lyx.desktop, 2.3.1 comes with one already.
> - Added textproc/hunspell support.

Thank you, Elias.

I'm not a big Lyx user, so I did minimal testing on both i386 and amd64.
It runs on both.  

The only thing I noticed was this port-lib-depends-check complaint:

   Missing lib: enchant-2.0 (/usr/local/bin/lyx) (NOT REACHABLE)
   Extra:  enchant.6



[UPDATE] print/lyx 2.2.3 -> 2.3.1

2018-11-27 Thread Elias M. Mariani
Changes port-wise:
- Changed from qt4 to qt5.
- Removed a patch no longer needed.
- New patch needed for the case when sizeof(long long) == sizeof(long).
- Take MAINTAINER.
- Removed files/lyx.desktop, 2.3.1 comes with one already.
- Added textproc/hunspell support.

My concerns about the port:
- Need to test if it builds and runs in other archs, only amd64 tested
and I don't want to leave anyone without their lyx...
- I changed to qt5 because I like to use all from a single library if
possible, so changing to qt5 might be a personal bias given that I
maintain almost qt5 ports :), is there any problem with the change ?
- For some reason I require devel/boost to build and test lyx, but the
libraries from boost are not in WANTLIB, they are not required to run
the application, someone has an idea of why is that?
- I tried to use python3, it fails to run some scripts, so I
established python2 as mandatory. I know is the default, but I would
prefer to leave the:
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_2}
So I remember that python3 is no good for now.
- Was there any reason why hunspell wasn't been used ?

Added some people to the CC that might be interested in the update for
what I saw in the list.

Anyways, I tried to explain all the changes, can I have you testing a
little bit ? :)

Cheers.
Elias.


lyx-2.3.1.diff
Description: Binary data


Re: update print/lyx

2018-11-04 Thread Hannes Wenzel
Hello, Solène!

> I think we should wait at least 2.3.1 to get it into ports.
I can successfully build, package, install, remove and cleanse on i386.
Mind to take a look on my port? I understand you are not maintainer of
the package, so maybe someone on ports@ may respond instead.

There are remaining issues, like updating to enchant2 and working on
portcheck's suggestions. First I would like to have some feedback for
the updated Makefile, we can then work on fixing the rest.

Notice: I am not a subscriber to the ports mailing list and this is my
first encounter with ports.

Notes on Makefile changes:
REVISION removed, since the upstream version number changed.

New DISTFILES line supplied, because upstream is offering just this
file (note the "-2" suffix in the file name, which appears to be the
second successful build of a release). It makes the port work, but I am
uncertain about it. Has there been a "-1" release that is not available
anymore? May lyx-2.3.1-2.tar.gz be one day replaced by ...-3.tar.gz?

Added X11 to WANTLIB by suggestion of port-lib-depends-check.

Suggestions of portcheck(1):
$ /usr/ports/infrastructure/bin/portcheck 
missing @exec of gtk-update-icon-cache for icon theme hicolor
missing @unexec-delete of gtk-update-icon-cache for icon theme hicolor
Python module without compiled version, consider using
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py: share/lyx/configure.py
print/lyx

The rest up to the end of the message is the output of 'cvs diff':
Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.83
diff -u -p -r1.83 Makefile
--- Makefile1 Jul 2018 09:02:41 -   1.83
+++ Makefile4 Nov 2018 11:53:39 -
@@ -3,21 +3,21 @@
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
 # XXX check source files for UTF-8 BOM, they break build with base gcc
-DISTNAME=  lyx-2.2.3
-REVISION=  2
+DISTNAME=  lyx-2.3.1
+DISTFILES= lyx-2.3.1-2.tar.gz
 
 CATEGORIES=print editors
 
 HOMEPAGE=  https://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/ \
-   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.2.x/ \
-   ftp://ftp.u-aizu.ac.jp/pub/tex/lyx/stable/2.2.x/ \
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/ \
+   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.3.x/ \
+   ftp://ftp.u-aizu.ac.jp/pub/tex/lyx/stable/2.3.x/ \
http://ftp.icm.edu.pl/packages/lyx/stable/ \
-   http://mirror.ufs.ac.za/applications/lyx/stable/2.2.x/
+   http://mirror.ufs.ac.za/applications/lyx/stable/2.3.x/
 
 WANTLIB += ${COMPILER_LIBCXX} QtGui QtSvg aspell boost_regex-mt
-WANTLIB += boost_signals-mt c enchant iconv m magic z
+WANTLIB += boost_signals-mt c enchant iconv m magic z X11
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo12 Nov 2017 19:35:37 -  1.15
+++ distinfo4 Nov 2018 11:53:39 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.2.3.tar.gz) = 0okGVdRxx8Vf00QlYoRZO5ojuR8NMBubFdaGMyL4anc=
-SIZE (lyx-2.2.3.tar.gz) = 26489439
+SHA256 (lyx-2.3.1-2.tar.gz) = uNaPuvqcgzK5PC3KmKJu02PUIRiH+UHnd5siHz1ipSw=
+SIZE (lyx-2.3.1-2.tar.gz) = 26486049
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.26
diff -u -p -r1.26 PLIST
--- pkg/PLIST   29 Jun 2018 22:16:19 -  1.26
+++ pkg/PLIST   4 Nov 2018 11:53:40 -
@@ -11,9 +11,7 @@ share/applications/lyx.desktop
 share/icons/hicolor/48x48/apps/lyx.png
 share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/lyx.mo
-share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
-share/locale/da/LC_MESSAGES/lyx.mo
 share/locale/de/LC_MESSAGES/lyx.mo
 share/locale/el/LC_MESSAGES/lyx.mo
 share/locale/en/LC_MESSAGES/lyx.mo
@@ -21,7 +19,6 @@ share/locale/es/LC_MESSAGES/lyx.mo
 share/locale/eu/LC_MESSAGES/lyx.mo
 share/locale/fi/LC_MESSAGES/lyx.mo
 share/locale/fr/LC_MESSAGES/lyx.mo
-share/locale/gl/LC_MESSAGES/lyx.mo
 share/locale/he/LC_MESSAGES/lyx.mo
 share/locale/hu/LC_MESSAGES/lyx.mo
 share/locale/ia/LC_MESSAGES/lyx.mo
@@ -29,17 +26,14 @@ share/locale/id/LC_MESSAGES/lyx.mo
 share/locale/it/LC_MESSAGES/lyx.mo
 share/locale/ja/LC_MESSAGES/lyx.mo
 share/locale/nb/LC_MESSAGES/lyx.mo
-share/locale/nl/LC_MESSAGES/lyx.mo
 share/locale/nn/LC_MESSAGES/lyx.mo
 share/locale/pl/LC_MESSAGES/lyx.mo
 share/locale/pt_BR/LC_MESSAGES/lyx.mo
 share/locale/pt_PT/
 share/locale/pt_PT/LC_MESSAGES/
 share/locale/pt_PT/LC_MESSAGES/lyx.mo
-share/locale/ro/LC_MESSAGES/lyx.mo
 share/locale/ru/LC_MESSAGES/lyx.mo
 share/locale/sk/LC_MESSAGES/lyx.mo
-share/locale/sr/LC_MESSAGES/lyx.mo
 share/locale/sv/LC_MESSAGES/lyx.mo
 share/locale/tr/LC_MESSAGES/lyx.mo
 

update print/lyx

2018-05-23 Thread Solene Rapenne
Minor update 2.2.3 => 2.2.3

Lyx 2.3.0 has been released in march but it's a major release after lots
of development, it has some bugs which will fixed in 2.3.1. I think we
should wait at least 2.3.1 to get it into ports. 2.2.x branch can be
seen as lyx stable version, the 2.2.3 version has been released after
the 2.3.0. Development continue on both branches.

I removed boost_regex-mt because port-lib-depends-check reported "Extra:
boost_regex-mt.8"

portcheck reports "Python module without compiled version, consider
using ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py:
share/lyx/configure.py", does it need to be fixed?

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.80
diff -u -p -r1.80 Makefile
--- Makefile19 Dec 2017 14:06:52 -  1.80
+++ Makefile23 May 2018 10:02:47 -
@@ -3,7 +3,7 @@
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)

 # XXX check source files for UTF-8 BOM, they break build with base gcc
-DISTNAME=  lyx-2.2.3
+DISTNAME=  lyx-2.2.4

 CATEGORIES=print editors

@@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/
http://ftp.icm.edu.pl/packages/lyx/stable/ \
http://mirror.ufs.ac.za/applications/lyx/stable/2.2.x/

-WANTLIB += ${COMPILER_LIBCXX} QtGui QtSvg aspell boost_regex-mt
+WANTLIB += ${COMPILER_LIBCXX} QtGui QtSvg aspell
 WANTLIB += boost_signals-mt c enchant iconv m magic z

 # GPLv2+
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo12 Nov 2017 19:35:37 -  1.15
+++ distinfo23 May 2018 10:02:47 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.2.3.tar.gz) = 0okGVdRxx8Vf00QlYoRZO5ojuR8NMBubFdaGMyL4anc=
-SIZE (lyx-2.2.3.tar.gz) = 26489439
+SHA256 (lyx-2.2.4.tar.gz) = iWRdE59p3VFk6C0FRUeE3CW9kfmZfjAxelxosUJCur0=
+SIZE (lyx-2.2.4.tar.gz) = 26607813
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.24
diff -u -p -r1.24 PLIST
--- pkg/PLIST   12 Nov 2017 19:35:37 -  1.24
+++ pkg/PLIST   23 May 2018 10:02:48 -
@@ -293,7 +293,7 @@ share/lyx/doc/sv/Tutorial.lyx
 share/lyx/doc/uk/
 share/lyx/doc/uk/Intro.lyx
 share/lyx/doc/uk/clipart/
-share/lyx/doc/uk/clipart/Footnote.png
+share/lyx/doc/uk/clipart/footnote.png
 share/lyx/doc/zh_CN/
 share/lyx/doc/zh_CN/Intro.lyx
 share/lyx/doc/zh_CN/Tutorial.lyx
@@ -2514,6 +2514,9 @@ share/lyx/lyx2lyx/lyx_2_1.${MODPY_PYOEXT
 share/lyx/lyx2lyx/lyx_2_2.py
 share/lyx/lyx2lyx/lyx_2_2.pyc
 share/lyx/lyx2lyx/lyx_2_2.${MODPY_PYOEXTENSION}
+share/lyx/lyx2lyx/lyx_2_3.py
+share/lyx/lyx2lyx/lyx_2_3.pyc
+share/lyx/lyx2lyx/lyx_2_3.${MODPY_PYOEXTENSION}
 share/lyx/lyx2lyx/parser_tools.py
 share/lyx/lyx2lyx/parser_tools.pyc
 share/lyx/lyx2lyx/parser_tools.${MODPY_PYOEXTENSION}



Re: UPDATE: print/lyx

2017-10-21 Thread Rafael Sadowski
*ping*


On Sun Oct 08, 2017 at 11:54:37AM +0200, Rafael Sadowski wrote:
> Hi All,
> 
> update lyx to 2.2.3. Tested on amd64.
> 
> Ok? Comments?
> 
> Best regards,
> 
> Rafael Sadowski
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/print/lyx/Makefile,v
> retrieving revision 1.78
> diff -u -p -u -p -r1.78 Makefile
> --- Makefile  26 Jul 2017 22:45:29 -  1.78
> +++ Makefile  8 Oct 2017 09:53:30 -
> @@ -1,13 +1,12 @@
>  # $OpenBSD: Makefile,v 1.78 2017/07/26 22:45:29 sthen Exp $
>  
> -
>  COMMENT= graphical frontend for LaTeX (nearly WYSIWYG)
>  
> -DISTNAME=lyx-2.2.0
> -REVISION=1
> +DISTNAME=lyx-2.2.3
> +
>  CATEGORIES=  print editors
>  
> -HOMEPAGE=http://www.lyx.org/
> +HOMEPAGE=https://www.lyx.org/
>  
>  MASTER_SITES=ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/ \
>   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.2.x/ \
> @@ -15,12 +14,19 @@ MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/
>   http://ftp.icm.edu.pl/packages/lyx/stable/ \
>   http://mirror.ufs.ac.za/applications/lyx/stable/2.2.x/
>  
> +WANTLIB += ${COMPILER_LIBCXX} QtGui QtSvg aspell boost_regex-mt
> +WANTLIB += boost_signals-mt c enchant iconv m magic z
> +
>  # GPLv2+
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -MODULES= devel/gettext lang/python x11/qt4
> +MODULES= lang/python \
> + x11/qt4
> +
> +BUILD_DEPENDS =  devel/gettext-tools
>  
>  RUN_DEPENDS= print/texlive/base \
> + devel/gettext \
>   graphics/ImageMagick \
>   x11/gtk+3,-guic \
>   devel/desktop-file-utils
> @@ -31,10 +37,6 @@ LIB_DEPENDS=   ${MODQT4_LIB_DEPENDS}>=4.5.
>   textproc/enchant \
>   textproc/aspell/core
>  
> -WANTLIB += lib/qt4/QtGui>=8 lib/qt4/QtSvg aspell c m pthread 
> ${COMPILER_LIBCXX} z
> -WANTLIB += boost_regex-mt>=1 boost_signals-mt>=1
> -WANTLIB += glib-2.0 gmodule-2.0 enchant magic
> -
>  SEPARATE_BUILD=  Yes
>  USE_GMAKE=   Yes
>  
> @@ -42,12 +44,14 @@ CONFIGURE_STYLE=  gnu
>  
>  CONFIGURE_ARGS=  --with-extra-lib="${X11BASE}/lib ${LOCALBASE}/lib" \
>   --with-extra-inc="${X11BASE}/include ${LOCALBASE}/include" \
> - --without-hunspell \
> + --with-qt-dir="${MODQT4_QTDIR}" \
>   --without-included-boost \
> + --without-hunspell \
> + --disable-cxx11 \
>   --with-packaging=posix
> +
> +#QTDIR=${MODQT4_QTDIR}
>  CONFIGURE_ENV+=  PYTHON=${MODPY_BIN} \
> - ac_cv_path_QT_MOC=${MODQT4_MOC} \
> - ac_cv_path_QT_UIC=${MODQT4_UIC} \
>   lyx_cv_callstack_printing=no \
>   ac_cv_func_fork=yes LIBS=-pthread
>  
> @@ -67,5 +71,7 @@ post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
>   ${SUBST_DATA} ${FILESDIR}/lyx.desktop \
>   ${PREFIX}/share/applications/lyx.desktop
> + ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
> + ${PREFIX}/share/lyx/scripts
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/print/lyx/distinfo,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 distinfo
> --- distinfo  5 Jun 2016 21:06:58 -   1.14
> +++ distinfo  8 Oct 2017 09:53:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (lyx-2.2.0.tar.gz) = yJi+pzUoMFkvHcbZ3dt0JpoPZxTWPH0aFjpFhtp69iU=
> -SIZE (lyx-2.2.0.tar.gz) = 25399410
> +SHA256 (lyx-2.2.3.tar.gz) = 0okGVdRxx8Vf00QlYoRZO5ojuR8NMBubFdaGMyL4anc=
> +SIZE (lyx-2.2.3.tar.gz) = 26489439
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
> retrieving revision 1.23
> diff -u -p -u -p -r1.23 PLIST
> --- pkg/PLIST 5 Jun 2016 21:06:58 -   1.23
> +++ pkg/PLIST 8 Oct 2017 09:53:30 -
> @@ -87,6 +87,10 @@ share/lyx/doc/Shortcuts.lyx
>  share/lyx/doc/SpecialParagraphShape.tex
>  share/lyx/doc/Tutorial.lyx
>  share/lyx/doc/UserGuide.lyx
> +share/lyx/doc/ar/
> +share/lyx/doc/ar/Intro.lyx
> +share/lyx/doc/ar/Shortcuts.lyx
> +share/lyx/doc/ar/Tutorial.lyx
>  share/lyx/doc/biblio/
>  share/lyx/doc/biblio/LyXDocs.bib
>  share/lyx/doc/biblio/alphadin.bst
> @@ -207,6 +211,7 @@ share/lyx/doc/fr/clipart/SousDocument.pn
>  share/lyx/doc/fr/clipart/float.png
>  share/lyx/doc/fr/clipart/footnote.png
>  share/lyx/doc/fr/clipart/label.png
> +share/lyx/doc/fr/clipart/reference.png
>  share/lyx/doc/gl/
>  share/lyx/doc/gl/Intro.lyx
>  share/lyx/doc/gl/Tutorial.lyx
> @@ -349,6 +354,7 @@ share/lyx/examples/de/ItemizeBullets.lyx
>  share/lyx/examples/de/Lebenslauf.lyx
>  share/lyx/examples/de/MultilingualCaptions.lyx
>  share/lyx/examples/de/PDF-comment.lyx
> +share/lyx/examples/de/PDF-form.lyx
>  share/lyx/examples/de/beamer-article.lyx
>  share/lyx/examples/de/beamer.lyx
>  share/lyx/examples/de/beispiel_gelyxt.lyx
> @@ -828,8 +834,10 @@ 

UPDATE: print/lyx

2017-10-08 Thread Rafael Sadowski
Hi All,

update lyx to 2.2.3. Tested on amd64.

Ok? Comments?

Best regards,

Rafael Sadowski

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.78
diff -u -p -u -p -r1.78 Makefile
--- Makefile26 Jul 2017 22:45:29 -  1.78
+++ Makefile8 Oct 2017 09:53:30 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.78 2017/07/26 22:45:29 sthen Exp $
 
-
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.2.0
-REVISION=  1
+DISTNAME=  lyx-2.2.3
+
 CATEGORIES=print editors
 
-HOMEPAGE=  http://www.lyx.org/
+HOMEPAGE=  https://www.lyx.org/
 
 MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/ \
ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.2.x/ \
@@ -15,12 +14,19 @@ MASTER_SITES=   ftp://ftp.lyx.org/pub/lyx/
http://ftp.icm.edu.pl/packages/lyx/stable/ \
http://mirror.ufs.ac.za/applications/lyx/stable/2.2.x/
 
+WANTLIB += ${COMPILER_LIBCXX} QtGui QtSvg aspell boost_regex-mt
+WANTLIB += boost_signals-mt c enchant iconv m magic z
+
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 
-MODULES=   devel/gettext lang/python x11/qt4
+MODULES=   lang/python \
+   x11/qt4
+
+BUILD_DEPENDS =devel/gettext-tools
 
 RUN_DEPENDS=   print/texlive/base \
+   devel/gettext \
graphics/ImageMagick \
x11/gtk+3,-guic \
devel/desktop-file-utils
@@ -31,10 +37,6 @@ LIB_DEPENDS= ${MODQT4_LIB_DEPENDS}>=4.5.
textproc/enchant \
textproc/aspell/core
 
-WANTLIB += lib/qt4/QtGui>=8 lib/qt4/QtSvg aspell c m pthread 
${COMPILER_LIBCXX} z
-WANTLIB += boost_regex-mt>=1 boost_signals-mt>=1
-WANTLIB += glib-2.0 gmodule-2.0 enchant magic
-
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
 
@@ -42,12 +44,14 @@ CONFIGURE_STYLE=gnu
 
 CONFIGURE_ARGS=--with-extra-lib="${X11BASE}/lib ${LOCALBASE}/lib" \
--with-extra-inc="${X11BASE}/include ${LOCALBASE}/include" \
-   --without-hunspell \
+   --with-qt-dir="${MODQT4_QTDIR}" \
--without-included-boost \
+   --without-hunspell \
+   --disable-cxx11 \
--with-packaging=posix
+
+#QTDIR=${MODQT4_QTDIR}
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} \
-   ac_cv_path_QT_MOC=${MODQT4_MOC} \
-   ac_cv_path_QT_UIC=${MODQT4_UIC} \
lyx_cv_callstack_printing=no \
ac_cv_func_fork=yes LIBS=-pthread
 
@@ -67,5 +71,7 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${SUBST_DATA} ${FILESDIR}/lyx.desktop \
${PREFIX}/share/applications/lyx.desktop
+   ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
+   ${PREFIX}/share/lyx/scripts
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo5 Jun 2016 21:06:58 -   1.14
+++ distinfo8 Oct 2017 09:53:30 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.2.0.tar.gz) = yJi+pzUoMFkvHcbZ3dt0JpoPZxTWPH0aFjpFhtp69iU=
-SIZE (lyx-2.2.0.tar.gz) = 25399410
+SHA256 (lyx-2.2.3.tar.gz) = 0okGVdRxx8Vf00QlYoRZO5ojuR8NMBubFdaGMyL4anc=
+SIZE (lyx-2.2.3.tar.gz) = 26489439
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 PLIST
--- pkg/PLIST   5 Jun 2016 21:06:58 -   1.23
+++ pkg/PLIST   8 Oct 2017 09:53:30 -
@@ -87,6 +87,10 @@ share/lyx/doc/Shortcuts.lyx
 share/lyx/doc/SpecialParagraphShape.tex
 share/lyx/doc/Tutorial.lyx
 share/lyx/doc/UserGuide.lyx
+share/lyx/doc/ar/
+share/lyx/doc/ar/Intro.lyx
+share/lyx/doc/ar/Shortcuts.lyx
+share/lyx/doc/ar/Tutorial.lyx
 share/lyx/doc/biblio/
 share/lyx/doc/biblio/LyXDocs.bib
 share/lyx/doc/biblio/alphadin.bst
@@ -207,6 +211,7 @@ share/lyx/doc/fr/clipart/SousDocument.pn
 share/lyx/doc/fr/clipart/float.png
 share/lyx/doc/fr/clipart/footnote.png
 share/lyx/doc/fr/clipart/label.png
+share/lyx/doc/fr/clipart/reference.png
 share/lyx/doc/gl/
 share/lyx/doc/gl/Intro.lyx
 share/lyx/doc/gl/Tutorial.lyx
@@ -349,6 +354,7 @@ share/lyx/examples/de/ItemizeBullets.lyx
 share/lyx/examples/de/Lebenslauf.lyx
 share/lyx/examples/de/MultilingualCaptions.lyx
 share/lyx/examples/de/PDF-comment.lyx
+share/lyx/examples/de/PDF-form.lyx
 share/lyx/examples/de/beamer-article.lyx
 share/lyx/examples/de/beamer.lyx
 share/lyx/examples/de/beispiel_gelyxt.lyx
@@ -828,8 +834,10 @@ share/lyx/images/ipa/unicode-insert_0x00
 share/lyx/images/ipa/unicode-insert_0x0064.svgz
 share/lyx/images/ipa/unicode-insert_0x0065.svgz
 share/lyx/images/ipa/unicode-insert_0x0066.svgz
+share/lyx/images/ipa/unicode-insert_0x0067.svgz
 share/lyx/images/ipa/unicode-insert_0x0068.svgz
 

Re: [UPDATE] print/lyx

2015-05-03 Thread Landry Breuil
On Sun, May 03, 2015 at 06:21:13PM +0200, albat0...@wanadoo.fr wrote:
 Another diff after Landry's message (many thanks).
 
 - Removal of EXTRACT_SUFX and REVISION.
 - @pkgpath and @exec are back in PLIST.
 - RUN_DEPENDS on desktop-file-utils was already there although not 
 visible in the diff file.

Hm, sorry i mixed things. Yes desktop-file-utils was there and the
corresponding annotations are back, but upstream added icons which get
installed in /hicolor/ so you need a RDEP on x11/gtk+3,-guic and adding
the corresponding gtk-update-icon-cache @exec/@unexec-delete annotations
at the bottom of the PLIST. Check other ports to see how this is
handled.

Landry



Re: [UPDATE] print/lyx

2015-05-03 Thread albat0...@wanadoo.fr
Hi,

Here is a sum up of the diff:

- Source 2.1.3 instead of 2.0.4 (a jump of 19 months).

- Inclusion of libmagic (thanks Josh Grosse for pointed that
out). The port can build without but port-lib-depends-check
stumbles on it and the RELEASE-NOTES mentions it improves the file
format detection.

- Mirror list against those on the official site.

- Removal of unknown configure options: without-aiksaurus and
enable-threads=posix (replaced by with-packaging=posix).

- Usage of QT4DIR to find moc and iuc binaries.

This was tested on amd64 and i386. Is there anyone to have a go on
powerpc and sparc64 (better backup ~/.lyx) and/or commit it?
# pkg_info lyx|grep Maintainer
Maintainer: The OpenBSD ports mailing-list ports@openbsd.org

Regards,

LNA

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 Makefile
--- Makefile16 Feb 2015 22:57:12 -  1.70
+++ Makefile3 May 2015 13:08:38 -
@@ -1,15 +1,21 @@
 # $OpenBSD: Makefile,v 1.70 2015/02/16 22:57:12 naddy Exp $
 
+
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.0.4
-REVISION=  1
+EXTRACT_SUFX =  .tar.gz
+DISTNAME=  lyx-2.1.3
+REVISION=  
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/ \
-   ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/ \
+   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.1.x/ \
+   ftp://ftp.u-aizu.ac.jp/pub/tex/lyx/stable/2.1.x/ \
+   http://ftp.icm.edu.pl/packages/lyx/stable/ \
+   http://lyx.cybermirror.org/stable/2.1.x/ \
+   http://mirror.ufs.ac.za/applications/lyx/stable/2.1.x/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -22,12 +28,13 @@ RUN_DEPENDS=print/texlive/base \
 
 LIB_DEPENDS=   ${MODQT4_LIB_DEPENDS}=4.5.3 \
devel/boost \
+   devel/libmagic \
textproc/enchant \
textproc/aspell/core
 
 WANTLIB += lib/qt4/QtGui=8 aspell c m pthread stdc++ z
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
-WANTLIB += glib-2.0 gmodule-2.0 enchant
+WANTLIB += glib-2.0 gmodule-2.0 enchant magic
 
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
@@ -36,12 +43,12 @@ CONFIGURE_STYLE=gnu
 
 CONFIGURE_ARGS=--with-extra-lib=${X11BASE}/lib ${LOCALBASE}/lib \
--with-extra-inc=${X11BASE}/include ${LOCALBASE}/include \
-   --without-aiksaurus \
--without-hunspell \
--without-included-boost \
-   --enable-threads=posix
+   --with-packaging=posix
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} 
UIC4=${MODQT4_UIC} \
-   ac_cv_func_fork=yes LIBS=-pthread
+   ac_cv_func_fork=yes LIBS=-pthread \
+   QT4DIR=${LOCALBASE}/lib/qt4
 
 pre-configure:
perl -pi -e s,python -tt,${MODPY_BIN} -tt, \
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo2 Jan 2013 20:29:49 -   1.11
+++ distinfo3 May 2015 13:08:38 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.0.4.tar.gz) = j4a+A+0h3GpGFJSFK3gUdGbDuxZ3Kirfuc2m4gHDIH4=
-SIZE (lyx-2.0.4.tar.gz) = 19015175
+SHA256 (lyx-2.1.3.tar.gz) = UWFKIt90nyVq6/dosgZphPEYXBGQzl96G2+em/GBhG8=
+SIZE (lyx-2.1.3.tar.gz) = 20290458
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 PLIST
--- pkg/PLIST   3 Feb 2014 17:56:54 -   1.20
+++ pkg/PLIST   3 May 2015 13:08:39 -
@@ -1,6 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.20 2014/02/03 17:56:54 bcallah Exp $
-@pkgpath print/lyx,qt
-@pkgpath print/lyx,xforms
+@comment $OpenBSD$
 @bin bin/lyx
 @bin bin/lyxclient
 @bin bin/tex2lyx
@@ -8,6 +6,8 @@
 @man man/man1/lyxclient.1
 @man man/man1/tex2lyx.1
 share/applications/lyx.desktop
+share/icons/hicolor/48x48/apps/lyx.png
+share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
@@ -67,6 +67,7 @@ share/lyx/configure.py
 share/lyx/doc/
 share/lyx/doc/Additional.lyx
 share/lyx/doc/Customization.lyx
+share/lyx/doc/Development.lyx
 share/lyx/doc/DummyDocument1.lyx
 share/lyx/doc/DummyDocument2.lyx
 share/lyx/doc/DummyTextDocument.txt
@@ -77,6 +78,7 @@ share/lyx/doc/LFUNs.lyx
 share/lyx/doc/LaTeXConfig.lyx
 share/lyx/doc/Math.lyx
 share/lyx/doc/Shortcuts.lyx
+share/lyx/doc/SpecialParagraphShape.tex
 share/lyx/doc/Tutorial.lyx
 share/lyx/doc/UserGuide.lyx
 share/lyx/doc/biblio/
@@ -142,6 +144,7 @@ share/lyx/doc/de/clipart/Marke.png
 share/lyx/doc/de/clipart/Querverweis.png
 

Re: [UPDATE] print/lyx

2015-05-03 Thread Landry Breuil
On Sun, May 03, 2015 at 03:35:15PM +0200, albat0...@wanadoo.fr wrote:
 Hi,
 
 Here is a sum up of the diff:
 
 - Source 2.1.3 instead of 2.0.4 (a jump of 19 months).
 
 - Inclusion of libmagic (thanks Josh Grosse for pointed that
 out). The port can build without but port-lib-depends-check
 stumbles on it and the RELEASE-NOTES mentions it improves the file
 format detection.
 
 - Mirror list against those on the official site.
 
 - Removal of unknown configure options: without-aiksaurus and
 enable-threads=posix (replaced by with-packaging=posix).
 
 - Usage of QT4DIR to find moc and iuc binaries.
 
 This was tested on amd64 and i386. Is there anyone to have a go on
 powerpc and sparc64 (better backup ~/.lyx) and/or commit it?
 # pkg_info lyx|grep Maintainer
 Maintainer: The OpenBSD ports mailing-list ports@openbsd.org

Minor nits: EXTRACT_SUFX defaults to .tar.gz so you shouldnt need it,
and empty REVISION isnt needed either.
You shouldnt remove @pkgpath annotations on the top, nor the @exec lines
at the bottom. Since you add icons in /hicolor/ a RUN_DEPENDS on
desktop-file-utils should be added, and the corresponding @exec
annotations after the update-desktop-database ones.

Other than that it generally looks good.

Landry



Re: [UPDATE] print/lyx

2015-05-03 Thread albat0...@wanadoo.fr
Another diff after Landry's message (many thanks).

- Removal of EXTRACT_SUFX and REVISION.
- @pkgpath and @exec are back in PLIST.
- RUN_DEPENDS on desktop-file-utils was already there although not 
visible in the diff file.

LNA

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 Makefile
--- Makefile16 Feb 2015 22:57:12 -  1.70
+++ Makefile3 May 2015 15:07:47 -
@@ -1,15 +1,19 @@
 # $OpenBSD: Makefile,v 1.70 2015/02/16 22:57:12 naddy Exp $
 
+
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.0.4
-REVISION=  1
+DISTNAME=  lyx-2.1.3
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/ \
-   ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/ \
+   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.1.x/ \
+   ftp://ftp.u-aizu.ac.jp/pub/tex/lyx/stable/2.1.x/ \
+   http://ftp.icm.edu.pl/packages/lyx/stable/ \
+   http://lyx.cybermirror.org/stable/2.1.x/ \
+   http://mirror.ufs.ac.za/applications/lyx/stable/2.1.x/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -22,12 +26,13 @@ RUN_DEPENDS=print/texlive/base \
 
 LIB_DEPENDS=   ${MODQT4_LIB_DEPENDS}=4.5.3 \
devel/boost \
+   devel/libmagic \
textproc/enchant \
textproc/aspell/core
 
 WANTLIB += lib/qt4/QtGui=8 aspell c m pthread stdc++ z
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
-WANTLIB += glib-2.0 gmodule-2.0 enchant
+WANTLIB += glib-2.0 gmodule-2.0 enchant magic
 
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
@@ -36,12 +41,12 @@ CONFIGURE_STYLE=gnu
 
 CONFIGURE_ARGS=--with-extra-lib=${X11BASE}/lib ${LOCALBASE}/lib \
--with-extra-inc=${X11BASE}/include ${LOCALBASE}/include \
-   --without-aiksaurus \
--without-hunspell \
--without-included-boost \
-   --enable-threads=posix
+   --with-packaging=posix
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} 
UIC4=${MODQT4_UIC} \
-   ac_cv_func_fork=yes LIBS=-pthread
+   ac_cv_func_fork=yes LIBS=-pthread \
+   QT4DIR=${LOCALBASE}/lib/qt4
 
 pre-configure:
perl -pi -e s,python -tt,${MODPY_BIN} -tt, \
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo2 Jan 2013 20:29:49 -   1.11
+++ distinfo3 May 2015 15:07:47 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.0.4.tar.gz) = j4a+A+0h3GpGFJSFK3gUdGbDuxZ3Kirfuc2m4gHDIH4=
-SIZE (lyx-2.0.4.tar.gz) = 19015175
+SHA256 (lyx-2.1.3.tar.gz) = UWFKIt90nyVq6/dosgZphPEYXBGQzl96G2+em/GBhG8=
+SIZE (lyx-2.1.3.tar.gz) = 20290458
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 PLIST
--- pkg/PLIST   3 Feb 2014 17:56:54 -   1.20
+++ pkg/PLIST   3 May 2015 15:07:48 -
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.20 2014/02/03 17:56:54 bcallah Exp $
+@comment $OpenBSD$
 @pkgpath print/lyx,qt
 @pkgpath print/lyx,xforms
 @bin bin/lyx
@@ -8,6 +8,8 @@
 @man man/man1/lyxclient.1
 @man man/man1/tex2lyx.1
 share/applications/lyx.desktop
+share/icons/hicolor/48x48/apps/lyx.png
+share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
@@ -67,6 +69,7 @@ share/lyx/configure.py
 share/lyx/doc/
 share/lyx/doc/Additional.lyx
 share/lyx/doc/Customization.lyx
+share/lyx/doc/Development.lyx
 share/lyx/doc/DummyDocument1.lyx
 share/lyx/doc/DummyDocument2.lyx
 share/lyx/doc/DummyTextDocument.txt
@@ -77,6 +80,7 @@ share/lyx/doc/LFUNs.lyx
 share/lyx/doc/LaTeXConfig.lyx
 share/lyx/doc/Math.lyx
 share/lyx/doc/Shortcuts.lyx
+share/lyx/doc/SpecialParagraphShape.tex
 share/lyx/doc/Tutorial.lyx
 share/lyx/doc/UserGuide.lyx
 share/lyx/doc/biblio/
@@ -142,6 +146,7 @@ share/lyx/doc/de/clipart/Marke.png
 share/lyx/doc/de/clipart/Querverweis.png
 share/lyx/doc/de/clipart/StandardBoxQt4.png
 share/lyx/doc/de/clipart/UnterdokumentQt4.png
+share/lyx/doc/de/clipart/Zusammenfassung.pdf
 share/lyx/doc/el/
 share/lyx/doc/el/Intro.lyx
 share/lyx/doc/es/
@@ -172,11 +177,8 @@ share/lyx/doc/es/clipart/flotanteQt4.png
 share/lyx/doc/es/clipart/notapieQt4.png
 share/lyx/doc/es/clipart/referenciaQt4.png
 share/lyx/doc/eu/
-share/lyx/doc/eu/Additional.lyx
-share/lyx/doc/eu/Customization.lyx
 share/lyx/doc/eu/Intro.lyx
 share/lyx/doc/eu/Tutorial.lyx
-share/lyx/doc/eu/UserGuide.lyx
 share/lyx/doc/fr/
 share/lyx/doc/fr/Additional.lyx
 share/lyx/doc/fr/Customization.lyx
@@ 

Re: [UPDATE] print/lyx

2015-05-03 Thread albat0...@wanadoo.fr
Added :
- gtk+3,-guic as a running dependency.
(Already there as a lib dependency of gvfs - gstreamer - qt4 - Lyx)
- gtk-update-icon-cache corresponding annotations in PLIST.

(This last update was only tested on amd64)

Thanks to Landry!

LNA

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 Makefile
--- Makefile16 Feb 2015 22:57:12 -  1.70
+++ Makefile3 May 2015 19:36:31 -
@@ -1,15 +1,19 @@
 # $OpenBSD: Makefile,v 1.70 2015/02/16 22:57:12 naddy Exp $
 
+
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.0.4
-REVISION=  1
+DISTNAME=  lyx-2.1.3
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/ \
-   ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/ \
+   ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.1.x/ \
+   ftp://ftp.u-aizu.ac.jp/pub/tex/lyx/stable/2.1.x/ \
+   http://ftp.icm.edu.pl/packages/lyx/stable/ \
+   http://lyx.cybermirror.org/stable/2.1.x/ \
+   http://mirror.ufs.ac.za/applications/lyx/stable/2.1.x/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -18,16 +22,18 @@ MODULES=devel/gettext lang/python x11/q
 
 RUN_DEPENDS=   print/texlive/base \
graphics/ImageMagick \
+   x11/gtk+3,-guic \
devel/desktop-file-utils
 
 LIB_DEPENDS=   ${MODQT4_LIB_DEPENDS}=4.5.3 \
devel/boost \
+   devel/libmagic \
textproc/enchant \
textproc/aspell/core
 
 WANTLIB += lib/qt4/QtGui=8 aspell c m pthread stdc++ z
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
-WANTLIB += glib-2.0 gmodule-2.0 enchant
+WANTLIB += glib-2.0 gmodule-2.0 enchant magic
 
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
@@ -36,12 +42,12 @@ CONFIGURE_STYLE=gnu
 
 CONFIGURE_ARGS=--with-extra-lib=${X11BASE}/lib ${LOCALBASE}/lib \
--with-extra-inc=${X11BASE}/include ${LOCALBASE}/include \
-   --without-aiksaurus \
--without-hunspell \
--without-included-boost \
-   --enable-threads=posix
+   --with-packaging=posix
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} 
UIC4=${MODQT4_UIC} \
-   ac_cv_func_fork=yes LIBS=-pthread
+   ac_cv_func_fork=yes LIBS=-pthread \
+   QT4DIR=${LOCALBASE}/lib/qt4
 
 pre-configure:
perl -pi -e s,python -tt,${MODPY_BIN} -tt, \
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo2 Jan 2013 20:29:49 -   1.11
+++ distinfo3 May 2015 19:36:31 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.0.4.tar.gz) = j4a+A+0h3GpGFJSFK3gUdGbDuxZ3Kirfuc2m4gHDIH4=
-SIZE (lyx-2.0.4.tar.gz) = 19015175
+SHA256 (lyx-2.1.3.tar.gz) = UWFKIt90nyVq6/dosgZphPEYXBGQzl96G2+em/GBhG8=
+SIZE (lyx-2.1.3.tar.gz) = 20290458
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 PLIST
--- pkg/PLIST   3 Feb 2014 17:56:54 -   1.20
+++ pkg/PLIST   3 May 2015 19:36:32 -
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.20 2014/02/03 17:56:54 bcallah Exp $
+@comment $OpenBSD$
 @pkgpath print/lyx,qt
 @pkgpath print/lyx,xforms
 @bin bin/lyx
@@ -8,6 +8,8 @@
 @man man/man1/lyxclient.1
 @man man/man1/tex2lyx.1
 share/applications/lyx.desktop
+share/icons/hicolor/48x48/apps/lyx.png
+share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
@@ -67,6 +69,7 @@ share/lyx/configure.py
 share/lyx/doc/
 share/lyx/doc/Additional.lyx
 share/lyx/doc/Customization.lyx
+share/lyx/doc/Development.lyx
 share/lyx/doc/DummyDocument1.lyx
 share/lyx/doc/DummyDocument2.lyx
 share/lyx/doc/DummyTextDocument.txt
@@ -77,6 +80,7 @@ share/lyx/doc/LFUNs.lyx
 share/lyx/doc/LaTeXConfig.lyx
 share/lyx/doc/Math.lyx
 share/lyx/doc/Shortcuts.lyx
+share/lyx/doc/SpecialParagraphShape.tex
 share/lyx/doc/Tutorial.lyx
 share/lyx/doc/UserGuide.lyx
 share/lyx/doc/biblio/
@@ -142,6 +146,7 @@ share/lyx/doc/de/clipart/Marke.png
 share/lyx/doc/de/clipart/Querverweis.png
 share/lyx/doc/de/clipart/StandardBoxQt4.png
 share/lyx/doc/de/clipart/UnterdokumentQt4.png
+share/lyx/doc/de/clipart/Zusammenfassung.pdf
 share/lyx/doc/el/
 share/lyx/doc/el/Intro.lyx
 share/lyx/doc/es/
@@ -172,11 +177,8 @@ share/lyx/doc/es/clipart/flotanteQt4.png
 share/lyx/doc/es/clipart/notapieQt4.png
 share/lyx/doc/es/clipart/referenciaQt4.png
 share/lyx/doc/eu/
-share/lyx/doc/eu/Additional.lyx
-share/lyx/doc/eu/Customization.lyx
 

Re: [UPDATE] print/lyx

2015-03-31 Thread Josh Grosse
On Mon, Mar 30, 2015 at 03:56:12PM +0200, albat0...@wanadoo.fr wrote:
 This updates Lyx to the last stable version. It was tested on amd64.

Tested on i386.

The port-lib-depends-check target recommended libmagic.  It's an optional 
library for this application but was on my system and used during build.


--- MakefileMon Mar 30 19:21:51 2015
+++ makefileTue Mar 31 18:37:08 2015
@@ -23,12 +23,13 @@
 
 LIB_DEPENDS=   ${MODQT4_LIB_DEPENDS}=4.5.3 \
devel/boost \
+   devel/libmagic \
textproc/enchant \
textproc/aspell/core
 
 WANTLIB += lib/qt4/QtGui=8 aspell c m pthread stdc++ z
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
-WANTLIB += glib-2.0 gmodule-2.0 enchant
+WANTLIB += glib-2.0 gmodule-2.0 enchant magic
 
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes



[UPDATE] print/lyx

2015-03-30 Thread albat0...@wanadoo.fr
This updates Lyx to the last stable version. It was tested on amd64.

Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.70
diff -u -p -u -p -r1.70 Makefile
--- Makefile16 Feb 2015 22:57:12 -  1.70
+++ Makefile30 Mar 2015 12:16:08 -
@@ -1,15 +1,16 @@
 # $OpenBSD: Makefile,v 1.70 2015/02/16 22:57:12 naddy Exp $
 
+
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.0.4
-REVISION=  1
+DISTNAME=  lyx-2.1.3
+REVISION=  
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/ \
-   ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/ \
+   ftp://ftp.lip6.fr/pub/lyx/stable/2.1.x/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -36,12 +37,12 @@ CONFIGURE_STYLE=gnu
 
 CONFIGURE_ARGS=--with-extra-lib=${X11BASE}/lib ${LOCALBASE}/lib \
--with-extra-inc=${X11BASE}/include ${LOCALBASE}/include \
-   --without-aiksaurus \
--without-hunspell \
--without-included-boost \
-   --enable-threads=posix
+   --with-packaging=posix
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} 
UIC4=${MODQT4_UIC} \
-   ac_cv_func_fork=yes LIBS=-pthread
+   ac_cv_func_fork=yes LIBS=-pthread \
+   QT4DIR=${LOCALBASE}/lib/qt4
 
 pre-configure:
perl -pi -e s,python -tt,${MODPY_BIN} -tt, \
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo2 Jan 2013 20:29:49 -   1.11
+++ distinfo30 Mar 2015 12:16:08 -
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.0.4.tar.gz) = j4a+A+0h3GpGFJSFK3gUdGbDuxZ3Kirfuc2m4gHDIH4=
-SIZE (lyx-2.0.4.tar.gz) = 19015175
+SHA256 (lyx-2.1.3.tar.gz) = UWFKIt90nyVq6/dosgZphPEYXBGQzl96G2+em/GBhG8=
+SIZE (lyx-2.1.3.tar.gz) = 20290458
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 PLIST
--- pkg/PLIST   3 Feb 2014 17:56:54 -   1.20
+++ pkg/PLIST   30 Mar 2015 12:16:08 -
@@ -1,6 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.20 2014/02/03 17:56:54 bcallah Exp $
-@pkgpath print/lyx,qt
-@pkgpath print/lyx,xforms
+@comment $OpenBSD$
 @bin bin/lyx
 @bin bin/lyxclient
 @bin bin/tex2lyx
@@ -8,6 +6,8 @@
 @man man/man1/lyxclient.1
 @man man/man1/tex2lyx.1
 share/applications/lyx.desktop
+share/icons/hicolor/48x48/apps/lyx.png
+share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
@@ -67,6 +67,7 @@ share/lyx/configure.py
 share/lyx/doc/
 share/lyx/doc/Additional.lyx
 share/lyx/doc/Customization.lyx
+share/lyx/doc/Development.lyx
 share/lyx/doc/DummyDocument1.lyx
 share/lyx/doc/DummyDocument2.lyx
 share/lyx/doc/DummyTextDocument.txt
@@ -77,6 +78,7 @@ share/lyx/doc/LFUNs.lyx
 share/lyx/doc/LaTeXConfig.lyx
 share/lyx/doc/Math.lyx
 share/lyx/doc/Shortcuts.lyx
+share/lyx/doc/SpecialParagraphShape.tex
 share/lyx/doc/Tutorial.lyx
 share/lyx/doc/UserGuide.lyx
 share/lyx/doc/biblio/
@@ -142,6 +144,7 @@ share/lyx/doc/de/clipart/Marke.png
 share/lyx/doc/de/clipart/Querverweis.png
 share/lyx/doc/de/clipart/StandardBoxQt4.png
 share/lyx/doc/de/clipart/UnterdokumentQt4.png
+share/lyx/doc/de/clipart/Zusammenfassung.pdf
 share/lyx/doc/el/
 share/lyx/doc/el/Intro.lyx
 share/lyx/doc/es/
@@ -172,11 +175,8 @@ share/lyx/doc/es/clipart/flotanteQt4.png
 share/lyx/doc/es/clipart/notapieQt4.png
 share/lyx/doc/es/clipart/referenciaQt4.png
 share/lyx/doc/eu/
-share/lyx/doc/eu/Additional.lyx
-share/lyx/doc/eu/Customization.lyx
 share/lyx/doc/eu/Intro.lyx
 share/lyx/doc/eu/Tutorial.lyx
-share/lyx/doc/eu/UserGuide.lyx
 share/lyx/doc/fr/
 share/lyx/doc/fr/Additional.lyx
 share/lyx/doc/fr/Customization.lyx
@@ -219,10 +219,8 @@ share/lyx/doc/id/clipart/id-contrib.png
 share/lyx/doc/id/clipart/id-footnote.png
 share/lyx/doc/id/clipart/id-lingkungan.png
 share/lyx/doc/it/
-share/lyx/doc/it/Customization.lyx
 share/lyx/doc/it/Intro.lyx
 share/lyx/doc/it/Tutorial.lyx
-share/lyx/doc/it/UserGuide.lyx
 share/lyx/doc/it/clipart/
 share/lyx/doc/it/clipart/it_footnoteQt4.png
 share/lyx/doc/it/clipart/it_referenceQt4.png
@@ -240,12 +238,19 @@ share/lyx/doc/ja/Shortcuts.lyx
 share/lyx/doc/ja/Tutorial.lyx
 share/lyx/doc/ja/UserGuide.lyx
 share/lyx/doc/ja/clipart/
+share/lyx/doc/ja/clipart/BoxInsetDefaultQt4.png
 share/lyx/doc/ja/clipart/ChildDocumentQt4.png
+share/lyx/doc/ja/clipart/CommentNoteImageQt4.png
 share/lyx/doc/ja/clipart/ERT.png
 share/lyx/doc/ja/clipart/ExternalMaterialQt4.png
+share/lyx/doc/ja/clipart/GreyedOutNoteImageQt4.png

[update] print/lyx 2.0.6

2013-12-07 Thread Bill Karh
LyX 2.0.6 list of changes http://www.lyx.org/announce/2_0_6.txt

- mandoc works, no need for USE_GROFF
- added .desktop file
- installs provided .cls and .sty files in system-wide texmf-local

Tested on amd64.

diff -uNrx CVS /usr/ports/print/lyx/Makefile ports/print/lyx/Makefile
--- /usr/ports/print/lyx/Makefile   Sat Apr  6 05:29:45 2013
+++ ports/print/lyx/MakefileSat Dec  7 20:25:24 2013
@@ -2,8 +2,8 @@
 
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-2.0.4
-REVISION=  0
+DISTNAME=  lyx-2.0.6
+REVISION=
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
@@ -28,29 +28,36 @@
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
 WANTLIB += glib-2.0 gmodule-2.0 enchant
 
+NO_TEST=   Yes
 SEPARATE_BUILD=Yes
 USE_GMAKE= Yes
-USE_GROFF =Yes
 
-CONFIGURE_STYLE=   gnu
+CONFIGURE_STYLE=   gnu
 
 CONFIGURE_ARGS=--with-extra-lib=${X11BASE}/lib ${LOCALBASE}/lib \
--with-extra-inc=${X11BASE}/include ${LOCALBASE}/include \
-   --without-aiksaurus \
--without-hunspell \
--without-included-boost \
--enable-threads=posix
+
 CONFIGURE_ENV+=PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} 
UIC4=${MODQT4_UIC} \
ac_cv_func_fork=yes LIBS=-pthread
 
 pre-configure:
perl -pi -e s,python -tt,${MODPY_BIN} -tt, \
-   ${WRKSRC}/src/support/os.cpp
+   ${WRKSRC}/src/support/os.cpp \
+   ${WRKSRC}/src/support/Systemcall.cpp
perl -pi -e s,#! ?/usr/bin/(env )?python,#!${MODPY_BIN}, \
${WRKSRC}/lib/lyx2lyx/lyx2lyx \
${WRKSRC}/lib/scripts/listerrors \
${WRKSRC}/src/graphics/GraphicsConverter.cpp
find ${WRKSRC} -name *.py -print0 | xargs -0 \
perl -pi -e s,#! ?/usr/bin/(env )?python,#!${MODPY_BIN},
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
+   @${SUBST_CMD} -c ${FILESDIR}/lyx.desktop \
+   ${PREFIX}/share/applications/lyx.desktop
+   @chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/applications/lyx.desktop
 
 .include bsd.port.mk
diff -uNrx CVS /usr/ports/print/lyx/distinfo ports/print/lyx/distinfo
--- /usr/ports/print/lyx/distinfo   Wed Jan  2 12:29:49 2013
+++ ports/print/lyx/distinfoFri Dec  6 09:43:23 2013
@@ -1,2 +1,2 @@
-SHA256 (lyx-2.0.4.tar.gz) = j4a+A+0h3GpGFJSFK3gUdGbDuxZ3Kirfuc2m4gHDIH4=
-SIZE (lyx-2.0.4.tar.gz) = 19015175
+SHA256 (lyx-2.0.6.tar.gz) = 8GIcXuJbmLE7b1YULNgy6GExlwFmom1jPmTJWIbwvEU=
+SIZE (lyx-2.0.6.tar.gz) = 19067798
diff -uNrx CVS /usr/ports/print/lyx/files/lyx.desktop 
ports/print/lyx/files/lyx.desktop
--- /usr/ports/print/lyx/files/lyx.desktop  Wed Dec 31 16:00:00 1969
+++ ports/print/lyx/files/lyx.desktop   Fri Dec  6 09:36:41 2013
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=LyX
+Comment=graphical frontend for LaTeX (nearly WYSIWYG)
+Exec=lyx
+Icon=${TRUEPREFIX}/share/lyx/images/lyx.png
+Type=Application
+InitialPreference=15
+Terminal=false
+Categories=Qt;KDE;GNOME;Application;Office;
+StartupNotify=false
+MimeType=application/x-lyx;
diff -uNrx CVS /usr/ports/print/lyx/patches/patch-lib_Makefile_in 
ports/print/lyx/patches/patch-lib_Makefile_in
--- /usr/ports/print/lyx/patches/patch-lib_Makefile_in  Wed Dec 31 16:00:00 1969
+++ ports/print/lyx/patches/patch-lib_Makefile_in   Fri Dec  6 09:36:32 2013
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- lib/Makefile.in.orig   Thu Dec  5 18:54:50 2013
 lib/Makefile.inThu Dec  5 18:59:25 2013
+@@ -2023,7 +2023,7 @@ dist_thesistemplates_DATA = \
+   templates/thesis/thesis.lyx \
+   templates/thesis/thesisExample.bib
+ 
+-texdir = $(pkgdatadir)/tex
++texdir = ${LOCALBASE}/share/texmf-local/tex/latex/lyx
+ dist_tex_DATA = \
+   tex/broadway.cls \
+   tex/hollywood.cls \
diff -uNrx CVS /usr/ports/print/lyx/pkg/PLIST ports/print/lyx/pkg/PLIST
--- /usr/ports/print/lyx/pkg/PLIST  Wed Jan  2 12:29:49 2013
+++ ports/print/lyx/pkg/PLIST   Fri Dec  6 09:36:15 2013
@@ -7,6 +7,7 @@
 @man man/man1/lyx.1
 @man man/man1/lyxclient.1
 @man man/man1/tex2lyx.1
+share/applications/lyx.desktop
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
@@ -344,7 +345,9 @@
 share/lyx/examples/es/ItemizeBullets.lyx
 share/lyx/examples/es/ejemplo_con_lyx.lyx
 share/lyx/examples/es/ejemplo_sin_lyx.lyx
+share/lyx/examples/es/europeCV.lyx
 share/lyx/examples/es/linguistics.lyx
+share/lyx/examples/es/modernCV.lyx
 share/lyx/examples/es/multicol.lyx
 share/lyx/examples/es/splash.lyx
 share/lyx/examples/es/tufte-book.lyx
@@ -697,7 +700,6 @@
 share/lyx/images/classic/view-others.png
 share/lyx/images/close-tab-group.png
 share/lyx/images/closetab.png
-share/lyx/images/commands/
 share/lyx/images/copy.png
 share/lyx/images/cut.png
 share/lyx/images/demote.png
@@ -1486,6 +1488,7 @@
 share/lyx/layouts/amsbook.layout
 

update print lyx 1.6.6.1 - 2.0.2

2012-01-21 Thread Marc Peters
Update for lyx to 2.0.2, as mentioned earlier on this list (thunderbird 
or me hijacking a different thread ;)).


Tested on i386 and amd64.

ok?

marc
Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.62
diff -u -r1.62 Makefile
--- Makefile16 Sep 2011 11:13:41 -  1.62
+++ Makefile11 Jan 2012 23:11:27 -
@@ -2,14 +2,14 @@
 
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-1.6.6.1
-REVISION=  3
+DISTNAME=  lyx-2.0.2
+REVISION=  0
 CATEGORIES=print editors
 
 HOMEPAGE=  http://www.lyx.org/
 
-MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/ \
-   ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/
+MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/ \
+   ftp://ftp.lip6.fr/pub/lyx/stable/2.0.x/
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
@@ -29,6 +29,7 @@
 WANTLIB += QtGui=8 X11 aspell c m pthread stdc++ z
 WANTLIB += boost_filesystem-mt=1 boost_iostreams-mt=1
 WANTLIB += boost_regex-mt=1 boost_signals-mt=1
+WANTLIB += glib-2.0 gmodule-2.0
 
 SEPARATE_BUILD=concurrent
 USE_LIBTOOL=   Yes
Index: distinfo
===
RCS file: /cvs/ports/print/lyx/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo4 Jun 2010 22:43:33 -   1.10
+++ distinfo11 Jan 2012 23:11:27 -
@@ -1,5 +1,4 @@
-MD5 (lyx-1.6.6.1.tar.gz) = XEPDFhy+wIx48kbMpXYWNg==
-RMD160 (lyx-1.6.6.1.tar.gz) = jsgq2uaMQPwBIrEqY2n/NP/ikz8=
-SHA1 (lyx-1.6.6.1.tar.gz) = VFb+boLhr6YBYb3xpTtXViEY9lE=
-SHA256 (lyx-1.6.6.1.tar.gz) = 5WasuoL4htwCdhmMKkqWTkSEXuxOg9b94b0UcTARDW8=
-SIZE (lyx-1.6.6.1.tar.gz) = 15698964
+MD5 (lyx-2.0.2.tar.gz) = ff26f28d3b9ed9f3c45162b17e675842
+RMD160 (lyx-2.0.2.tar.gz) = 3a9ace8032e26dadbf1bde38da230d4726e06444
+SHA256 (lyx-2.0.2.tar.gz) = 
94fd01f36b58494c3d14fd95f42dd70fbdfd4da3248d22dc78e05ca811301a52
+SIZE (lyx-2.0.2.tar.gz) = 18742720
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/lyx/pkg/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- pkg/PLIST   4 Jun 2010 22:43:33 -   1.18
+++ pkg/PLIST   11 Jan 2012 23:11:27 -
@@ -10,6 +10,7 @@
 share/locale/ar/LC_MESSAGES/lyx.mo
 share/locale/ca/LC_MESSAGES/lyx.mo
 share/locale/cs/LC_MESSAGES/lyx.mo
+share/locale/da/LC_MESSAGES/lyx.mo
 share/locale/de/LC_MESSAGES/lyx.mo
 share/locale/el/LC_MESSAGES/lyx.mo
 share/locale/en/LC_MESSAGES/lyx.mo
@@ -20,6 +21,7 @@
 share/locale/gl/LC_MESSAGES/lyx.mo
 share/locale/he/LC_MESSAGES/lyx.mo
 share/locale/hu/LC_MESSAGES/lyx.mo
+share/locale/ia/LC_MESSAGES/lyx.mo
 share/locale/id/LC_MESSAGES/lyx.mo
 share/locale/it/LC_MESSAGES/lyx.mo
 share/locale/ja/LC_MESSAGES/lyx.mo
@@ -30,12 +32,15 @@
 share/locale/ro/LC_MESSAGES/lyx.mo
 share/locale/ru/LC_MESSAGES/lyx.mo
 share/locale/sk/LC_MESSAGES/lyx.mo
+share/locale/sr/LC_MESSAGES/lyx.mo
+share/locale/sv/LC_MESSAGES/lyx.mo
 share/locale/tr/LC_MESSAGES/lyx.mo
 share/locale/uk/LC_MESSAGES/lyx.mo
 share/locale/zh_CN/LC_MESSAGES/lyx.mo
 share/locale/zh_TW/LC_MESSAGES/lyx.mo
 share/lyx/
 share/lyx/CREDITS
+share/lyx/autocorrect
 share/lyx/bind/
 share/lyx/bind/aqua.bind
 share/lyx/bind/broadway.bind
@@ -44,20 +49,14 @@
 share/lyx/bind/de/
 share/lyx/bind/de/menus.bind
 share/lyx/bind/emacs.bind
-share/lyx/bind/fi/
-share/lyx/bind/fi/menus.bind
 share/lyx/bind/greekkeys.bind
 share/lyx/bind/hollywood.bind
 share/lyx/bind/latinkeys.bind
 share/lyx/bind/mac.bind
 share/lyx/bind/math.bind
 share/lyx/bind/menus.bind
-share/lyx/bind/pt/
-share/lyx/bind/pt/menus.bind
 share/lyx/bind/sciword.bind
 share/lyx/bind/site.bind
-share/lyx/bind/sv/
-share/lyx/bind/sv/menus.bind
 share/lyx/bind/xemacs.bind
 share/lyx/chkconfig.ltx
 share/lyx/commands/
@@ -66,12 +65,12 @@
 share/lyx/configure.pyc
 share/lyx/configure.pyo
 share/lyx/doc/
+share/lyx/doc/Additional.lyx
 share/lyx/doc/Customization.lyx
 share/lyx/doc/DummyDocument1.lyx
 share/lyx/doc/DummyDocument2.lyx
 share/lyx/doc/DummyTextDocument.txt
 share/lyx/doc/EmbeddedObjects.lyx
-share/lyx/doc/Extended.lyx
 share/lyx/doc/Formula-numbering.lyx
 share/lyx/doc/Intro.lyx
 share/lyx/doc/LFUNs.lyx
@@ -109,7 +108,6 @@
 share/lyx/doc/clipart/labelQt4.png
 share/lyx/doc/clipart/macrobox.png
 share/lyx/doc/clipart/macrouse.png
-share/lyx/doc/clipart/mbox.png
 share/lyx/doc/clipart/mobius.eps
 share/lyx/doc/clipart/platypus.eps
 share/lyx/doc/clipart/referenceQt4.png
@@ -120,12 +118,12 @@
 share/lyx/doc/da/
 share/lyx/doc/da/Intro.lyx
 share/lyx/doc/de/
+share/lyx/doc/de/Additional.lyx
 share/lyx/doc/de/Customization.lyx
 share/lyx/doc/de/DummyDocument1.lyx
 share/lyx/doc/de/DummyDocument2.lyx
 share/lyx/doc/de/DummyTextDocument.txt
 share/lyx/doc/de/EmbeddedObjects.lyx
-share/lyx/doc/de/Extended.lyx
 share/lyx/doc/de/Formelnummerierung.lyx
 share/lyx/doc/de/Intro.lyx
 share/lyx/doc/de/Math.lyx
@@ -144,13 +142,15 @@
 

UPDATE: print/lyx (long overdue)

2006-06-16 Thread Zvezdan Petkovic
Attached is the long overdue patch.
Please use patch -E to remove three source patches from the previous
version since they have been adopted by LyX developers.  The only
remaining source patch is shortened.

I tested both -qt and -xforms flavors.  They work fine.

Several issues while building the port:

1. This is caused by gettext module.  Do I need to do anything about it?

$ make lib-depends-check
/usr/ports/packages/i386/all/lyx-1.4.1-qt.tgz:
Extra: intl.3
Extra: iconv.4


2. Configuration consistently picked up aspell on my machine (used by
   kdelibs), and this port has traditionally depended on ispell.
   LyX can support both.  The problem with that is that aspell must be
   added to WANTLIB and that dependency is not really necessary.
   My way out of this was addition to CONFIGURE_ARGS

...
--without-aspell \
--without-pspell \
...

   Without this a package builder must have aspell when building lyx
   because of WANTLIB containing aspell.  With this I'm preventing lyx
   from using aspell even when it is available on the machine.
   I really do not think that a spell checker warrants another flavor.
   Any suggestions for a better way of doing this?

3. Nikolay Sturm has at one point committed a change to this port to
   speed up the build.  I added this option at the end of
   CONFIGURE_ARGS.  It doesn't seem to have any ill effects and
   according to ./configure --help it speeds up a one-time build. 

--disable-dependency-tracking

   Any comments on this?

4. No xfonts are distributed with LyX any more.
   Qt doesn't see them anyway because it uses fontconfig instead of
   old style X font path.

   For people who want to see all the math symbols in LyX instead of a
   TeX keyword, they suggest a download of contrib/latex-xft-fonts.
   These are apparently TrueType versions of TeX Computer Modern fonts.
   There are no guarantees from LyX developers about the quality or
   security of contrib/ part of FTP site.

   Besides, in that same directory are BaKoMa fonts that are recommended
   to users of LyX Windows port.  LyX wiki also recommends BaKoMa as a
   better quality over latex-xft-fonts tarball.
http://wiki.lyx.org/FAQ/Qt

   Finally, one can buy a quality Lucida fonts from TeX User Group and
   use them instead.
   
   Whatever fonts are chosen,  they should be put in
   /usr/local/share/fonts/somename as any other fonts and fc-cache
   should be rerun.  Also, an individual user can always put them in
   $HOME/.fonts.
   
   I do not see this as a LyX specific issue and I did not do anything
   about it.  It's well documented on LyX wiki and I believe it's an
   individual user choice whether they want (need) math fonts and then
   which ones they would choose.

   Am I correct in thinking this way?
   Should we put a message about the font availability to the port?

Best regards,

Zvezdan Petkovic
Index: Makefile
===
RCS file: /cvs/ports/print/lyx/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile10 Feb 2006 21:17:01 -  1.36
+++ Makefile16 Jun 2006 06:49:43 -
@@ -2,18 +2,18 @@
 
 COMMENT=   graphical frontend for LaTeX (nearly WYSIWYG)
 
-DISTNAME=  lyx-1.3.4
-PKGNAME=   ${DISTNAME}p1
+DISTNAME=  lyx-1.4.1
 CATEGORIES=print
 
 HOMEPAGE=  http://www.lyx.org/
 
+EXTRACT_SUFX?= .tar.bz2
 MASTER_SITES=  ftp://ftp.lyx.org/pub/lyx/stable/ \
ftp://ftp.sdsc.edu/pub/other/lyx/stable/ \
ftp://ftp.lip6.fr/pub/lyx/stable/ \
ftp://ftp.chg.ru/pub/TeX/lyx/stable/
 
-MAINTAINER=Zvezdan Petkovic [EMAIL PROTECTED]
+MAINTAINER=Zvezdan Petkovic [EMAIL PROTECTED]
 
 # In XForms flavor: quasi-GPL (linked to closed source library)
 # In Qt flavor: GPL (this should be preferred for CD distribution)
@@ -23,11 +23,15 @@
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MODULES=   devel/gettext
+MODULES=   devel/gettext lang/python
+
+LYX_DEPENDS=   ::print/teTeX/base \
+   ::graphics/ImageMagick \
+   ::textproc/ispell
+BUILD_DEPENDS+=${LYX_DEPENDS}
+RUN_DEPENDS+=  ${LYX_DEPENDS}
+WANTLIB=   ICE SM X11 c m stdc++ z
 
-BUILD_DEPENDS+=:teTeX_base-*:print/teTeX/base
-RUN_DEPENDS+=  :teTeX_base-*:print/teTeX/base \
-   :ispell-*:textproc/ispell
 USE_GMAKE= Yes
 
 FLAVORS=   qt xforms
@@ -36,13 +40,13 @@
 .if ${FLAVOR:L} == qt
 MODULES+=  qt3
 MODQT_MT=  Yes
+WANTLIB+=  pthread
 CONFIGURE_ARGS=--with-frontend=qt ${MODQT_CONFIGURE_ARGS}
-CONFIGURE_ENV= LIBS=-pthread
-# A hack until LyX developers apply the patch to qt.m4 to respect $MOC and $UIC
-CONFIGURE_ENV+=ac_moc1=${MODQT_MOC} ac_uic=${MODQT_UIC}
-WANTLIB=   ICE stdc++ c X11 m SM pthread
+CONFIGURE_ENV+=LIBS=-pthread QTDIR=${MODQT_QTDIR}
 .elif