[PATCH] fdo#60949: Move more libs to OOOLIBS

Marcos Souza (via Code Review) gerrit at gerrit.libreoffice.org
Fri Apr 19 09:37:10 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3484

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/84/3484/1

fdo#60949: Move more libs to OOOLIBS

Change-Id: I566602028556aa954bcbd116c375b9b61cc3df6f
---
M Repository.mk
M scp2/source/ooo/file_library_ooo.scp
2 files changed, 20 insertions(+), 110 deletions(-)



diff --git a/Repository.mk b/Repository.mk
index 22e03be..314ca61d 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -559,10 +559,20 @@
 ))
 
 $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
+    basprov \
     cairocanvas \
+    dlgprov \
+    expwrap \
+    fastsax \
+    i18nsearch \
+    ldapbe2 \
+    migrationoo2 \
+    migrationoo3 \
     msforms \
     mtfrenderer \
     OGLTrans \
+    slideshow \
+    stringresource \
     vbaevents \
     vbaobj \
     vbaswobj \
@@ -578,27 +588,19 @@
 ))
 $(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
     PresenterScreen \
-    basprov \
     canvasfactory \
     cmdmail \
     directx5canvas \
     directx9canvas \
-    dlgprov \
-    expwrap \
-    fastsax \
     fpicker \
     fps_office \
     gconfbe1 \
     gdipluscanvas \
     hatchwindowfactory \
-    i18nsearch \
     kdebe1 \
     kde4be1 \
-    ldapbe2 \
     losessioninstall \
     macbe1 \
-    migrationoo2 \
-    migrationoo3 \
     nullcanvas \
     passwordcontainer \
     pdfimport \
@@ -606,8 +608,6 @@
     postgresql-sdbc \
     postgresql-sdbc-impl \
     simplecanvas \
-    slideshow \
-    stringresource \
     syssh \
     tdebe1 \
     ucpcmis1 \
diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp
index a993630..17f4668 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -44,16 +44,7 @@
 
 STD_LIB_FILE( gid_File_Lib_Sf_Prothdlr, protocolhandler )
 
-File gid_File_Lib_Basprov
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT3(basprov,.uno,UNXSUFFIX));
-  #else
-    Name = STRING(CONCAT3(basprov,.uno,.dll));
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Basprov, basprov )
 
 STD_LIB_FILE(gid_File_Lib_Vbaevent, vbaevents)
 
@@ -98,16 +89,7 @@
 End
 #endif
 
-File gid_File_Lib_Ldapbe2
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(ldapbe2.uno,UNXSUFFIX));
-  #else
-    Name = "ldapbe2.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Ldapbe2, ldapbe2 )
 
 #if defined _MSC_VER
 
@@ -275,27 +257,9 @@
 
 #ifndef DISABLE_SCRIPTING
 
-File gid_File_Lib_Dlgprov
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT3(dlgprov,.uno,UNXSUFFIX));
-  #else
-    Name = STRING(CONCAT3(dlgprov,.uno,.dll));
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Dlgprov, dlgprov )
 
-File gid_File_Lib_Stringresource
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT3(stringresource,.uno,UNXSUFFIX));
-  #else
-    Name = STRING(CONCAT3(stringresource,.uno,.dll));
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Stringresource, stringresource )
 
 STD_LIB_FILE(gid_File_Lib_Vbaobj, vbaobj)
 
@@ -532,16 +496,7 @@
 
 SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Hatchwindowfactory, hatchwindowfactory.uno )
 
-File gid_File_Lib_I18nsearch
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(i18nsearch.uno,UNXSUFFIX));
-  #else
-    Name = "i18nsearch.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_I18nsearch, i18nsearch )
 
 File gid_File_Lib_I18nisolang
   #ifdef UNX
@@ -893,27 +848,9 @@
     Dir = SCP2_OOO_BIN_DIR;
 End
 
-File gid_File_Lib_Expwrap_Uno
-    LIB_FILE_BODY;
-    Styles = (PACKED,DONT_OVERWRITE);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(expwrap.uno,UNXSUFFIX));
-  #else
-    Name = "expwrap.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Expwrap_Uno, expwrap )
 
-File gid_File_Lib_Fastsax_Uno
-    LIB_FILE_BODY;
-    Styles = (PACKED,DONT_OVERWRITE);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(fastsax.uno,UNXSUFFIX));
-  #else
-    Name = "fastsax.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Fastsax_Uno, fastsax )
 
 STD_LIB_FILE( gid_File_Lib_Oox , oox)
 
@@ -922,16 +859,7 @@
 STD_LIB_FILE( gid_File_Lib_Sd , sd)
 STD_LIB_FILE( gid_File_Lib_Sdui, sdui)
 
-File gid_File_Lib_Slideshow
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(slideshow.uno,UNXSUFFIX));
-  #else
-    Name = "slideshow.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Slideshow, slideshow )
 
 File gid_File_Lib_Sdbc_2
     LIB_FILE_BODY;
@@ -1234,27 +1162,9 @@
 #endif
 #endif
 
-File gid_File_Lib_Migrationoo2
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(migrationoo2.uno,UNXSUFFIX));
-  #else
-    Name = "migrationoo2.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Migrationoo2, migrationoo2 )
 
-File gid_File_Lib_Migrationoo3
-    LIB_FILE_BODY;
-    Styles = (PACKED);
-    Dir = SCP2_OOO_BIN_DIR;
-  #ifdef UNX
-    Name = STRING(CONCAT2(migrationoo3.uno,UNXSUFFIX));
-  #else
-    Name = "migrationoo3.uno.dll";
-  #endif
-End
+STD_LIB_FILE( gid_File_Lib_Migrationoo3, migrationoo3 )
 
 STD_LIB_FILE( gid_File_Lib_Guesslang, guesslang )
 

-- 
To view, visit https://gerrit.libreoffice.org/3484
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I566602028556aa954bcbd116c375b9b61cc3df6f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza <marcos.souza.org at gmail.com>



More information about the LibreOffice mailing list