Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2e4ab692
Kaydet (Commit)
2e4ab692
authored
Eki 28, 2012
tarafından
Peter Foley
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert hunspell to gbuild
Change-Id: I285292ca7f7252399c3898ca49f73727ab569fca
üst
0b79b4e4
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
159 additions
and
144 deletions
+159
-144
Makefile.top
Makefile.top
+1
-1
Module_tail_build.mk
Module_tail_build.mk
+1
-0
RepositoryExternal.mk
RepositoryExternal.mk
+1
-1
RepositoryModule_ooo.mk
RepositoryModule_ooo.mk
+1
-0
config_host.mk.in
config_host.mk.in
+1
-0
configure.ac
configure.ac
+2
-0
ExternalPackage_hunspell.mk
hunspell/ExternalPackage_hunspell.mk
+22
-0
ExternalProject_hunspell.mk
hunspell/ExternalProject_hunspell.mk
+28
-0
Makefile
hunspell/Makefile
+7
-0
Module_hunspell.mk
hunspell/Module_hunspell.mk
+28
-0
StaticLibrary_libhunspell.mk
hunspell/StaticLibrary_libhunspell.mk
+35
-0
UnpackedTarball_hunspell.mk
hunspell/UnpackedTarball_hunspell.mk
+30
-0
hunspell-static.patch
hunspell/hunspell-static.patch
+0
-11
hunspell-wntconfig.patch
hunspell/hunspell-wntconfig.patch
+0
-4
makefile.mk
hunspell/makefile.mk
+0
-119
d.lst
hunspell/prj/d.lst
+0
-6
dmake
hunspell/prj/dmake
+0
-0
ooo.lst.in
ooo.lst.in
+1
-1
build.lst
tail_build/prj/build.lst
+1
-1
No files found.
Makefile.top
Dosyayı görüntüle @
2e4ab692
...
...
@@ -88,6 +88,7 @@ freetype\
graphite
\
helpcompiler
\
hsqldb
\
hunspell
\
hwpfilter
\
i18npool
\
i18nutil
\
...
...
@@ -220,7 +221,6 @@ gdk-pixbuf\
gettext
\
glib
\
helpcontent2
\
hunspell
\
hyphen
\
icu
\
instsetoo_native
\
...
...
Module_tail_build.mk
Dosyayı görüntüle @
2e4ab692
...
...
@@ -79,6 +79,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
$(
call
gb_Helper_optional
,
GRAPHITE
,
graphite
)
\
$(
call
gb_Helper_optional
,
DESKTOP
,
helpcompiler
)
\
$(
call
gb_Helper_optional
,
HSQLDB
,
hsqldb
)
\
$(
call
gb_Helper_optional
,
HUNSPELL
,
hunspell
)
\
hwpfilter
\
i18npool
\
i18nutil
\
...
...
RepositoryExternal.mk
Dosyayı görüntüle @
2e4ab692
...
...
@@ -352,7 +352,7 @@ $(call gb_LinkTarget_add_defs,$(1),\
)
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
-I$(
OUTDIR)/inc/hunspell
\
-I$(
call gb_UnpackedTarball_get_dir,hunspell/src/hunspell)
\
)
$(call gb_LinkTarget_use_static_libraries,$(1),\
$(if $(filter MSC,$(COM)),libhunspell,hunspell-1.3) \
...
...
RepositoryModule_ooo.mk
Dosyayı görüntüle @
2e4ab692
...
...
@@ -85,6 +85,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
$(
call
gb_Helper_optional
,
GRAPHITE
,
graphite
)
\
$(
call
gb_Helper_optional
,
DESKTOP
,
helpcompiler
)
\
$(
call
gb_Helper_optional
,
HSQLDB
,
hsqldb
)
\
$(
call
gb_Helper_optional
,
HUNSPELL
,
hunspell
)
\
hwpfilter
\
i18npool
\
i18nutil
\
...
...
config_host.mk.in
Dosyayı görüntüle @
2e4ab692
...
...
@@ -264,6 +264,7 @@ export HOST_PLATFORM=@host@
export HSQLDB_JAR=@HSQLDB_JAR@
export HSQLDB_USE_JDBC_4_1=@HSQLDB_USE_JDBC_4_1@
export HUNART_EXTENSION_PACK=@HUNART_EXTENSION_PACK@
export HUNSPELL_TARBALL=@HUNSPELL_TARBALL@
export HUNSPELL_CFLAGS=@HUNSPELL_CFLAGS@
export HUNSPELL_LIBS=@HUNSPELL_LIBS@
export HYPHEN_LIB=@HYPHEN_LIB@
...
...
configure.ac
Dosyayı görüntüle @
2e4ab692
...
...
@@ -8840,9 +8840,11 @@ if test "$with_system_hunspell" = "yes"; then
else
AC_MSG_RESULT([internal])
SYSTEM_HUNSPELL=NO
HUNSPELL_TARBALL="3121aaf3e13e5d88dfff13fb4a5f1ab8-hunspell-1.3.2.tar.gz"
BUILD_TYPE="$BUILD_TYPE HUNSPELL"
fi
AC_SUBST(SYSTEM_HUNSPELL)
AC_SUBST(HUNSPELL_TARBALL)
AC_SUBST(HUNSPELL_CFLAGS)
AC_SUBST(HUNSPELL_LIBS)
AC_SUBST([MINGW_HUNSPELL_DLL])
...
...
hunspell/ExternalPackage_hunspell.mk
0 → 100644
Dosyayı görüntüle @
2e4ab692
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_ExternalPackage_ExternalPackage,hunspell,hunspell))
ifneq ($(COM),MSC)
$(eval $(call gb_ExternalPackage_use_external_project,hunspell,hunspell))
$(eval $(call gb_ExternalPackage_add_files,hunspell,lib,\
src/hunspell/.libs/libhunspell-1.3.a \
))
endif
# vim: set noet sw=4 ts=4:
hunspell/ExternalProject_hunspell.mk
0 → 100644
Dosyayı görüntüle @
2e4ab692
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_ExternalProject_ExternalProject,hunspell))
$(eval $(call gb_ExternalProject_use_unpacked,hunspell,hunspell))
$(eval $(call gb_ExternalProject_register_targets,hunspell,\
build \
))
$(call gb_ExternalProject_get_state_target,hunspell,build):
cd $(EXTERNAL_WORKDIR) \
&& ./configure --disable-shared --disable-nls --with-pic \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\
$(if $(filter AIX,$(OS)),CFLAGS="-D_LINUX_SOURCE_COMPAT") \
$(if $(filter C53,$(COM)),CFLAGS="-xc99=none") \
$(if $(filter-out WNTGCC,$(GUI)$(COM)),,LDFLAGS="-Wl,--enable-runtime-pseudo-reloc-v2") \
&& $(GNUMAKE) -j$(EXTMAXPROCESS) \
&& touch $@
# vim: set noet sw=4 ts=4:
hunspell/Makefile
0 → 100644
Dosyayı görüntüle @
2e4ab692
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory
:=
$
(
dir
$
(
realpath
$
(
firstword
$(MAKEFILE_LIST)
)))
include
$(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
hunspell/Module_hunspell.mk
0 → 100644
Dosyayı görüntüle @
2e4ab692
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,hunspell))
ifeq ($(SYSTEM_HUNSPELL),NO)
$(eval $(call gb_Module_add_targets,hunspell,\
UnpackedTarball_hunspell \
ExternalPackage_hunspell \
))
ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,hunspell,\
StaticLibrary_libhunspell \
))
else
$(eval $(call gb_Module_add_targets,hunspell,\
ExternalProject_hunspell \
))
endif
endif
# vim: set noet sw=4 ts=4:
hunspell/StaticLibrary_libhunspell.mk
0 → 100644
Dosyayı görüntüle @
2e4ab692
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_StaticLibrary_StaticLibrary,libhunspell))
$(eval $(call gb_StaticLibrary_use_unpacked,libhunspell,hunspell))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libhunspell))
$(eval $(call gb_StaticLibrary_add_defs,libhunspell,\
-DHUNSPELL_STATIC \
-DOPENOFFICEORG \
))
$(eval $(call gb_StaticLibrary_add_generated_cxxobjects,libhunspell,\
UnpackedTarball/hunspell/src/hunspell/affentry \
UnpackedTarball/hunspell/src/hunspell/affixmgr \
UnpackedTarball/hunspell/src/hunspell/dictmgr \
UnpackedTarball/hunspell/src/hunspell/csutil \
UnpackedTarball/hunspell/src/hunspell/hashmgr \
UnpackedTarball/hunspell/src/hunspell/suggestmgr \
UnpackedTarball/hunspell/src/hunspell/phonet \
UnpackedTarball/hunspell/src/hunspell/hunzip \
UnpackedTarball/hunspell/src/hunspell/filemgr \
UnpackedTarball/hunspell/src/hunspell/replist \
UnpackedTarball/hunspell/src/hunspell/hunspell \
))
# vim: set noet sw=4 ts=4:
hunspell/UnpackedTarball_hunspell.mk
0 → 100644
Dosyayı görüntüle @
2e4ab692
-*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UnpackedTarball_UnpackedTarball,hunspell))
$(eval $(call gb_UnpackedTarball_set_tarball,hunspell,$(HUNSPELL_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,hunspell,\
hunspell/hunspell-twoaffixcompound.patch \
hunspell/hunspell-solaris.patch \
hunspell/hunspell-1.3.2-overflow.patch \
hunspell/hunspell-android.patch \
hunspell/hunspell-1.3.2-nullptr.patch \
hunspell/hunspell-1.3.2-literal.patch \
hunspell/hunspell-1.3.2-compound.patch \
))
ifeq ($(COM),MSC)
$(eval $(call gb_UnpackedTarball_set_post_action,hunspell,\
touch src/hunspell/config.h \
))
endif
# vim: set noet sw=4 ts=4:
hunspell/hunspell-static.patch
deleted
100644 → 0
Dosyayı görüntüle @
0b79b4e4
--- misc/hunspell-1.3.2/src/hunspell/makefile.mk 2010-06-17 15:56:41.000000000 +0200
+++ misc/build/hunspell-1.3.2/src/hunspell/makefile.mk 2011-02-10 20:47:22.000000000 +0100
@@ -39,7 +39,7 @@
# --- Files --------------------------------------------------------
-CFLAGS+=-I..$/..$/
+CFLAGS+=-I..$/..$/ -DHUNSPELL_STATIC
CDEFS+=-DOPENOFFICEORG
SLOFILES= \
hunspell/hunspell-wntconfig.patch
deleted
100644 → 0
Dosyayı görüntüle @
0b79b4e4
--- misc/hunspell-1.3.2/config.h 2010-02-25 14:38:38.000000000 +0000
+++ misc/build/hunspell-1.3.2/config.h 2010-02-25 14:38:42.000000000 +0000
@@ -1 +0,0 @@
-dummy
hunspell/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
0b79b4e4
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ
=
.
PRJNAME
=
hunspell
TARGET
=
hunspell
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
# --- Files --------------------------------------------------------
TARFILE_NAME
=
hunspell-1.3.2
TARFILE_MD5
=
3121aaf3e13e5d88dfff13fb4a5f1ab8
ADDITIONAL_FILES
+=
config.h
# hunspell-1.3.2-nullptr.patch, hunspell-1.3.2-literal.patch: reported upstream
# as <https://sourceforge.net/tracker/?func=detail&aid=3557292&group_id=143754&
# atid=756395> "Some C++11 related fixes"
PATCH_FILES
=
\
hunspell-twoaffixcompound.patch
\
hunspell-static.patch
\
hunspell-wntconfig.patch
\
hunspell-solaris.patch
\
hunspell-1.3.2-overflow.patch
\
hunspell-android.patch
\
hunspell-1.3.2-nullptr.patch
\
hunspell-1.3.2-literal.patch
\
hunspell-1.3.2-compound.patch
.IF
"$(GUI)"
==
"UNX"
#relative to CONFIGURE_DIR
CONFIGURE_ACTION
=
$(AUGMENT_LIBRARY_PATH)
configure
CONFIGURE_FLAGS
=
--disable-shared
--disable-nls
--with-pic
.IF
"$(COMNAME)"
==
"sunpro5"
CONFIGURE_FLAGS
+=
CFLAGS
=
-xc99
=
none
.ENDIF
# "$(COMNAME)"=="sunpro5"
.IF
"$(OS)"
==
"AIX"
CONFIGURE_FLAGS
+=
CFLAGS
=
-D_LINUX_SOURCE_COMPAT
.ELIF
"$(OS)"
==
"MACOSX"
CONFIGURE_FLAGS
+=
\
--prefix
=
/@.__________________________________________________
$(EXTRPATH)
.END
.IF
"$(SYSBASE)"
!=
""
.IF
"$(EXTRA_CFLAGS)"
!=
""
CONFIGURE_FLAGS
+=
CFLAGS
=
"
$(EXTRA_CFLAGS)
"
CXXFLAGS
=
"
$(EXTRA_CFLAGS)
"
.ENDIF
# "$(EXTRA_CFLAGS)"!=""
.ELIF
"$(OS)"
==
"MACOSX"
# "$(SYSBASE)"!=""
CONFIGURE_FLAGS
+=
CPPFLAGS
=
"
$(EXTRA_CDEFS)
"
.ENDIF
.IF
"$(CROSS_COMPILING)"
==
"YES"
CONFIGURE_FLAGS
+=
--build
=
$(BUILD_PLATFORM)
--host
=
$(HOST_PLATFORM)
LIBS
=
"
$(STDLIBCUIMT)
"
CONFIGURE_FLAGS
:=
$
(
subst,CPPRUNTIME,
$(STDLIBCPP)
$(CONFIGURE_FLAGS)
)
.ENDIF
BUILD_ACTION
=
$(GNUMAKE)
-j
$(EXTMAXPROCESS)
OUT2LIB
=
$(BUILD_DIR)$/
src
$/
hunspell
$/
.libs
$/
libhunspell-1.3.a
.ENDIF
# "$(GUI)"=="UNX"
.IF
"$(GUI)"
==
"WNT"
.IF
"$(COM)"
==
"GCC"
CONFIGURE_ACTION
=
configure
CONFIGURE_FLAGS
=
--disable-shared
--disable-nls
--with-pic
LDFLAGS
=
-Wl
,--enable-runtime-pseudo-reloc-v2
.IF
"$(CROSS_COMPILING)"
==
"YES"
CONFIGURE_FLAGS
+=
--build
=
$(BUILD_PLATFORM)
--host
=
$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION
=
make
OUT2LIB
=
$(BUILD_DIR)$/
src
$/
hunspell
$/
.libs
$/
libhunspell-1.3.a
.ELSE
BUILD_ACTION
=
cd
src/hunspell
&&
dmake
.ENDIF
.ENDIF
# "$(GUI)"=="WNT"
OUT2INC
=
\
$(BUILD_DIR)$/
src
$/
hunspell
$/
*
.hxx
\
$(BUILD_DIR)$/
src
$/
hunspell
$/
*
.h
# --- Targets ------------------------------------------------------
.INCLUDE
:
set_ext.mk
.INCLUDE
:
target.mk
.INCLUDE
:
tg_ext.mk
hunspell/prj/d.lst
Dosyayı görüntüle @
2e4ab692
..\%__SRC%\lib\lib*.* %_DEST%\lib\lib*.*
..\%__SRC%\slb\libhunspell.lib %_DEST%\lib\libhunspell.lib
mkdir: %_DEST%\inc\hunspell
..\%__SRC%\inc\*.hxx %_DEST%\inc\hunspell\*.hxx
..\%__SRC%\inc\*.h %_DEST%\inc\hunspell\*.h
hunspell/prj/dmake
deleted
100644 → 0
Dosyayı görüntüle @
0b79b4e4
ooo.lst.in
Dosyayı görüntüle @
2e4ab692
...
...
@@ -37,7 +37,6 @@ a7d6c5f2fe2d481149ed3ba807b5c043-gdk-pixbuf-2.23.0.tar.gz
7c53f83e0327343f4060c0eb83842daf-icu4c-49_1_1-src.tgz
0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz
a0a861f539f0e7a91d05e6b9457e4db1-nss-3.13.5-with-nspr-4.9.1.tar.gz
3121aaf3e13e5d88dfff13fb4a5f1ab8-hunspell-1.3.2.tar.gz
861ef15fa0bc018f9ddc932c4ad8b6dd-lcms2-2.4.tar.gz
fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2
@AFMS_TARBALL@
...
...
@@ -62,6 +61,7 @@ fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2
@FREETYPE_TARBALL@
@GOOGLE_DOCS_EXTENSION_PACK@
@GRAPHITE_TARBALL@
@HUNSPELL_TARBALL@
@JFREEREPORT_FLOW_ENGINE_TARBALL@
@JFREEREPORT_FLUTE_TARBALL@
@JFREEREPORT_LIBBASE_TARBALL@
...
...
tail_build/prj/build.lst
Dosyayı görüntüle @
2e4ab692
tb tail_build : BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit CURL:curl EXPAT:expat GETTEXT:gettext GLIB:glib GDK_PIXBUF:gdk-pixbuf PANGO:pango LIBCROCO:libcroco LIBGSF:libgsf H
UNSPELL:hunspell H
YPHEN:hyphen ICU:icu JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland XPDF:xpdf ZLIB:zlib external solenv soltools NULL
tb tail_build : BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit CURL:curl EXPAT:expat GETTEXT:gettext GLIB:glib GDK_PIXBUF:gdk-pixbuf PANGO:pango LIBCROCO:libcroco LIBGSF:libgsf HYPHEN:hyphen ICU:icu JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland XPDF:xpdf ZLIB:zlib external solenv soltools NULL
tb tail_build\prj nmake - all tb_prj NULL
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment