Re: rdbmaker issues

2018-03-20 Thread Damjan Jovanovic
The name of the cppuhelpers library is generated in main/cppuhelper/source/
makefile.mk:

.IF "$(GUI)" == "WNT"
SHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
.ELIF "$(GUI)" == "OS2"
SHL1TARGET=cppuh$(UDK_MAJOR)
.ELSE
SHL1TARGET=uno_$(TARGET)$(COMID)
.ENDIF

If this was an intentional change, you may also need to override the
library name in main/RepositoryFixes.mk.

On Mon, Mar 19, 2018 at 6:30 PM, Jim Jagielski  wrote:

> The migration of rdbmaker to build is causing issues w/ macOS:
> It's looking for libuno_cppuhelpers5abi.dylib but what is being
> created is libuno_cppuhelpersgcc3.dylib
>
> No idea where the names are being generated or managed, since
> the makefile uses
>
>
> $(eval $(call gb_Executable_add_linked_libs,rdbmaker,\
> cppu \
> cppuhelper \
> reg \
> sal \
> salhelper \
> stl \
> $(gb_STDLIBS) \
> ))
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Damjan Jovanovic
Does nobody understand, that with that run-time dynamic linking patch I
wrote, and some extra work to resurrect gstreamer 0.1 support from SVN, you
could build both gstreamer 0.1 and 1.0 plugins on CentOS 6, and then use
whichever gstreamer version is installed at run-time?

Damjan

On Mon, Mar 19, 2018 at 10:34 PM, Jim Jagielski  wrote:

> Does it make sense to have both gstreamer 0.10 and 1.0 as exclusive
> options.
> That is, enabling gstreamer during the build will determine what
> version is supported and then use that?
>
> ie, sort of merge how AOO415 and AOO420 currently do things related
> to gstreamer?
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: Issue w/ lucene build/patch in trunk

2018-03-20 Thread Damjan Jovanovic
Sorry about that, and well done on fixing it :).

On Mon, Mar 19, 2018 at 4:20 PM, Jim Jagielski  wrote:

> Fixed in r1827202... there were some EOL gremlins in the patch-file which
> caused patch to barf
>
> > On Mar 14, 2018, at 10:11 AM, Jim Jagielski  wrote:
> >
> > I am getting the below error:
> >
> > =
> > Building module lucene
> > =
> >
> > Entering /Users/jim/src/asf/AOO420/main/lucene
> >
> > missing header for unified diff at line 3 of patch
> > patching file lucene-2.9.4/common-build.xml
> > Reversed (or previously applied) patch detected!  Assume -R? [n] y
> > patching file lucene-2.9.4/common-build.xml
> > Reversed (or previously applied) patch detected!  Assume -R? [n] y
> > patching file lucene-2.9.4/contrib/analyzers/common/build.xml
> > Reversed (or previously applied) patch detected!  Assume -R? [n] y
> > (Stripping trailing CRs from patch.)
> > patching file lucene-2.9.4/contrib/analyzers/smartcn/build.xml
> > Hunk #1 FAILED at 23.
> > 1 out of 1 hunk FAILED -- saving rejects to file lucene-2.9.4/contrib/
> analyzers/smartcn/build.xml.rej
> > dmake:  Error code 1, while making './unxmaccx.pro/misc/build/so_
> patched_so_lucene'
> >
> >
> > The rejected patch is:
> >
> > % cat lucene/unxmaccx.pro/misc/build/lucene-2.9.4/contrib/
> analyzers/smartcn/build.xml.rej
> > ***
> > *** 23,30 
> >  Smart Chinese Analyzer
> >
> >
> > -   
> > -   
> >
> > > location="../../../build/contrib/analyzers/smartcn"
> />
> > > location="../../../dist/contrib/analyzers/smartcn"
> />
> > --- 23,30 
> >  Smart Chinese Analyzer
> >
> >
> > +   
> > +   
> >
> > > location="../../../build/contrib/analyzers/smartcn"
> />
> > > location="../../../dist/contrib/analyzers/smartcn"
> />
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> >
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Jim Jagielski


