diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-01-14 01:41:57 +0000 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-01-14 01:41:57 +0000 |
commit | 69a255fd229218b722d82ad1314eb83cc2cb83bd (patch) | |
tree | 937e28f554a0f007ba8ac3c610ccd27b7b6093f6 /packages/nonworking | |
parent | ff220131472264146b9712efec29aa85596e8321 (diff) |
[python-]sword: move to nonworking
Diffstat (limited to 'packages/nonworking')
-rw-r--r-- | packages/nonworking/python/python-sword_1.5.10.bb | 32 | ||||
-rw-r--r-- | packages/nonworking/sword/gnomesword_2.1.2.bb | 11 | ||||
-rw-r--r-- | packages/nonworking/sword/sword-1.5.9/gcc-visibility.patch | 26 | ||||
-rw-r--r-- | packages/nonworking/sword/sword_1.5.10.bb | 19 | ||||
-rw-r--r-- | packages/nonworking/sword/sword_1.5.9.bb | 20 |
5 files changed, 108 insertions, 0 deletions
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 +} |