You are not logged in.

#1 2005-02-13 02:14:10

Virtual DarKness
Member
From: Italy
Registered: 2004-04-02
Posts: 32
Website

KDE Bluetooth Framework

update: see here for the the lastest version of the package.
---

This is my first package so it's like it's not gonna be perfect  :oops:
Anyway I hope it can be useful for you and if I did something wrong I'd appreciate your feedback smile

#Contributor: Giovanni Derks <virtualdarkness@gmail.com>
pkgname=kdebluetooth
pkgver=0.0.20050122
pkgrel=1
pkgdesc="KDE Bluetooth Framework"
url="http://kde-bluetooth.sourceforge.net/"
license="GPL"
depends=('openobex' 'bluez-utils' 'kdebase')
source=(http://gentoo.llarian.net/distfiles/$pkgname-$pkgver.tar.bz2)
md5sums=('a89236f682fa24d0d499018b1ab73759')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/kde
  make || return 1
  make DESTDIR=$startdir/pkg install
}

as it is CVS the pkgver and md5sum will change soon.. you can find the lastest version here:

- http://www.stud.uni-karlsruhe.de/~uddw/kdebluetooth/
- http://gentoo.llarian.net/distfiles/

the first one is the official one, the second is one I found on google cause the first one had a currupted version of the archive  :arrow: (the package downloads the file from the second link right now).

bye,
Giovanni.


Linux registered user #72162

Offline

#2 2005-02-13 02:48:58

Virtual DarKness
Member
From: Italy
Registered: 2004-04-02
Posts: 32
Website

Re: KDE Bluetooth Framework

hmm it returns an error on compiling sad

I've just found this topic:
http://bbs.archlinux.org/viewtopic.php? … ebluetooth

that contain a version of the PKGBUILD very similar to the one I posted (I didn't found it first cause it's on the "newbie corner" forum and I searched only on the "New and Requested Packages" one.) and that is reported to work so what's wrong with mine?!

maybe the problem is that it's a cvs version?
if you have any idea about this, let me know, thanks.

bye,
Giovanni.


Linux registered user #72162

Offline

#3 2005-02-13 14:00:27

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: KDE Bluetooth Framework

i think that you should set prefix to /opt/kde

./configure --prefix=/opt/kde

Offline

#4 2005-02-13 17:33:35

Virtual DarKness
Member
From: Italy
Registered: 2004-04-02
Posts: 32
Website

Re: KDE Bluetooth Framework

hi,
thanks for your tip; i've update the code of the PKGBUILD file..

anyway it still return errors on compiling so I guess I'll have to wait for an update of the cvs tar.

connectiondlg.cpp:156: error: `GET_LINK_QUALITY_RP_SIZE' undeclared (first use this function)
connectiondlg.cpp:156: error: (Each undeclared identifier is reported only oncefor each function it appears in.)
make[5]: *** [connectiondlg.o] Error 1

bye,
Giovanni.


Linux registered user #72162

Offline

#5 2005-02-16 17:37:12

Virtual DarKness
Member
From: Italy
Registered: 2004-04-02
Posts: 32
Website

Re: KDE Bluetooth Framework

#Contributor: Giovanni Derks <virtualdarkness@gmail.com>
pkgname=kdebluetooth-cvs
pkgver=200502XX
pkgrel=1
pkgdesc="KDE Bluetooth Framework"
url="http://kde-bluetooth.sourceforge.net/"
makedepends=('cvs')
depends=('openobex' 'bluez-utils' 'kdebase')
source=()
md5sums=()

build() {

  export CVSROOT=:pserver:anonymous@anoncvs.kde.org:/home/kde
  cvs checkout kdeextragear-3/kdebluetooth
  cvs checkout -l kdeextragear-3
  cvs checkout kde-common
  cd $startdir/src/kdeextragear-3/
  ln -s ../kde-common/admin
  make -f Makefile.cvs
  ./configure --prefix=/opt/kde
  cd kdebluetooth
  make || return 1
  make DESTDIR=$startdir/pkg install

}

Updated version that grabs it from cvs.
status: working.

bye,
Giovanni.


Linux registered user #72162

Offline

#6 2005-03-06 18:39:20

nordlicht
Member
From: Hamburg/Germany
Registered: 2003-07-23
Posts: 62

Re: KDE Bluetooth Framework

Hi

it wont work here!

the configuration part ist ok but then ....


[...]

Good - your configure finished. Start make now

Making all in libkbluetooth
make[1]: Entering directory `/var/abs/kdebluetooth/src/kdeextragear-3/kdebluetooth/libkbluetooth'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include  -I/usr/include/openobex -I/opt/kde/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT serviceselectionwidget.lo -MD -MP -MF ".deps/serviceselectionwidget.Tpo" -c -o serviceselectionwidget.lo serviceselectionwidget.cpp; 
then mv -f ".deps/serviceselectionwidget.Tpo" ".deps/serviceselectionwidget.Plo"; else rm -f ".deps/serviceselectionwidget.Tpo"; exit 1; fi
In file included from serviceselectionwidget.cpp:12:
serviceselectionwidget.h:30: error: expected class-name before '{' token
serviceselectionwidget.h:98: error: `QListBoxItem' has not been declared
serviceselectionwidget.h:98: error: ISO C++ forbids declaration of `parameter' with no type
serviceselectionwidget.h:30: warning: `class KBluetooth::ServiceSelectionWidget' has virtual functions but non-virtual destructor
serviceselectionwidget.cpp: In constructor `KBluetooth::ServiceSelectionWidget::ServiceSelectionWidget(QWidget*, QStringList, bool, bool, bool)':

[...] much more erroers like this

what is going wrong??

-chris

Offline

#7 2005-05-04 18:20:01

TsaTsaG.
Member
Registered: 2005-01-26
Posts: 6

Re: KDE Bluetooth Framework

Compile error
[...]
serviceselectionwidget.h:30: error: expected class-name before '{' token
[...]

If you get this message, check
# ldd /opt/qt/bin/uic
If answer is [...] libqt-mt.so.3 not found, do this
# ldconfig /opt/qt/lib
(as root)

Did the trick for me.

Offline

#8 2005-05-28 15:24:12

scrooge
Member
Registered: 2005-02-24
Posts: 23

Re: KDE Bluetooth Framework

Unknown host anoncvs.kde.org

is site down ?  :?
thanx for the pkgbuild!!

Offline

#9 2005-06-17 21:18:22

bluesurfer
Member
From: Regensburg, Germany
Registered: 2004-08-29
Posts: 22

Re: KDE Bluetooth Framework

yes, the site is down for me, too.
I used this one:

pkgname=kdebluetooth
pkgver=1.0beta1
pkgrel=1
pkgdesc="Bluetooth support for KDE"
url="http://kde-bluetooth.sourceforge.net"
license="GPL-2"
depends=(kdebase bluez-libs openobex)
makedepends=(kdebase bluez-libs openobex)
source=(http://fred.hexbox.de/debian/kdebluetooth_1.0_beta1-1.tar.gz)
md5sums=(909428a425330799e45beab18cc0f6b0)

build() {
  cd $startdir/src/kdebluetooth-1.0_beta1
  ./configure --prefix=/opt/kde
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Offline

Board footer

Powered by FluxBB