> On Mar 20, 2018, at 7:25 AM, Andrea Pescetti  wrote:
> 
> Rory O'Farrell wrote:
>> Centos may be a good distro for building OO, but it is hardly the most 
>> widely used for daily work
> 
> How popular a system is is not very relevant.
> 
> What matters is: we build OpenOffice on an "old" system since this makes it 
> compatible with more recent systems. If we built OpenOffice on the latest 
> Ubuntu, it wouldn't work on older Linux systems.
> 

We do this not only for Linux but macOS as well... It's just that with
the mac, it is easier to build for older systems even when
building *on* a newer one. Not so w/ Linux, esp when dependencies
are based on kernel versions.

I also agree that we should try Damjan's patch but, afaict, no one
has seen it :-)


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Jim Jagielski
Damjan, you forgot to post the patch on the thread. Peter Kovacs asked for a 
copy and I'm not sure if he's rec'd it.

> On Mar 20, 2018, at 3:24 AM, Damjan Jovanovic  wrote:
> 
> Does nobody understand, that with that run-time dynamic linking patch I
> wrote, and some extra work to resurrect gstreamer 0.1 support from SVN, you
> could build both gstreamer 0.1 and 1.0 plugins on CentOS 6, and then use
> whichever gstreamer version is installed at run-time?
> 
> Damjan
> 
> On Mon, Mar 19, 2018 at 10:34 PM, Jim Jagielski  wrote:
> 
>> Does it make sense to have both gstreamer 0.10 and 1.0 as exclusive
>> options.
>> That is, enabling gstreamer during the build will determine what
>> version is supported and then use that?
>> 
>> ie, sort of merge how AOO415 and AOO420 currently do things related
>> to gstreamer?
>> 
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>> 
>> 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Damjan Jovanovic
My sent emails show the patch was attached. Was it filtered out somewhere?

On Tue, Mar 20, 2018 at 2:47 PM, Jim Jagielski  wrote:

> Damjan, you forgot to post the patch on the thread. Peter Kovacs asked for
> a copy and I'm not sure if he's rec'd it.
>
> > On Mar 20, 2018, at 3:24 AM, Damjan Jovanovic  wrote:
> >
> > Does nobody understand, that with that run-time dynamic linking patch I
> > wrote, and some extra work to resurrect gstreamer 0.1 support from SVN,
> you
> > could build both gstreamer 0.1 and 1.0 plugins on CentOS 6, and then use
> > whichever gstreamer version is installed at run-time?
> >
> > Damjan
> >
> > On Mon, Mar 19, 2018 at 10:34 PM, Jim Jagielski  wrote:
> >
> >> Does it make sense to have both gstreamer 0.10 and 1.0 as exclusive
> >> options.
> >> That is, enabling gstreamer during the build will determine what
> >> version is supported and then use that?
> >>
> >> ie, sort of merge how AOO415 and AOO420 currently do things related
> >> to gstreamer?
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> >> For additional commands, e-mail: dev-h...@openoffice.apache.org
> >>
> >>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: svn commit: r1827215 - in /openoffice/trunk/main: configure.ac solenv/gbuild/platform/macosx.mk

2018-03-20 Thread Matthias Seidel
Works for me.

Thanks!


Am 20.03.2018 um 11:46 schrieb Damjan Jovanovic:
> Does this patch help?
>
> (Remember to re-run "autoconf")
>
> On Tue, Mar 20, 2018 at 12:32 PM, Matthias Seidel
> > wrote:
>
> Something is broken here (even with r1827253)...
>
> When doing configure (on Windows) I get:
>
> ./configure: line 8147: syntax error near unexpected token `)'
> ./configure: line 8147: `   MSC)'
>
> Regards,
>
>    Matthias
>
>
> Am 19.03.2018 um 23:56 schrieb Jim Jagielski:
> >
> >> On Mar 19, 2018, at 6:47 PM, Don Lewis  > wrote:
> >>
> >> I don't think this is correct.  As I recall the bridges code
> for Mac
> >> uses s5abi.
> >>
> > As long as we remain consistent, we should be OK... Defaulting
> > to gcc3 seems to work better.
> >
> >
> -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> 
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> >
> >
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Andrea Pescetti

