Re: Help with updating types.rdb

2012-12-13 Thread Lionel Elie Mamane
On Wed, Dec 12, 2012 at 01:12:03PM -0500, Kohei Yoshida wrote:

 I'm trying to unpublish several UNO API as discussed in ESC meeting.
 I've done unpublishing but am struggling with updating the
 types.rdb.

 I'm running

 make cmd cmd='./types_reference/update-rdb.sh
 com/sun/star/sheet/DataPilotSource.idl (...)
 inside offapi directory, and I'm getting
 
 make: *** No rule to make target `cmd'.  Stop.

Running from the top-level directory seems to do *something* at least :)

$ make cmd cmd='./offapi/type_reference/update-rdb.sh
com/sun/star/sheet/DataPilotSource.idl'
make -r -f
/home/master/src/libreoffice/workdirs/libreoffice-4.0/Makefile.top cmd
make[1]: Entering directory
`/home/master/src/libreoffice/workdirs/libreoffice-4.0'
echo custom cmd  ( ./offapi/type_reference/update-rdb.sh 
com/sun/star/sheet/DataPilotSource.idl )
custom cmd
sanity check diff:
1c1
 Registry 
file:///home/master/src/libreoffice/workdirs/libreoffice-4.0/offapi/type_reference/types.rdb:
---
 Registry 
 file:///home/master/src/libreoffice/workdirs/libreoffice-4.0/tmp/out2.rdb:
make[1]: Leaving 
directory`/home/master/src/libreoffice/workdirs/libreoffice-4.0'


-- 
Lionel
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help with updating types.rdb

2012-12-13 Thread Stephan Bergmann

On 12/13/2012 09:41 AM, Lionel Elie Mamane wrote:

On Wed, Dec 12, 2012 at 01:12:03PM -0500, Kohei Yoshida wrote:

I'm trying to unpublish several UNO API as discussed in ESC meeting.
I've done unpublishing but am struggling with updating the
types.rdb.



I'm running



make cmd cmd='./types_reference/update-rdb.sh
com/sun/star/sheet/DataPilotSource.idl (...)
inside offapi directory, and I'm getting

make: *** No rule to make target `cmd'.  Stop.


Running from the top-level directory seems to do *something* at least :)


What's still missing is to adapt the path to the .idl file (i.e., add an 
offapi/ prefix).  regmerge (even in verbose mode) unfortunately did 
not fail for input files that do not exist; that's changed now with 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=53fbd30b3cd6465251b1b07f4728813d524fcd82 
Make registry's mergeKey fail if it cannot process regFileName.


Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help with updating types.rdb

2012-12-13 Thread Stephan Bergmann

On 12/12/2012 07:12 PM, Kohei Yoshida wrote:

I'm trying to unpublish several UNO API as discussed in ESC meeting.
I've done unpublishing but am struggling with updating the types.rdb.

[...]

Help appreciated.


Seeing that 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0315ef5bbc168896b1d7d8ac5c1657f861fa6a93 
API CHANGE: unpublish Data Pilot interfaces contains changes to 
offapi/type_reference/types.rdb that amount to removing the published 
flag from certain interfaces and services, I assume that you managed to 
get that done after all?


Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Help with updating types.rdb

2012-12-13 Thread Kohei Yoshida

On 12/13/2012 05:15 AM, Stephan Bergmann wrote:

On 12/12/2012 07:12 PM, Kohei Yoshida wrote:

I'm trying to unpublish several UNO API as discussed in ESC meeting.
I've done unpublishing but am struggling with updating the types.rdb.

[...]

Help appreciated.


Seeing that 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0315ef5bbc168896b1d7d8ac5c1657f861fa6a93
API CHANGE: unpublish Data Pilot interfaces contains changes to
offapi/type_reference/types.rdb that amount to removing the published
flag from certain interfaces and services, I assume that you managed to
get that done after all?


Well, in the end Michael Stahl picked it up for me (the types.rdb part). 
 I remained unsuccessful until the end.


Kohei

--
Kohei Yoshida, LibreOffice hacker, Calc
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Help with updating types.rdb

2012-12-12 Thread Kohei Yoshida

Hi,

I'm trying to unpublish several UNO API as discussed in ESC meeting.  
I've done unpublishing but am struggling with updating the types.rdb.


I'm running

