From 69a255fd229218b722d82ad1314eb83cc2cb83bd Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Wed, 14 Jan 2009 01:41:57 +0000 Subject: [python-]sword: move to nonworking --- packages/nonworking/python/python-sword_1.5.10.bb | 32 ++++++++++++++++++++++ packages/nonworking/sword/gnomesword_2.1.2.bb | 11 ++++++++ .../sword/sword-1.5.9/gcc-visibility.patch | 26 ++++++++++++++++++ packages/nonworking/sword/sword_1.5.10.bb | 19 +++++++++++++ packages/nonworking/sword/sword_1.5.9.bb | 20 ++++++++++++++ packages/python/python-sword_1.5.10.bb | 32 ---------------------- packages/sword/gnomesword_2.1.2.bb | 11 -------- packages/sword/sword-1.5.9/gcc-visibility.patch | 26 ------------------ packages/sword/sword_1.5.10.bb | 19 ------------- packages/sword/sword_1.5.9.bb | 20 -------------- 10 files changed, 108 insertions(+), 108 deletions(-) create mode 100644 packages/nonworking/python/python-sword_1.5.10.bb create mode 100644 packages/nonworking/sword/gnomesword_2.1.2.bb create mode 100644 packages/nonworking/sword/sword-1.5.9/gcc-visibility.patch create mode 100644 packages/nonworking/sword/sword_1.5.10.bb create mode 100644 packages/nonworking/sword/sword_1.5.9.bb delete mode 100644 packages/python/python-sword_1.5.10.bb delete mode 100644 packages/sword/gnomesword_2.1.2.bb delete mode 100644 packages/sword/sword-1.5.9/gcc-visibility.patch delete mode 100644 packages/sword/sword_1.5.10.bb delete mode 100644 packages/sword/sword_1.5.9.bb diff --git a/packages/nonworking/python/python-sword_1.5.10.bb b/packages/nonworking/python/python-sword_1.5.10.bb new file mode 100644 index 0000000000..4769a8814f --- /dev/null +++ b/packages/nonworking/python/python-sword_1.5.10.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Python bindings for the sword library" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS = "python-core sword" +DEPENDS = "sword-${PV} swig-native" +SRCNAME = "sword" +PR = "r0" + +SRC_URI = "http://crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz" + +S = "${WORKDIR}/${SRCNAME}-${PV}/bindings/swig/package" + +EXTRA_OECONF = "--with-sword-dir=${STAGING_DIR_HOST}${layout_exec_prefix}" + +inherit distutils autotools + +PARALLEL_MAKE = "" + +do_configure_prepend() { + touch ltmain.sh + ./autogen.sh +} + +do_compile() { + oe_runmake BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} pythonswig python_make +} + +do_install() { + cd ${S}/python + distutils_do_install +} diff --git a/packages/nonworking/sword/gnomesword_2.1.2.bb b/packages/nonworking/sword/gnomesword_2.1.2.bb new file mode 100644 index 0000000000..a4ec60d040 --- /dev/null +++ b/packages/nonworking/sword/gnomesword_2.1.2.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "GUI frontend for sword" +HOMEPAGE = "http://gnomesword.sf.net" +LICENSE = "GPLv3" +DEPENDS = "gail libgnomeui gtkhtml-3.6 gail sword" + + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" + +inherit autotools pkgconfig + + diff --git a/packages/nonworking/sword/sword-1.5.9/gcc-visibility.patch b/packages/nonworking/sword/sword-1.5.9/gcc-visibility.patch new file mode 100644 index 0000000000..f23a66767f --- /dev/null +++ b/packages/nonworking/sword/sword-1.5.9/gcc-visibility.patch @@ -0,0 +1,26 @@ +diff --git a/include/rawtext.h b/include/rawtext.h +index 32986fe..1304bf7 100644 +--- a/include/rawtext.h ++++ b/include/rawtext.h +@@ -43,7 +43,7 @@ public: + virtual ~RawText(); + virtual SWBuf &getRawEntryBuf(); + virtual void increment(int steps = 1); +- virtual void decrement(int steps = 1) { increment(-steps); } ++ virtual __attribute__((visibility("default"))) void decrement(int steps = 1) { increment(-steps); } + virtual signed char createSearchFramework( + void (*percent) (char, void *) = &nullPercent, + void *percentUserData = 0); +diff --git a/include/versekey.h b/include/versekey.h +index 0ca5e47..53084d9 100644 +--- a/include/versekey.h ++++ b/include/versekey.h +@@ -253,7 +253,7 @@ public: + */ + virtual const char *getText() const; + virtual const char *getShortText() const; +- virtual void setText(const char *ikey) { SWKey::setText(ikey); parse (); } ++ virtual __attribute__((visibility("default"))) void setText(const char *ikey) { SWKey::setText(ikey); parse (); } + virtual void copyFrom(const SWKey &ikey); + + /** Equates this VerseKey to another VerseKey diff --git a/packages/nonworking/sword/sword_1.5.10.bb b/packages/nonworking/sword/sword_1.5.10.bb new file mode 100644 index 0000000000..151bba366d --- /dev/null +++ b/packages/nonworking/sword/sword_1.5.10.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "The SWORD Project is an open source, cross-platform \ +(Linux, Windows, Solaris, MacOSX etc.) API and library for \ +Bible software with a constantly growing list of front-ends \ +(GUI, textmode, web-based, etc.) and a library of over 200 text modules" +SECTION = "libs" +HOMEPAGE = "http://www.e-sword.net/" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz" + +inherit autotools pkgconfig lib_package + +EXTRA_OECONF = "--without-clucene --without-curl" + +do_stage() { + autotools_stage_all +} diff --git a/packages/nonworking/sword/sword_1.5.9.bb b/packages/nonworking/sword/sword_1.5.9.bb new file mode 100644 index 0000000000..303d7f9fcc --- /dev/null +++ b/packages/nonworking/sword/sword_1.5.9.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "The SWORD Project is an open source, cross-platform \ +(Linux, Windows, Solaris, MacOSX etc.) API and library for \ +Bible software with a constantly growing list of front-ends \ +(GUI, textmode, web-based, etc.) and a library of over 200 text modules" +SECTION = "libs" +HOMEPAGE = "http://www.e-sword.net/" +PRIORITY = "optional" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz \ + file://gcc-visibility.patch;patch=1" + +inherit autotools pkgconfig lib_package + +EXTRA_OECONF = "--without-clucene --without-curl" + +do_stage() { + autotools_stage_all +} diff --git a/packages/python/python-sword_1.5.10.bb b/packages/python/python-sword_1.5.10.bb deleted file mode 100644 index 4769a8814f..0000000000 --- a/packages/python/python-sword_1.5.10.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "Python bindings for the sword library" -SECTION = "devel/python" -PRIORITY = "optional" -LICENSE = "GPL" -RDEPENDS = "python-core sword" -DEPENDS = "sword-${PV} swig-native" -SRCNAME = "sword" -PR = "r0" - -SRC_URI = "http://crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz" - -S = "${WORKDIR}/${SRCNAME}-${PV}/bindings/swig/package" - -EXTRA_OECONF = "--with-sword-dir=${STAGING_DIR_HOST}${layout_exec_prefix}" - -inherit distutils autotools - -PARALLEL_MAKE = "" - -do_configure_prepend() { - touch ltmain.sh - ./autogen.sh -} - -do_compile() { - oe_runmake BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} pythonswig python_make -} - -do_install() { - cd ${S}/python - distutils_do_install -} diff --git a/packages/sword/gnomesword_2.1.2.bb b/packages/sword/gnomesword_2.1.2.bb deleted file mode 100644 index a4ec60d040..0000000000 --- a/packages/sword/gnomesword_2.1.2.bb +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "GUI frontend for sword" -HOMEPAGE = "http://gnomesword.sf.net" -LICENSE = "GPLv3" -DEPENDS = "gail libgnomeui gtkhtml-3.6 gail sword" - - -SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" - -inherit autotools pkgconfig - - diff --git a/packages/sword/sword-1.5.9/gcc-visibility.patch b/packages/sword/sword-1.5.9/gcc-visibility.patch deleted file mode 100644 index f23a66767f..0000000000 --- a/packages/sword/sword-1.5.9/gcc-visibility.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/include/rawtext.h b/include/rawtext.h -index 32986fe..1304bf7 100644 ---- a/include/rawtext.h -+++ b/include/rawtext.h -@@ -43,7 +43,7 @@ public: - virtual ~RawText(); - virtual SWBuf &getRawEntryBuf(); - virtual void increment(int steps = 1); -- virtual void decrement(int steps = 1) { increment(-steps); } -+ virtual __attribute__((visibility("default"))) void decrement(int steps = 1) { increment(-steps); } - virtual signed char createSearchFramework( - void (*percent) (char, void *) = &nullPercent, - void *percentUserData = 0); -diff --git a/include/versekey.h b/include/versekey.h -index 0ca5e47..53084d9 100644 ---- a/include/versekey.h -+++ b/include/versekey.h -@@ -253,7 +253,7 @@ public: - */ - virtual const char *getText() const; - virtual const char *getShortText() const; -- virtual void setText(const char *ikey) { SWKey::setText(ikey); parse (); } -+ virtual __attribute__((visibility("default"))) void setText(const char *ikey) { SWKey::setText(ikey); parse (); } - virtual void copyFrom(const SWKey &ikey); - - /** Equates this VerseKey to another VerseKey diff --git a/packages/sword/sword_1.5.10.bb b/packages/sword/sword_1.5.10.bb deleted file mode 100644 index 151bba366d..0000000000 --- a/packages/sword/sword_1.5.10.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "The SWORD Project is an open source, cross-platform \ -(Linux, Windows, Solaris, MacOSX etc.) API and library for \ -Bible software with a constantly growing list of front-ends \ -(GUI, textmode, web-based, etc.) and a library of over 200 text modules" -SECTION = "libs" -HOMEPAGE = "http://www.e-sword.net/" -PRIORITY = "optional" -LICENSE = "GPL" -PR = "r0" - -SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz" - -inherit autotools pkgconfig lib_package - -EXTRA_OECONF = "--without-clucene --without-curl" - -do_stage() { - autotools_stage_all -} diff --git a/packages/sword/sword_1.5.9.bb b/packages/sword/sword_1.5.9.bb deleted file mode 100644 index 303d7f9fcc..0000000000 --- a/packages/sword/sword_1.5.9.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "The SWORD Project is an open source, cross-platform \ -(Linux, Windows, Solaris, MacOSX etc.) API and library for \ -Bible software with a constantly growing list of front-ends \ -(GUI, textmode, web-based, etc.) and a library of over 200 text modules" -SECTION = "libs" -HOMEPAGE = "http://www.e-sword.net/" -PRIORITY = "optional" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz \ - file://gcc-visibility.patch;patch=1" - -inherit autotools pkgconfig lib_package - -EXTRA_OECONF = "--without-clucene --without-curl" - -do_stage() { - autotools_stage_all -} -- cgit v1.2.3