Rory O'Farrell wrote:

Centos may be a good distro for building OO, but it is hardly the most widely 
used for daily work


How popular a system is is not very relevant.

What matters is: we build OpenOffice on an "old" system since this makes 
it compatible with more recent systems. If we built OpenOffice on the 
latest Ubuntu, it wouldn't work on older Linux systems.


CentOS is good because it has very long term support, which allows us to 
establish a common baseline: for example, all Apache OpenOffice releases 
run on the same platform and were built on CentOS 5, so there is no risk 
that 4.1.2 works for you and 4.1.3 doesn't. Ubuntu LTS does not offer 
equivalent support.


Anyway, I also believe we should try with Damjan's patch. But apparently 
the patch never made it to the list. https://s.apache.org/xRCa does not 
show the patch either.


Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: svn commit: r1827215 - in /openoffice/trunk/main: configure.ac solenv/gbuild/platform/macosx.mk

2018-03-20 Thread Matthias Seidel
Something is broken here (even with r1827253)...

When doing configure (on Windows) I get:

./configure: line 8147: syntax error near unexpected token `)'
./configure: line 8147: `   MSC)'

Regards,

   Matthias


Am 19.03.2018 um 23:56 schrieb Jim Jagielski:
>
>> On Mar 19, 2018, at 6:47 PM, Don Lewis  wrote:
>>
>> I don't think this is correct.  As I recall the bridges code for Mac
>> uses s5abi.
>>
> As long as we remain consistent, we should be OK... Defaulting
> to gcc3 seems to work better.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>




smime.p7s
Description: S/MIME Cryptographic Signature


Re: svn commit: r1827215 - in /openoffice/trunk/main: configure.ac solenv/gbuild/platform/macosx.mk

2018-03-20 Thread Damjan Jovanovic
Pleasure :).

Committed in r1827295.

On Tue, Mar 20, 2018 at 1:13 PM, Matthias Seidel  wrote:

> Works for me.
>
> Thanks!
>
> Am 20.03.2018 um 11:46 schrieb Damjan Jovanovic:
>
> Does this patch help?
>
> (Remember to re-run "autoconf")
>
> On Tue, Mar 20, 2018 at 12:32 PM, Matthias Seidel <
> matthias.sei...@hamburg.de> wrote:
>
>> Something is broken here (even with r1827253)...
>>
>> When doing configure (on Windows) I get:
>>
>> ./configure: line 8147: syntax error near unexpected token `)'
>> ./configure: line 8147: `   MSC)'
>>
>> Regards,
>>
>>Matthias
>>
>>
>> Am 19.03.2018 um 23:56 schrieb Jim Jagielski:
>> >
>> >> On Mar 19, 2018, at 6:47 PM, Don Lewis  wrote:
>> >>
>> >> I don't think this is correct.  As I recall the bridges code for Mac
>> >> uses s5abi.
>> >>
>> > As long as we remain consistent, we should be OK... Defaulting
>> > to gcc3 seems to work better.
>> >
>> > -
>> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> > For additional commands, e-mail: dev-h...@openoffice.apache.org
>> >
>> >
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>
>


Re: svn commit: r1827215 - in /openoffice/trunk/main: configure.ac solenv/gbuild/platform/macosx.mk

2018-03-20 Thread Damjan Jovanovic
Does this patch help?

(Remember to re-run "autoconf")

On Tue, Mar 20, 2018 at 12:32 PM, Matthias Seidel <
matthias.sei...@hamburg.de> wrote:

