# HG changeset patch # User Pascal Bellard # Date 1491145015 -7200 # Node ID b06deec67841c409f40b0a1b012dbb7cd57d1f0f # Parent 264def5cb7fe326793f8619a2ce91ad5c3a382ce Add obexd & obexftp diff -r 264def5cb7fe -r b06deec67841 linld/stuff/src/MEMTOP.ASM --- a/linld/stuff/src/MEMTOP.ASM Fri Mar 31 21:07:45 2017 +0200 +++ b/linld/stuff/src/MEMTOP.ASM Sun Apr 02 16:56:55 2017 +0200 @@ -54,7 +54,8 @@ test dx,dx ; memory in AX/BX rather than jnz @@use_cxdx ; CX/DX. The spec I have read @@use_axbx: mov dx,bx ; seems to indicate AX/BX - jmp @@end_kludge ; are more reasonable anyway... + ;jmp @@end_kludge ; are more reasonable anyway... + db 0a8h ; test al,im opcode @@use_cxdx: xchg ax,cx @@end_kludge: ;now: dx=64k units above 16m ; ax=1k units above 1m below 16m (max 3c00h) @@ -84,7 +85,17 @@ @@ok: ; xor dx,dx test ax,ax ;happens on big mem systems - jz @@fail + jnz tokb + +;*************************************************************** +;u32 memtop_cmos() +;*************************************************************** + +;memtop_cmos: + pushf + cli + call rdcmos17 + popf tokb: xor dx,dx add ah,4h ;account for 1024 low kb @@ -105,24 +116,13 @@ ret ; endp _memtop_88 -@@fail: - ; proc _memtopz near ; call _memtop_e801 ; jnz @@ok ; call _memtop_88 ; jnz @@ok - -;*************************************************************** -;u32 memtop_cmos() -;*************************************************************** - - pushf - cli - call rdcmos17 - popf - jmp tokb +; jmp memtop_cmos rdcmos17: mov al,18h ; read bytes 17-18 from CMOS call @@rdcmos diff -r 264def5cb7fe -r b06deec67841 obexd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obexd/receipt Sun Apr 02 16:56:55 2017 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="obexd" +VERSION="0.48" +CATEGORY="network" +SHORT_DESC="OBEX Server and Client." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.bluez.org/" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL" + +DEPENDS="bluez libusb libical glib dbus" +BUILD_DEPENDS="wget bluez-dev libusb-dev libical-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --libexecdir=/usr/bin \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr +} diff -r 264def5cb7fe -r b06deec67841 obexftp-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obexftp-dev/receipt Sun Apr 02 16:56:55 2017 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="obexftp-dev" +VERSION="0.24.2" +CATEGORY="development" +SHORT_DESC="OBEX Server and Client, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://triq.net/obex/" +WANTED="obexftp" + +DEPENDS="obexftp pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 264def5cb7fe -r b06deec67841 obexftp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obexftp/receipt Sun Apr 02 16:56:55 2017 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="obexftp" +VERSION="0.24.2" +CATEGORY="network" +SHORT_DESC="OBEX Server and Client." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://triq.net/obex/" +TARBALL="$PACKAGE-$VERSION-Source.tar.gz" +WGET_URL="$SF_MIRROR/openobex/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="bluez openobex fuse expat" +BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so $fs/usr/lib + cp -a $install/usr/bin $fs/usr +} diff -r 264def5cb7fe -r b06deec67841 openobex-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openobex-dev/receipt Sun Apr 02 16:56:55 2017 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="openobex-dev" +VERSION="1.7.1" +CATEGORY="development" +SHORT_DESC="Object Exchange (OBEX) protocol, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.openobex.org" +WANTED="openobex" + +DEPENDS="openobex pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/cmake $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 264def5cb7fe -r b06deec67841 openobex/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openobex/receipt Sun Apr 02 16:56:55 2017 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="openobex" +VERSION="1.7.1" +CATEGORY="network" +SHORT_DESC="Object Exchange (OBEX) protocol." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.openobex.org" +#WEB_SITE="http://dev.zuckschwerdt.org/openobex/wiki/" +TARBALL="$PACKAGE-$VERSION-Source.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="libusb bluez" +BUILD_DEPENDS="cmake libusb-dev bluez-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make && make openobex-apps && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/lib $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}