sharp-binary-only: remove unused libs/utils for Zaurus
authorAndrea Adami <andrea.adami@gmail.com>
Wed, 20 Oct 2010 23:38:26 +0000 (01:38 +0200)
committerAndrea Adami <andrea.adami@gmail.com>
Wed, 20 Oct 2010 23:38:26 +0000 (01:38 +0200)
recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/aticore-2.6.patch [deleted file]
recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/fixstretchblit.patch [deleted file]
recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch [deleted file]
recipes/sharp-binary-only/sharp-aticore-oss_1.0.1.bb [deleted file]
recipes/sharp-binary-only/sharp-compat-libs/hentges.patch [deleted file]
recipes/sharp-binary-only/sharp-compat-libs/qt2310.patch [deleted file]
recipes/sharp-binary-only/sharp-compat-libs_0.5.bb [deleted file]
recipes/sharp-binary-only/sharp-flash-header-c700.bb [deleted file]
recipes/sharp-binary-only/sharp-flash-header-c700/header-c700.bin [deleted file]

diff --git a/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/aticore-2.6.patch b/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/aticore-2.6.patch
deleted file mode 100644 (file)
index 44b06c3..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-diff -U3 -N AtiCore-1.0.1.orig/Makefile AtiCore-1.0.1/Makefile
---- AtiCore-1.0.1.orig/Makefile        2005-04-05 09:39:23.926196896 +0000
-+++ AtiCore-1.0.1/Makefile     2005-04-05 09:58:18.009789984 +0000
-@@ -25,11 +25,13 @@
- LD = armv5tel-linux-ld
- endif
--ifndef $(ASFLAGS)
-+ifeq "$(FPU)" "soft"
-+ASFLAGS=-mfpu=softfpa -mcpu=xscale
-+else
- ASFLAGS=-mcpu=xscale
- endif
--OBJS  = aticore_0.o
-+OBJS  = aticore_0.o map.o
- OBJS += aticore_1.o aticore_2.o aticore_3.o aticore_4.o aticore_5.o aticore_6.o aticore_7.o aticore_8.o aticore_9.o
- # aticore_10.o
- OBJS += aticore_11.o aticore_12.o aticore_13.o aticore_14.o aticore_15.o aticore_16.o aticore_17.o aticore_18.o aticore_19.o aticore_20.o
-diff -U3 -N AtiCore-1.0.1.orig/aticore_1.s AtiCore-1.0.1/aticore_1.s
---- AtiCore-1.0.1.orig/aticore_1.s     2005-04-05 09:39:23.928196592 +0000
-+++ AtiCore-1.0.1/aticore_1.s  2005-04-05 10:05:35.745244080 +0000
-@@ -282,21 +282,6 @@
-               LDMDB   R11, {R4,R11,SP,PC}
- ;;;;;
--              .GLOBAL MapBar
--              .type   MapBar, %function
--MapBar:
--              MOV     R12, SP
--              STMFD   SP!, {R11,R12,LR,PC}
--              SUB     R11, R12, #4
--              MOV     R0, #0xF1000000
--              LDR     R3, =unk_41948C
--              SUB     SP, SP, #0x44
--              STR     R0, [R3]
--              B       .loc_34D228
--.loc_34D228:
--              LDMDB   R11, {R11,SP,PC}
--
--;;;;;
-               .GLOBAL UnMapBar
-               .type   UnMapBar, %function
- UnMapBar:
-diff -U3 -N AtiCore-1.0.1.orig/map.c AtiCore-1.0.1/map.c
---- AtiCore-1.0.1.orig/map.c   1970-01-01 00:00:00.000000000 +0000
-+++ AtiCore-1.0.1/map.c        2005-04-05 09:43:15.469996888 +0000
-@@ -0,0 +1,34 @@
-+#include <fcntl.h>
-+#include <sys/mman.h>
-+#include <unistd.h>
-+#include <stdio.h>
-+#include <sys/types.h>
-+
-+extern void *unk_41948C;
-+
-+void * MapBar(int Dev_Handle, int rp_unk1)
-+{
-+      int fd;
-+      void *ptr;
-+
-+      fd = open ("/dev/mem", O_RDWR | O_SYNC);
-+      if (fd < 0)
-+      {
-+              perror ("/dev/mem");
-+              exit (1);
-+      }
-+
-+      ptr = mmap (NULL, 0x01000000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0x08000000);
-+      if (ptr == NULL)
-+      {
-+              perror ("mmap");
-+              exit (1);
-+      }
-+
-+      printf("MapBar: %p\n",ptr);
-+
-+      unk_41948C = ptr;
-+
-+      return ptr;
-+}
-+
diff --git a/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/fixstretchblit.patch b/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/fixstretchblit.patch
deleted file mode 100644 (file)
index a89ab32..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-Index: AtiCore-1.0.1/aticore_2.s
-===================================================================
---- AtiCore-1.0.1.orig/aticore_2.s     2004-08-28 09:04:06.000000000 +0100
-+++ AtiCore-1.0.1/aticore_2.s  2005-07-04 21:56:48.000000000 +0100
-@@ -576,8 +576,6 @@
-               LDR     R3, [R11,#-0x2C]
-               STR     R3, [R2,#0x24C]
-               B       .loc_34DA00
--unk_432B14:   .WORD   0
--unk_432B10:   .WORD   0
- .loc_34D9F0:
-               MOV     R2, #1
-               LDR     R1, =0x1284
-Index: AtiCore-1.0.1/aticore_0.s
-===================================================================
---- AtiCore-1.0.1.orig/aticore_0.s     2004-08-28 08:47:01.000000000 +0100
-+++ AtiCore-1.0.1/aticore_0.s  2005-07-04 22:28:55.000000000 +0100
-@@ -14,6 +14,12 @@
-               .GLOBAL unk_41948C
- unk_41948C:   .WORD   0
-               .ALIGN  4
-+              .GLOBAL unk_432B14              
-+unk_432B14:   .WORD   0
-+              .ALIGN  4
-+              .GLOBAL unk_432B10
-+unk_432B10:   .WORD   0
-+              .ALIGN  4
-               .GLOBAL aErrSomeoneCall
- aErrSomeoneCall: .ASCII       "Err:: someone called QL_Bar_Read!\000"
-               .ALIGN  4
diff --git a/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch b/recipes/sharp-binary-only/sharp-aticore-oss-1.0.1/make381.patch
deleted file mode 100644 (file)
index 7aafb7f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: AtiCore-1.0.1/Makefile
-===================================================================
---- AtiCore-1.0.1.orig/Makefile        2006-03-16 12:58:58.000000000 +0100
-+++ AtiCore-1.0.1/Makefile     2006-03-16 13:06:00.000000000 +0100
-@@ -9,22 +9,6 @@
- all:  $(TARGETSHAREDLIB) testcore atitest
--ifndef $(CC)
--CC = armv5tel-linux-gcc
--endif
--ifndef $(AS)
--AS = armv5tel-linux-as
--endif
--ifndef $(AR)
--AR = armv5tel-linux-ar
--endif
--ifndef $(RANLIB)
--RANLIB = armv5tel-linux-ranlib
--endif
--ifndef $(LD)
--LD = armv5tel-linux-ld
--endif
--
- ifeq "$(FPU)" "soft"
- ASFLAGS=-mfpu=softfpa -mcpu=xscale
- else
diff --git a/recipes/sharp-binary-only/sharp-aticore-oss_1.0.1.bb b/recipes/sharp-binary-only/sharp-aticore-oss_1.0.1.bb
deleted file mode 100644 (file)
index c918289..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
-SECTION = "libs"
-PRIORITY = "optional"
-LICENSE = "CLOSED"
-PR = "r4"
-
-SRC_URI = "http://mirror1.pdaxrom.org/source/src/AtiCore-1.0.1.tar.bz2 \
-               file://fixstretchblit.patch \
-               file://aticore-2.6.patch \
-               file://make381.patch"
-S = "${WORKDIR}/AtiCore-1.0.1"
-
-EXTRA_OEMAKE="CC='${CC}' AS='${AS}' AR='${AR}' LD='${LD}' FPU='${TARGET_FPU}'"
-
-PARALLEL_MAKE = ""
-COMPATIBLE_MACHINE = 'c7x0'
-
-do_install() {
-       install -d ${D}${bindir}
-       install -m 0755 testcore ${D}${bindir}/testcore
-       install -m 0755 atitest ${D}${bindir}/atitest
-
-       install -d ${D}${libdir}
-       install -m 0755 libaticore.so.1.0.1 ${D}${libdir}/libaticore.so.1.0.1
-
-       install -d ${D}${includedir}
-       install -m 0644 aticore.h ${D}${includedir}/aticore.h
-
-       cd ${D}${libdir}/
-       ln -s libaticore.so.1.0.1 libaticore.so.1
-        ln -s libaticore.so.1.0.1 libaticore.so.1.0
-        ln -s libaticore.so.1.0.1 libaticore.so
-}
-
-# Currently incompatible with the way sharp-aticore.bb stages.
-do_stage() {
-       install -m 0644 aticore.h ${STAGING_INCDIR}
-       oe_libinstall -so libaticore ${STAGING_LIBDIR}
-}
-
-PACKAGES =+ "sharp-aticore-oss-examples"
-FILES_sharp-aticore-oss-examples = "${bindir}"
-
-
-SRC_URI[md5sum] = "b3d00a755e3be599b714f1f552db2752"
-SRC_URI[sha256sum] = "8f9124bd76c378ae2a25b6b421ebb8f0a88069da697ac6c96943571d93af8b15"
diff --git a/recipes/sharp-binary-only/sharp-compat-libs/hentges.patch b/recipes/sharp-binary-only/sharp-compat-libs/hentges.patch
deleted file mode 100644 (file)
index 2b263fc..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
---- oz-compat-0.5/opt/QtPalmtop.compat/bin/makecompat.orig     2004-11-30 18:51:45.000000000 +0100
-+++ oz-compat-0.5//opt/QtPalmtop.compat/bin/makecompat 2004-11-30 18:44:29.000000000 +0100
-@@ -1,8 +1,10 @@
- #! /bin/sh
-+export PATH="$PATH:/opt/QtPalmtop/bin"
-+
- OPIE_SH=/opt/QtPalmtop/bin/opie-sh
- OPIE_DIR=/opt/QtPalmtop
--OPIE_COMPAT=runcompat
-+OPIE_COMPAT=/opt/QtPalmtop/bin/runcompat
- OPIE_TMP=/tmp
- about() {
-@@ -31,6 +33,10 @@
- }
- ask_list() {
-+
-+        rm $OPIE_TMP/mc.names
-+      rm $OPIE_TMP/mc.map
-+               
-       # Figure out which app groups are
-       GROUP=`ls $OPIE_DIR/apps \
-               | grep -v Setting \
-@@ -38,39 +44,55 @@
-               | $OPIE_SH -g -i -M "Select which group" -l -F \
-               | sed -e"s/Pim/1Pim/g"`
-+      echo -e "\n\n---------- DEBUGGING OUTPUT ----------\n"
-+
-       for i in $OPIE_DIR/apps/$GROUP/*.desktop ; do
-               # Extract the name and what is run
--              EXEC=`grep "Exec=" $i | sed -e"s/.*=//g`
--              NAME=`grep "Name=" $i | sed -e"s/.*=//g`
-+              EXEC="`egrep "Exec.*=" $i | sed -e "s/.*=//g"| sed "s/^\ //"`"
-+              NAME="`egrep "Name.*=" $i | head -1 | sed -e "s/.*=//g"| sed "s/^\ //"`"
-               # Where is the file actually located?
-               # This doesnt handle spaces.
-               FOUND="false"
--              for j in `echo $PATH | sed -e"s/:/ /g"`; do
--                      if [ -x $j/$EXEC ]; then
-+              #echo -e "* * [$i] [$NAME] [$EXEC]\n\n"
-+              for j in `echo $PATH | sed -e "s/:/ /g"`; do
-+              #                     echo "* * * teste [$j]/$EXEC"
-+                      if [ -x "$j/$EXEC" ]; then
-                               EXEC="$j/$EXEC"
-                               FOUND="true"
-+                      #       echo "* * * * found $NAME"
-                               break
-                       fi
-               done
-               # Did we find the object?
-               if [ "$FOUND" = "false" ]; then
--                      echo "Could not find $EXEC in path"
-+                      echo -e "* * * * [$EXEC] not found in path"
-                       continue
-               fi
--              echo $NAME >> $OPIE_TMP/mc.names
--              echo $NAME=$EXEC >> $OPIE_TMP/mc.map
-+              echo "$NAME" >> $OPIE_TMP/mc.names
-+              echo "$NAME=$EXEC" >> $OPIE_TMP/mc.map
-       done
--
--      SELECTION=`cat $OPIE_TMP/mc.names | $OPIE_SH -g -i -M "Select which application" -l -F`
-+      
-+      echo -e "\n--------------------------------------\n\n"
-+                                         
-+      SELECTION=`cat $OPIE_TMP/mc.names | $OPIE_SH -g -i -M "Select which application" -l -F` 
-       LOCATION=`grep "$SELECTION" $OPIE_TMP/mc.map | sed -e"s/.*=//g"`
-       rm $OPIE_TMP/mc.names
-       rm $OPIE_TMP/mc.map
-+                        # User aborted
-+                       if test -z "$SELECTION"
-+                       then
-+                                echo "User aborted"
-+                                cleanup
-+                                exit 1
-+                       fi
-+
-+                      
-       return
- }
-@@ -112,7 +134,7 @@
- }
- is_compat() {
--      if [ "`ls -l \"$1\" | sed -e\"s/.*-> //g\"`" = "$OPIE_COMPAT" ]; then
-+      if [ "`ls -l \"$1\" | sed -e \"s/.*-> //g\"`" = "$OPIE_COMPAT" ]; then
-               echo "Is already linked to compat lib"
-               return 1
-       else
diff --git a/recipes/sharp-binary-only/sharp-compat-libs/qt2310.patch b/recipes/sharp-binary-only/sharp-compat-libs/qt2310.patch
deleted file mode 100644 (file)
index da61d1c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- oz-compat-0.5/opt/QtPalmtop.compat/bin/runcompat.orig      2005-02-11 14:12:00 +0100
-+++ oz-compat-0.5/opt/QtPalmtop.compat/bin/runcompat   2005-02-11 15:17:50 +0100
-@@ -5,6 +5,10 @@
- echo $0
-+if [ ! -e "/tmp/qtembedded-root/QtEmbedded-0" ] ; then
-+      ln -sf /tmp/qtembedded-0/QtEmbedded-0 /tmp/qtembedded-root/QtEmbedded-0
-+fi
-+
- PROG=`basename $0`
- if [ "$PROG" != "runcompat" ]; then
diff --git a/recipes/sharp-binary-only/sharp-compat-libs_0.5.bb b/recipes/sharp-binary-only/sharp-compat-libs_0.5.bb
deleted file mode 100644 (file)
index 21234e6..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-DESCRIPTION = "Allows applications compiled with 2.95 to run on a 3.x compiled \
-system by providing 2.95 libraries. To run compatible programs, use the Compat \
-Library program in the Settings menu to make them use these libraries."
-SECTION = "opie/settings"
-PRIORITY = "optional"
-DEPENDS = "opie-sh"
-RDEPENDS_${PN} = "opie-sh"
-RPROVIDES_${PN} = "oz-compat"
-RCONFLICTS_${PN} = "oz-compat"
-LICENSE = "GPL"
-PR = "r3"
-
-EXCLUDE_FROM_SHLIBS = "1"
-COMPATIBLE_HOST = "arm.*-linux"
-
-SRC_URI = "http://openzaurus.org/mirror/oz-compat_0.5.tar.gz \
-          file://hentges.patch \
-          file://qt2310.patch"
-
-S = "${WORKDIR}/oz-compat-0.5"
-
-inherit update-rc.d
-
-INITSCRIPT_NAME = "quickexec"
-INITSCRIPT_PARAMS = "defaults 10"
-
-do_install() {
-       install -d ${D}${palmtopdir}/apps/Settings
-       install -d ${D}${palmtopdir}/bin/
-       install -d ${D}${palmtopdir}/etc/
-       install -d ${D}${palmtopdir}/pics/
-
-       install -d ${D}/opt/QtPalmtop.compat/bin
-       install -d ${D}/opt/QtPalmtop.compat/binlib
-       install -d ${D}/opt/QtPalmtop.compat/lib
-
-       install -d ${D}${sysconfdir}/init.d
-
-       install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/apps/Settings/makecompat.desktop ${D}${palmtopdir}/apps/Settings
-       install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/etc/quickexec.libs ${D}${palmtopdir}/etc/quickexec.libs
-       install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/pics/libraries.png ${D}${palmtopdir}/pics/libraries.png
-
-       install -m 0755 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop.compat/bin/* ${D}/opt/QtPalmtop.compat/bin
-       install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop.compat/lib/* ${D}/opt/QtPalmtop.compat/lib
-
-       install -m 0755 ${WORKDIR}/oz-compat-0.5/etc/init.d/quickexec ${D}${sysconfdir}/init.d
-
-       cd ${D}${palmtopdir}/bin
-       for file in chkhinge makecompat qeserver quickexec runcompat
-       do
-               ln -s /opt/QtPalmtop.compat/bin/$file
-       done
-
-       cd ${D}/opt/QtPalmtop.compat/lib
-       ln -s libqpe.so.1.5.0 libqpe.so.1.5
-       ln -s libqpe.so.1.5.0 libqpe.so.1
-       ln -s libqpe.so.1.5.0 libqpe.so
-
-       ln -s libqte.so.2.3.7 libqte.so.2.3.2
-       ln -s libqte.so.2.3.7 libqte.so.2.3
-       ln -s libqte.so.2.3.7 libqte.so.2
-       ln -s libqte.so.2.3.7 libqte.so
-
-
-}
-
-pkg_postinst() {
-test -n "$D" && exit 1
-
-# needed for update-rc.d
-test -e /media/card/etc/init.d/quickexec && ln -s /media/card/etc/init.d/quickexec /etc/init.d/quickexec
-test -e /media/cf/etc/init.d/quickexec && ln -s /media/cf/etc/init.d/quickexec /etc/init.d/quickexec
-test -e /media/ram/etc/init.d/quickexec && ln -s /media/ram/etc/init.d/quickexec /etc/init.d/quickexec
-}
-
-pkg_postrm() {
-       test -e /etc/init.d/quickexec && rm /etc/init.d/quickexec
-}
-
-FILES_${PN} += "/opt /etc"
-LEAD_SONAME = "libqte.so.*"
-
-SRC_URI[md5sum] = "0005d4068b2227e26f4583c1a7415e97"
-SRC_URI[sha256sum] = "8db9b3948c607315f0ba0df61b32f747bec5479c38051d3e0e55b31b82c81af5"
diff --git a/recipes/sharp-binary-only/sharp-flash-header-c700.bb b/recipes/sharp-binary-only/sharp-flash-header-c700.bb
deleted file mode 100644 (file)
index 09bb98c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-SECTION = "base"
-SRC_URI = "file://header-c700.bin"
-LICENSE = "sharp-binary-only"
-COMPATIBLE_MACHINE = '(c7x0|spitz|akita)'
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-do_stage() {
-       install -d ${STAGING_LIBDIR}/sharp-flash-header
-       install -m 0644 ${WORKDIR}/header-c700.bin ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin
-}
diff --git a/recipes/sharp-binary-only/sharp-flash-header-c700/header-c700.bin b/recipes/sharp-binary-only/sharp-flash-header-c700/header-c700.bin
deleted file mode 100644 (file)
index d2328b0..0000000
Binary files a/recipes/sharp-binary-only/sharp-flash-header-c700/header-c700.bin and /dev/null differ