> Something is broken here (even with r1827253)...
>
> When doing configure (on Windows) I get:
>
> ./configure: line 8147: syntax error near unexpected token `)'
> ./configure: line 8147: `   MSC)'
>
> Regards,
>
>Matthias
>
>
> Am 19.03.2018 um 23:56 schrieb Jim Jagielski:
> >
> >> On Mar 19, 2018, at 6:47 PM, Don Lewis  wrote:
> >>
> >> I don't think this is correct.  As I recall the bridges code for Mac
> >> uses s5abi.
> >>
> > As long as we remain consistent, we should be OK... Defaulting
> > to gcc3 seems to work better.
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> >
> >
>
>
>
Index: configure.ac
===
--- configure.ac(revision 1827290)
+++ configure.ac(working copy)
@@ -2247,6 +2247,7 @@
COMNAME="gcc3";
;;
esac
+   ;;
MSC)
CCVER=`${CC} 2>&1 | $AWK -f ${_solenv}/bin/getcompver.awk`;
CCNUMVER=`${CC} 2>&1 | $AWK -v num=true -f 
${_solenv}/bin/getcompver.awk`;

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Jim Jagielski
It must have been because it does not show up even on lists.a.o

> On Mar 20, 2018, at 9:42 AM, Damjan Jovanovic  wrote:
> 
> My sent emails show the patch was attached. Was it filtered out somewhere?
> 
> On Tue, Mar 20, 2018 at 2:47 PM, Jim Jagielski  wrote:
> 
>> Damjan, you forgot to post the patch on the thread. Peter Kovacs asked for
>> a copy and I'm not sure if he's rec'd it.
>> 
>>> On Mar 20, 2018, at 3:24 AM, Damjan Jovanovic  wrote:
>>> 
>>> Does nobody understand, that with that run-time dynamic linking patch I
>>> wrote, and some extra work to resurrect gstreamer 0.1 support from SVN,
>> you
>>> could build both gstreamer 0.1 and 1.0 plugins on CentOS 6, and then use
>>> whichever gstreamer version is installed at run-time?
>>> 
>>> Damjan
>>> 
>>> On Mon, Mar 19, 2018 at 10:34 PM, Jim Jagielski  wrote:
>>> 
 Does it make sense to have both gstreamer 0.10 and 1.0 as exclusive
 options.
 That is, enabling gstreamer during the build will determine what
 version is supported and then use that?
 
 ie, sort of merge how AOO415 and AOO420 currently do things related
 to gstreamer?
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org
 
 
>> 
>> 
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>> 
>> 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread toki


On 03/20/2018 01:42 PM, Damjan Jovanovic wrote:
> My sent emails show the patch was attached. 

Message ID:


jonathon

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Jim Jagielski
Raw source:

https://lists.apache.org/api/source.lua/5d7c42a6aec5705771ee17413812d3e9125ba1a61f9916ba76c6a06c@%3Cdev.openoffice.apache.org%3E
 



> On Mar 20, 2018, at 10:59 AM, toki  wrote:
> 
> 
> 
> On 03/20/2018 01:42 PM, Damjan Jovanovic wrote:
>> My sent emails show the patch was attached. 
> 
> Message ID:
> 
> 
> jonathon
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 



Re: Openoffice and unsupported gstreamer 0.10 branch (for openoffice libavmediagst.so library)

2018-03-20 Thread Peter kovacs
Cool. Have the patches now.
Thx for resending.