make cmd cmd='./types_reference/update-rdb.sh 
com/sun/star/sheet/DataPilotSource.idl 
com/sun/star/sheet/DataPilotSourceDimension.idl 
com/sun/star/sheet/DataPilotSourceDimensions.idl 
com/sun/star/sheet/DataPilotSourceHierarchies.idl 
com/sun/star/sheet/DataPilotSourceHierarchy.idl 
com/sun/star/sheet/DataPilotSourceLevel.idl 
com/sun/star/sheet/DataPilotSourceLevels.idl 
com/sun/star/sheet/DataPilotSourceMember.idl 
com/sun/star/sheet/DataPilotSourceMembers.idl 
com/sun/star/sheet/XDataPilotMemberResults.idl 
com/sun/star/sheet/XDataPilotResults.idl 
com/sun/star/sheet/XDimensionsSupplier.idl 
com/sun/star/sheet/XHierarchiesSupplier.idl 
com/sun/star/sheet/XLevelsSupplier.idl 
com/sun/star/sheet/XMembersSupplier.idl'


inside offapi directory, and I'm getting

make: *** No rule to make target `cmd'.  Stop.

Help appreciated.

In case of interest, the attached is the full diff of what I'd like to 
commit (modulo types.rdb change)


Kohei

--
Kohei Yoshida, LibreOffice hacker, Calc

diff --git a/offapi/com/sun/star/sheet/DataPilotSource.idl b/offapi/com/sun/star/sheet/DataPilotSource.idl
index 0aabeff..920c17d 100644
--- a/offapi/com/sun/star/sheet/DataPilotSource.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSource.idl
@@ -34,7 +34,7 @@ module com {  module sun {  module star {  module sheet {
 pA component that implements this service can be used as data source
 for a data pilot table in a spreadsheet document./p
  */
-published service DataPilotSource
+service DataPilotSource
 {
 
 /** provides access to the collection of the dimensions of the data
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl b/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
index e2c846b..f26c421 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
@@ -49,7 +49,7 @@
 @see com::sun::star::sheet::DataPilotSource
 @see com::sun::star::sheet::DataPilotTable
  */
-published service DataPilotSourceDimension
+service DataPilotSourceDimension
 {
 
 /** provides access to the name of the dimension, i.e. used in
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl b/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl
index 3d634d3..f9fc475 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl
@@ -30,7 +30,7 @@ module com {  module sun {  module star {  module sheet {
 
 @see com::sun::star::sheet::DataPilotSource
  */
-published service DataPilotSourceDimensions
+service DataPilotSourceDimensions
 {
 
 /** provides access by name to the dimensions in the collection.
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl b/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl
index 1fbd6e6..9e2701a 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl
@@ -32,7 +32,7 @@ module com {  module sun {  module star {  module sheet {
 @see com::sun::star::sheet::DataPilotSourceDimension
 @see com::sun::star::sheet::DataPilotSource
  */
-published service DataPilotSourceHierarchies
+service DataPilotSourceHierarchies
 {
 
 /** provides access by name to the hierarchies in the collection.
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl b/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl
index 2d43318..43d8788 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl
@@ -32,7 +32,7 @@ module com {  module sun {  module star {  module sheet {
 @see com::sun::star::sheet::DataPilotSourceDimension
 @see com::sun::star::sheet::DataPilotSource
  */
-published service DataPilotSourceHierarchy
+service DataPilotSourceHierarchy
 {
 
 /** provides access to the name of the hierarchy, i.e. used in
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl b/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl
index 11d4fea..d7fb274 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl
@@ -35,7 +35,7 @@
 @see com::sun::star::sheet::DataPilotSourceHierarchy
 @see com::sun::star::sheet::DataPilotSource
  */
-published service DataPilotSourceLevel
+service DataPilotSourceLevel
 {
 
 /** provides access to the name of the level, i.e. used in collections.
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl b/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl
index 11d712a..e81c46b 100644
--- a/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl
+++ b/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl
@@ -31,7 +31,7 @@ module com {  module sun {  module star {  module sheet {

Re: Help with updating types.rdb

2012-12-12 Thread Kohei Yoshida

On 12/12/2012 01:12 PM, Kohei Yoshida wrote:


Help appreciated.


Or, if someone with more clue than I is willing to do the change for me, 
I would be more than grateful.


Kohei

--
Kohei Yoshida, LibreOffice hacker, Calc
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice