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

2018-03-14 Thread Damjan Jovanovic
If GStreamer is that problematic to obtain, we could import these 30
symbols that we use from it via run-time dynamic linking. That way we don't
need the GStreamer libraries to link against at compile time, only the
header files:

  DF *UND*0060
gst_video_overlay_get_type
  DF *UND*0196
gst_bus_set_sync_handler
  DF *UND*003b
gst_message_get_structure
  DF *UND*00b1
gst_element_query_duration
  DF *UND*0136
gst_pad_get_current_caps
  DF *UND*000a
gst_pipeline_get_bus
  DF *UND*007f
gst_bus_get_type
  DF *UND*0174
gst_object_unref
  DF *UND*00fc
gst_element_get_state
  DF *UND*00af
gst_pipeline_get_type
  DF *UND*00dc
gst_element_set_state
  DF *UND*00b4
gst_structure_has_field
  DF *UND*00da
gst_bus_have_pending
  DF *UND*00b1
gst_element_query_position
  DF *UND*002f
gst_structure_get_name
  DF *UND*0090
gst_structure_get_value
  DF *UND*00c2
gst_structure_get_int
  DF *UND*003e
gst_caps_get_size
  DF *UND*0059
gst_structure_nth_field_name
  DF *UND*003a
gst_is_video_overlay_prepare_window_handle_message
  DF *UND*00ca
gst_bin_get_type
  DF *UND*0365
gst_mini_object_unref
  DF *UND*00b4
gst_message_parse_error
  DF *UND*005f  gst_init
  DF *UND*00da  gst_bus_pop
  DF *UND*0065
gst_caps_get_structure
  DF *UND*00b4
gst_element_seek_simple
  DF *UND*01ea
gst_element_factory_make
  DF *UND*0148
gst_video_overlay_set_window_handle
  DF *UND*002f
gst_structure_n_fields

We already do with ODBC for example, where we will link against either
iODBC or unixODBC depending on which is installed at run-time.


On Thu, Mar 15, 2018 at 12:17 AM, Andrea Pescetti 
wrote:

> Damjan Jovanovic wrote:
>
>> GStreamer 1.0.0 requires glib 2.32.0.
>>
>
> CentOS 6 ships with glib (package name: glib2) 2.28 as per
> http://mirror.centos.org/centos/6/os/x86_64/Packages/
>
> So this is indeed an issue: we would need a distribution that ships with
> glib >= 2.32 (without considering other possible dependencies at the
> moment) to build.
>
> On the other hand, we want something as old as possible since builds done
> with too recent versions of glibc (not to confuse with the above, and set
> at 2.12 in CentOS 6) won't work for users of old Linux-based systems.
>
>
> Regards,
>   Andrea.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: English Dictionaries gives an error while attempting to download