Am 20. März 2018 16:37:17 MEZ schrieb Damjan Jovanovic :
>Resending, both plaintext and zipped.
>
>On Tue, Mar 20, 2018 at 4:33 PM, Jim Jagielski  wrote:
>
>> It must have been because it does not show up even on lists.a.o
>>
>> > On Mar 20, 2018, at 9:42 AM, Damjan Jovanovic 
>wrote:
>> >
>> > My sent emails show the patch was attached. Was it filtered out
>> somewhere?
>> >
>> > On Tue, Mar 20, 2018 at 2:47 PM, Jim Jagielski 
>wrote:
>> >
>> >> Damjan, you forgot to post the patch on the thread. Peter Kovacs
>asked
>> for
>> >> a copy and I'm not sure if he's rec'd it.
>> >>
>> >>> On Mar 20, 2018, at 3:24 AM, Damjan Jovanovic 
>> wrote:
>> >>>
>> >>> Does nobody understand, that with that run-time dynamic linking
>patch I
>> >>> wrote, and some extra work to resurrect gstreamer 0.1 support
>from SVN,
>> >> you
>> >>> could build both gstreamer 0.1 and 1.0 plugins on CentOS 6, and
>then
>> use
>> >>> whichever gstreamer version is installed at run-time?
>> >>>
>> >>> Damjan
>> >>>
>> >>> On Mon, Mar 19, 2018 at 10:34 PM, Jim Jagielski 
>> wrote:
>> >>>
>>  Does it make sense to have both gstreamer 0.10 and 1.0 as
>exclusive
>>  options.
>>  That is, enabling gstreamer during the build will determine what
>>  version is supported and then use that?
>> 
>>  ie, sort of merge how AOO415 and AOO420 currently do things
>related
>>  to gstreamer?
>> 
>> 
>-
>>  To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>>  For additional commands, e-mail: dev-h...@openoffice.apache.org
>> 
>> 
>> >>
>> >>
>> >>
>-
>> >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> >> For additional commands, e-mail: dev-h...@openoffice.apache.org
>> >>
>> >>
>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: rdbmaker issues

2018-03-20 Thread Don Lewis
On 20 Mar, Damjan Jovanovic wrote:
> The name of the cppuhelpers library is generated in main/cppuhelper/source/
> makefile.mk:
> 
> .IF "$(GUI)" == "WNT"
> SHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
> .ELIF "$(GUI)" == "OS2"
> SHL1TARGET=cppuh$(UDK_MAJOR)
> .ELSE
> SHL1TARGET=uno_$(TARGET)$(COMID)
> .ENDIF

COMID should be s5abi here, but it sort of sounds like it is getting set
to gcc3 instead.

I see that main/solenv/inc/libs.mk also uses COMID, so the two *should*
match:

.IF "$(GUI)$(COM)"=="WNTGCC"
CPPULIB=-lcppu$(UDK_MAJOR)
CPPUHELPERLIB=-lcppuhelper$(UDK_MAJOR)$(COMID)
.ELIF "$(GUI)"=="OS2"
CPPULIB=-lcppu$(UDK_MAJOR)
CPPUHELPERLIB=-lcppuh$(UDK_MAJOR)
.ELSE   # "$(GUI)$(COM)"=="WNTGCC"
CPPULIB=-luno_cppu
CPPUHELPERLIB=-luno_cppuhelper$(COMID)
.ENDIF  # "$(GUI)$(COM)"=="WNTGCC"

> If this was an intentional change, you may also need to override the
> library name in main/RepositoryFixes.mk.

That doesn't seem to touch anything in the name after cppuhelper.

gb_Library_FILENAMES := $(patsubst cppuhelper:libcppuhelper%,cppuhelper:libuno_
cppuhelper%,$(gb_Library_FILENAMES))

> On Mon, Mar 19, 2018 at 6:30 PM, Jim Jagielski  wrote:
> 
>> The migration of rdbmaker to build is causing issues w/ macOS:
>> It's looking for libuno_cppuhelpers5abi.dylib but what is being
>> created is libuno_cppuhelpersgcc3.dylib
>>
>> No idea where the names are being generated or managed, since
>> the makefile uses
>>
>>
>> $(eval $(call gb_Executable_add_linked_libs,rdbmaker,\
>> cppu \
>> cppuhelper \
>> reg \
>> sal \
>> salhelper \
>> stl \
>> $(gb_STDLIBS) \
>> ))
>>


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org