2018-03-14 Thread Dave Brondsema
Sorry I missed this thread earlier, and just noticed the pointer to it in a mail
today.  (Being already subscribed to the list, the extra CC to get my attention
didn't work, maybe I need to adjust some of my filters).

I'll look into this tomorrow.

BTW, filing a ticket at https://sourceforge.net/support is an option too, if
I've missed something on the list that needs attention.

On 3/12/18 1:44 PM, Matthias Seidel wrote:
> Does anyone else have administrative access to that site?
> 
> https://sourceforge.net/projects/aoo-extensions/
> 
> New extensions still can't be downloaded...
> 
> Regards,
> 
>    Matthias
> 
> 
> Am 06.03.2018 um 16:49 schrieb Matthias Seidel:
>> Hi Dave,
>>
>> Can you please have a look?
>> This is not only Marco's dictionary, but also some others listed on
>> Twitter [1] during the last days.
>>
>> Regards,
>>    Matthias
>>
>> [1] https://twitter.com/aooextensions
>>
>>
>> Am 06.03.2018 um 16:31 schrieb Matthias Seidel:
>>> I get "The "/17102/39/dict-en-20..dict-en-20180301.oxt" file could not
>>> be found or is not available. Please select another file."
>>>
>>> Download folder "/39" simply isn't there or it is invisible.
>>>
>>> Regards,
>>>
>>>    Matthias
>>>
>>>
>>> Am 05.03.2018 um 17:42 schrieb Rory O'Farrell:
 On Mon, 5 Mar 2018 16:37:52 +
 "Marco A.G.Pinto"  wrote:

> Hello!
>
> As usual, I have updated the English Dictionaries, and it gives an error
> while attempting to download.
>
> Could someone take a look at the issue?:
> http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice
>
> Thank you!
>
> Kind regards,
>    >Marco A.G.Pinto
>  --
 For the record, the error is "502 Bad gateway" (just now tried).


> 



-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
  <><

-
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-14 Thread Andrea Pescetti

Damjan Jovanovic wrote:

GStreamer 1.0.0 requires glib 2.32.0.


CentOS 6 ships with glib (package name: glib2) 2.28 as per
http://mirror.centos.org/centos/6/os/x86_64/Packages/

So this is indeed an issue: we would need a distribution that ships with 
glib >= 2.32 (without considering other possible dependencies at the 
moment) to build.


On the other hand, we want something as old as possible since builds 
done with too recent versions of glibc (not to confuse with the above, 
and set at 2.12 in CentOS 6) won't work for users of old Linux-based 
systems.


Regards,
  Andrea.

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



Re: extension problem

2018-03-14 Thread Andrea Pescetti

Martin Groenescheij wrote:

I forward your mail to the developers list:

Error message from Sourceforge: The 
"/17102/39/dict-en-20..dict-en-20180301.oxt" file could not be found or 
is not available. Please select another file.


This has already been discussed, for example, here (link to dev list 
archives):

https://s.apache.org/xJi5

In short, the Extensions site is hosted at SourceForge. SourceForge 
changed their datacenter last month; the transition was quite painful, 
as you can see in the list of tweets they posted here 
https://twitter.com/sfnet_ops - and some bugs are probably still being 
ironed out. SourceForge employees monitor this list (the dev list) so 
this is the correct way to report issues.


Currently, downloads of recent releases of the extensions (not only the 
English dictionary, even if it is the most prominent) are broken. Old 
releases still work, as anybody can verify here:

https://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice

Regards,
  Andrea.

-
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-14 Thread Damjan Jovanovic
GStreamer 1.0.0 requires glib 2.32.0.

Regards
Damjan

On Wed, Mar 14, 2018 at 8:27 PM, Andrea Pescetti 
wrote:

> Jim Jagielski wrote:
>
>> Either we make gstreamer 1.0 an external download dependency,
>> so we can continue to build on CentOS6, or else we decide that
>> we switch to Ubuntu as our "official" build platform for our
>> community releases.
>>
>
> Can we define the problem better?
>
> I assume the gstreamer license hasn't changed. So the licensing issues
> holds the same whether we use 0.10 or 1.x.
>
> On CentOS 5 we used to install it in the system as described here:
> https://wiki.openoffice.org/wiki/Documentation/Building_Guid
> e_AOO/Step_by_step#CentOS_5_for_AOO_4.1.x
> (packages gstreamer-devel and gstreamer-plugins-base-devel)
>
> CentOS 6 indeed still ships with 0.10
> http://mirror.centos.org/centos/6/os/x86_64/Packages/
> and it seems that EPEL (a semi-official extra repository with additional
> packages) does not ship it either.
>
> The reason for using CentOS 6 is "we use a Linux system that is old enough
> for any user system to be the same or more recent"; this is to prevent
> glibc conflicts.
>
> So the real question is: does gstreamer 1.0 (or its dependencies) require
> a glibc version that is higher than 2.12 (as found in CentOS 6), or other
> dependencies that have the same problem? Otherwise we can probably look
> into building it.
>
> Regards,
>   Andrea.
>
>
> -
> 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-14 Thread Andrea Pescetti

Jim Jagielski wrote:

Either we make gstreamer 1.0 an external download dependency,
so we can continue to build on CentOS6, or else we decide that
we switch to Ubuntu as our "official" build platform for our
community releases.


Can we define the problem better?

I assume the gstreamer license hasn't changed. So the licensing issues 
holds the same whether we use 0.10 or 1.x.


On CentOS 5 we used to install it in the system as described here:
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#CentOS_5_for_AOO_4.1.x
(packages gstreamer-devel and gstreamer-plugins-base-devel)

CentOS 6 indeed still ships with 0.10
http://mirror.centos.org/centos/6/os/x86_64/Packages/
and it seems that EPEL (a semi-official extra repository with additional 
packages) does not ship it either.


The reason for using CentOS 6 is "we use a Linux system that is old 
enough for any user system to be the same or more recent"; this is to 
prevent glibc conflicts.


So the real question is: does gstreamer 1.0 (or its dependencies) 
require a glibc version that is higher than 2.12 (as found in CentOS 6), 
or other dependencies that have the same problem? Otherwise we can 
probably look into building it.


Regards,
  Andrea.

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



Re: gstreamer

2018-03-14 Thread Damjan Jovanovic
I thought the "external download dependency" you were talking about, meant
distribution of GStreamer with an AOO release, which is not allowed.

Building against GStreamer header files, and then only linking to the
GStreamer libraries on the end user's system, if present, sounds allowed
("Can Apache projects rely on components under prohibited licenses" on
https://www.apache.org/legal/resolved.html)



On Wed, Mar 14, 2018 at 7:22 PM, Jim Jagielski  wrote:

> All this was discussed in:
>
>  https://lists.apache.org/thread.html/83231a4ff938cdd14c19a01d4ae4f8
> d185ff7a94e0fc7d47a3b1b7f6@%3Cdev.openoffice.apache.org%3E
>
> I don't recall you bringing all this up there.
>
> > On Mar 14, 2018, at 12:03 PM, Damjan Jovanovic 
> wrote:
> >
> > Why? The licence for GStreamer is LGPL, which is Category X.
> >
> > Damjan
> >
> >
> > On Wed, Mar 14, 2018 at 4:25 PM, Jim Jagielski  wrote:
> >
> >> I think there was general consensus to make gstreamer
> >> a external download dependency. As of this date, this
> >> has not yet been folded in. Who can take point on that?
> >>
> >> -
> >> 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-14 Thread Jose R R
On Wed, Mar 14, 2018 at 10:30 AM, Jim Jagielski  wrote:
> Just a FYI that until we decide on this, 4.2.0-dev is in a holding
> pattern...
>
> Either we make gstreamer 1.0 an external download dependency,
> so we can continue to build on CentOS6, or else we decide that
> we switch to Ubuntu as our "official" build platform for our
> community releases.

Just FYI: Ubuntu drinks its source from upstream Debian pool, i.e.,
< https://packages.debian.org/stretch/libgstreamer1.0-dev >

Thus, assuming a 'switch', careful evaluate if a Debian 'meta-framework' --
as some have called it -- might be a better 'official' build platform for
AOO community releases.

Of course, just my *unsolicited* input.

>
>> On Mar 13, 2018, at 4:11 PM, Torokhov Sergey 
wrote:
>>
>> It's a great news!
>> I shall look forward to preliminary AOO 4.2.0 builds to test new
>> gstreamer-1.0 implementation.
>>
>> --
>> Sergey
>>
>>
>> On Fri, 2 Mar 2018 08:14:44 +0200
>> Damjan Jovanovic  wrote:
>>
>>> I finally cracked it. The gstreamer pipeline gets created early,
>>> during construction of the avmedia/source/gstreamer's Player object,
>>> yet the window to play in is only created later, when
>>> createPlayerWindow() is called. To use that window and thus embed
>>> video into the document, we have to set that window's handle to the
>>> GstVideoOverlay using gst_video_overlay_set_window_handle(), but by
>>> then it's too late. Either the pipeline creation would have to be
>>> deferred until createPlayerWindow(), when we know the window to use,
>>> or we would have to switch windows with
>>> gst_video_overlay_set_window_handle() a live pipeline. I've done the
>>> latter and it works well. I don't know how it ever worked before,
>>> maybe in gstreamer 0.1 the "prepare-window-handle" event is generated
>>> during createPlayerWindow() but in 1.0 it isn't.
>>>
>>> My changes have been committed to SVN trunk in revision 1825700.
>>>
>>> Torokhov, Jose, Peter: thank you for all your support. Please test and
>>> report any problems.
>>>
>>> Damjan
>>
[]


Best Professional Regards.

-- 
Jose R R
http://metztli.it
-
Download Metztli Reiser4: Debian Stretch w/ Linux 4.14 AMD64
-
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
---
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/


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

2018-03-14 Thread Rory O'Farrell
On Wed, 14 Mar 2018 13:30:06 -0400
Jim Jagielski  wrote:

> Just a FYI that until we decide on this, 4.2.0-dev is in a holding 
> pattern...
> 
> Either we make gstreamer 1.0 an external download dependency,
> so we can continue to build on CentOS6, or else we decide that
> we switch to Ubuntu as our "official" build platform for our
> community releases.

If gstreamer 1.0 was incorporated, how much larger would the compiled code be?

If builds moved to Ubuntu, a long-term support version should be chosen; 
support for LTS version is 5 years.  Ubuntu 18.04 will issue in April; 16.04 
will be supported until 2021.

Rory

> 
> > On Mar 13, 2018, at 4:11 PM, Torokhov Sergey  wrote:
> > 
> > It's a great news! 
> > I shall look forward to preliminary AOO 4.2.0 builds to test new
> > gstreamer-1.0 implementation.
> > 
> > --
> > Sergey
> > 
> > 
> > On Fri, 2 Mar 2018 08:14:44 +0200
> > Damjan Jovanovic  wrote:
> > 
> >> I finally cracked it. The gstreamer pipeline gets created early,
> >> during construction of the avmedia/source/gstreamer's Player object,
> >> yet the window to play in is only created later, when
> >> createPlayerWindow() is called. To use that window and thus embed
> >> video into the document, we have to set that window's handle to the
> >> GstVideoOverlay using gst_video_overlay_set_window_handle(), but by
> >> then it's too late. Either the pipeline creation would have to be
> >> deferred until createPlayerWindow(), when we know the window to use,
> >> or we would have to switch windows with
> >> gst_video_overlay_set_window_handle() a live pipeline. I've done the
> >> latter and it works well. I don't know how it ever worked before,
> >> maybe in gstreamer 0.1 the "prepare-window-handle" event is generated
> >> during createPlayerWindow() but in 1.0 it isn't.
> >> 
> >> My changes have been committed to SVN trunk in revision 1825700.
> >> 
> >> Torokhov, Jose, Peter: thank you for all your support. Please test and
> >> report any problems.
> >> 
> >> Damjan
> > 
> > 
> > 
> > 
> > 
> > -
> > 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
> 
> 


-- 
Rory O'Farrell 

-
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-14 Thread Jim Jagielski
Just a FYI that until we decide on this, 4.2.0-dev is in a holding 
pattern...

Either we make gstreamer 1.0 an external download dependency,
so we can continue to build on CentOS6, or else we decide that
we switch to Ubuntu as our "official" build platform for our
community releases.

> On Mar 13, 2018, at 4:11 PM, Torokhov Sergey  wrote:
> 
> It's a great news! 
> I shall look forward to preliminary AOO 4.2.0 builds to test new
> gstreamer-1.0 implementation.
> 
> --
> Sergey
> 
> 
> On Fri, 2 Mar 2018 08:14:44 +0200
> Damjan Jovanovic  wrote:
> 
>> I finally cracked it. The gstreamer pipeline gets created early,
>> during construction of the avmedia/source/gstreamer's Player object,
>> yet the window to play in is only created later, when
>> createPlayerWindow() is called. To use that window and thus embed
>> video into the document, we have to set that window's handle to the
>> GstVideoOverlay using gst_video_overlay_set_window_handle(), but by
>> then it's too late. Either the pipeline creation would have to be
>> deferred until createPlayerWindow(), when we know the window to use,
>> or we would have to switch windows with
>> gst_video_overlay_set_window_handle() a live pipeline. I've done the
>> latter and it works well. I don't know how it ever worked before,
>> maybe in gstreamer 0.1 the "prepare-window-handle" event is generated
>> during createPlayerWindow() but in 1.0 it isn't.
>> 
>> My changes have been committed to SVN trunk in revision 1825700.
>> 
>> Torokhov, Jose, Peter: thank you for all your support. Please test and
>> report any problems.
>> 
>> Damjan
> 
> 
> 
> 
> 
> -
> 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: gstreamer

2018-03-14 Thread Jim Jagielski
All this was discussed in:

 
https://lists.apache.org/thread.html/83231a4ff938cdd14c19a01d4ae4f8d185ff7a94e0fc7d47a3b1b7f6@%3Cdev.openoffice.apache.org%3E

I don't recall you bringing all this up there.

> On Mar 14, 2018, at 12:03 PM, Damjan Jovanovic  wrote:
> 
> Why? The licence for GStreamer is LGPL, which is Category X.
> 
> Damjan
> 
> 
> On Wed, Mar 14, 2018 at 4:25 PM, Jim Jagielski  wrote:
> 
>> I think there was general consensus to make gstreamer
>> a external download dependency. As of this date, this
>> has not yet been folded in. Who can take point on that?
>> 
>> -
>> 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: gstreamer

2018-03-14 Thread Damjan Jovanovic
Why? The licence for GStreamer is LGPL, which is Category X.

Damjan


On Wed, Mar 14, 2018 at 4:25 PM, Jim Jagielski  wrote:

> I think there was general consensus to make gstreamer
> a external download dependency. As of this date, this
> has not yet been folded in. Who can take point on that?
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


gstreamer

2018-03-14 Thread Jim Jagielski
I think there was general consensus to make gstreamer
a external download dependency. As of this date, this
has not yet been folded in. Who can take point on that?

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



Issue w/ lucene build/patch in trunk

2018-03-14 Thread Jim Jagielski
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

  
-   
-   



--- 23,30 
  Smart Chinese Analyzer

  
+   
+   





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



Re: Status on 4.2.0?

2018-03-14 Thread Jim Jagielski
I've gone ahead and make the AOO 4.2 Release Wiki page
for us to start working on it.

I propose to take HEAD of trunk and create a -dev developers
build for test and "review" by March 16th. I'll sign up for macOS
and Linux.

https://cwiki.apache.org/confluence/display/OOOUSERS/Apache+OpenOffice+4.2

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