gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii-0.6.11 on FC5 Test 3


From: Stephanos Manos
Subject: gnokii-0.6.11 on FC5 Test 3
Date: Sat, 11 Mar 2006 22:58:05 +0200
User-agent: Thunderbird 1.5 (X11/20060210)

After building and installing gnokii and xgnokii when i try to run xgnokii i get the following error

(xgnokii:18798): Gtk-WARNING **: horizontal scrolling not implemented Segmentation fault


Also

when trying to build gnapplet i get the following error

address@hidden gnapplet]$ make
arm-epoc-pe-gcc -D_UNICODE -march=armv4t -mthumb-interwork -c -nostdinc -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -D__SYMBIAN32__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__AVKON_ELAF -D__MARM_ARMI__ -D__DLL__ -I/usr/local/gnupoc/epoc32/include -I/usr/local/gnupoc/epoc32/include/libc -I/home/bozo/BUILD/gnokii-devel/include -c -o gnapplet_ui.o gnapplet_ui.cpp
make: arm-epoc-pe-gcc: Command not found
make: *** [gnapplet_ui.o] Error 127


Attached are a modified spec file and the output of the building process

I used the command:
rpmbuild -ta gnokii-0.6.11.tar.gz 2>&1 | tee gnokii2.out


The reason for modifying the spec file is in my previous post



Regards

Stephanos Manos

%define name gnokii
%define version 0.6.11
%define release 1

Summary: multisystem tool suite for the mobile phones
Name: %{name}
Version: %{version}
Release: %{release}
License: GNU GPL
Packager: Pavel Janik ml. <address@hidden>, Jan Derfinak <address@hidden>, 
Pawel Kot
Group: Applications/Communications
Source: htp://www.gnokii.org/download/gnokii/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: gettext, gtk+-devel >= 1.2.0, flex, bluez-libs-devel
BuildRequires: mysql-devel, postgresql-devel   
#, XFree86-devel                  Does Not Exist
Requires: libgnokii = %{version}-%{release}

%description
Gnokii is a multisystem tool suite and (eventually) modem/fax driver for
the mobile phones, released under the GPL.

%package -n libgnokii
Summary: A gnokii shared library
Group: Libraries

%description -n libgnokii
Gnokii shared library

%package -n libgnokii-devel
Summary: libgnokii heades files
Group: Development/Libraries
Requires: libgnokii = %{version}-%{release}
#Requires: XFree86-devel              Does Not Exist
Requires: bluez-libs-devel

%description -n libgnokii-devel
libgnokii header files.

%package -n xgnokii
Summary: Graphical gtk+ based tool suite for the mobile phones.
Group: X11/Applications

%description -n xgnokii
Xgnokii is a graphical gtk+ based tool suite for the mobile phones. It
allows you to edit your contacts book, send/read SMS's from/in your
computer and more.

%package -n gnokii-smsd
Summary:        Daemon for handling incoming and outgoing SMSes using libgnokii
Group:          Daemons
Requires:       gnokii = %{version}-%{release}

%description -n gnokii-smsd
The SMSD (SMS daemon) program is intended for receiving and sending
SMSes with plain file plugin

%package -n gnokii-smsd-mysql
Summary:        mysql plugin for gnokii-smsd
Group:          Daemons
Requires:       gnokii-smsd = %{version}-%{release}
Requires:       mysql-devel

%description -n gnokii-smsd-mysql
MySQL plugin for gnokii-smsd

%package -n gnokii-smsd-psql
Summary:        psql plugin for gnokii-smsd
Group:          Daemons
Requires:       gnokii-smsd = %{version}-%{release}
Requires:       postgresql-devel

%description -n gnokii-smsd-psql
PostgreSQL plugin for gnokii-smsd

%prep
%setup

#Not Needed as a file called xgnokki.desktop exists in xgnokii
#%{__cat} <<EOF >gnokii.desktop
#[Desktop Entry]
#Name=Gnokii Mobile Manager
#Comment=Access your mobile phone data
#Icon=gnokii.png
#Exec=xgnokii
#Terminal=false
#Type=Application
#Categories=Application;Utility;
#EOF

%build
%configure --prefix=/usr \
           --with-gnu-ld \
           --with-x \
           --with-xgnokiidir=/usr \
           --enable-nls \
           --enable-security
%{__make}

cd smsd
%{__make}
%{__make} libpq.la
%{__make} libmysql.la
%{__make} libfile.la
cd ..

%install
rm -rf ${RPM_BUILD_ROOT}

%{__make} DESTDIR=${RPM_BUILD_ROOT} install install-docs

#Put the xgnokii man file in the correct location
mv ${RPM_BUILD_ROOT}/usr/man/man1/* ${RPM_BUILD_ROOT}/usr/share/man/man1/

#Delete not needed Docs
rm -rf ${RPM_BUILD_ROOT}/usr/man/
rm -rf ${RPM_BUILD_ROOT}/usr/share/doc/gnokii

cd smsd 
%{__make} DESTDIR=$RPM_BUILD_ROOT install DB_LIBS="libfile.la libpq.la 
libmysql.la"
cd ..

mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}
sed 's#/usr/local/sbin/#%{_sbindir}#' <Docs/sample/gnokiirc 
>${RPM_BUILD_ROOT}%{_sysconfdir}/gnokiirc

#install gnokii.desktop $RPM_BUILD_ROOT%{_desktopdir}

#Install desktop file and register it

desktop-file-install \
   --delete-original \
   --vendor fedora \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
   --mode 644 \
   --add-category X-Fedora \
   $RPM_BUILD_ROOT%{_datadir}/applications/xgnokii.desktop

#Installation does not include icon

#Installation deos not include xpm files for xgnokii

%pre
/usr/sbin/groupadd -r -f gnokii >/dev/null 2>&1

%post -n libgnokii
/sbin/ldconfig

%postun -n libgnokii
/sbin/ldconfig

%postun
/usr/sbin/groupdel gnokii >/dev/null 2>&1

#Missing pre & post rules for smsd

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(644,root,root,755)
%doc 
Docs/{CREDITS,DataCalls-QuickStart,README*,Bugs,FAQ,*.txt,protocol,KNOWN_BUGS}
%doc 
Docs/{sample/{gnokiirc,ppp*,ringtone,vCalendar},gnokii-{ir-howto,IrDA-Linux}}
#%doc 
Docs/{sample/{gnokiirc,ppp*,ringtone,vCalendar,vCard},gnokii-{ir-howto,IrDA-Linux}}
%doc TODO ChangeLog MAINTAINERS
%{_bindir}/gnokii
%{_bindir}/todologo
%{_bindir}/sendsms
%{_bindir}/ppm2nokia
%{_sbindir}/gnokiid
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gnokiirc
%{_mandir}/man1/[!x]*
%{_mandir}/man8/gnokiid.*
%{_mandir}/man8/mgnokiidev.*

%defattr(4750,root,gnokii,0750)
%{_sbindir}/mgnokiidev

%files -n xgnokii
%defattr(644,root,root,755)
%doc xgnokii/{ChangeLog,README.vcard,VERSION}
%attr(755,root,root) %{_bindir}/xgnokii
%dir %{_datadir}/xgnokii
#%{_libdir}/xgnokii
#%{_datadir}/xgnokii/xpm
%{_datadir}/xgnokii/help
%{_desktopdir}/*xgnokii.desktop
%{_mandir}/man1/xgnokii.1x*
%{_datadir}/locale/*

%files -n libgnokii
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgnokii.so.*

%files -n libgnokii-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgnokii.so
%{_libdir}/libgnokii.la
%{_libdir}/libgnokii.a
%{_includedir}/*.h
%{_includedir}/gnokii
%{_libdir}/pkgconfig/*.pc

%files -n gnokii-smsd
%defattr(644,root,root,755)
%doc smsd/ChangeLog smsd/README smsd/README.Tru64 smsd/action
#%doc smsd/ChangeLog smsd/README smsd/README.MySQL smsd/README.Tru64 
smsd/action smsd/*.sql
%{_sbindir}/smsd
%{_libdir}/smsd/libfile.la
%{_libdir}/smsd/libfile.so
%{_libdir}/smsd/libfile.a
%{_mandir}/man8/smsd.*

%files -n gnokii-smsd-mysql
%defattr(644,root,root,755)
%doc smsd/README.MySQL smsd/sms.tables.mysql.sql
%{_libdir}/smsd/libmysql.la
%{_libdir}/smsd/libmysql.so
%{_libdir}/smsd/libmysql.a

%files -n gnokii-smsd-psql
%defattr(644,root,root,755)
%doc smsd/sms.tables.pq.sql
%{_libdir}/smsd/libpq.la
%{_libdir}/smsd/libpq.so
%{_libdir}/smsd/libpq.a

%changelog

* Mon Feb  6 2006 Pawel Kot
- merge gnokii-smsd and gnokii-smsd-file

* Thu Apr 30 2005 Pawel Kot
- split the package for gnokii, libgnokii, libgnokii-devel, xgnokii,
smsd, smsd-mysql, smsd-psql, smsd-file
- update requirements
- new url for the sources
Changes based on Dag Wieers and PLD spec files

* Thu Apr 28 2005 Pawel Kot
- minor updates: new Docs files, move todologo to the gnokii package

* Mon Feb 23 2004 BORBELY Zoltan <address@hidden>
- require flex at build time (suggested by Olivier Kaloudoff)

* Fri Jan 30 2004 Pawel Kot <address@hidden>
- gnokii is for mobile phones not only for Nokia mobile phones and also
  works with non unix systems

* Tue Jan 20 2004 Pawel Kot <address@hidden>
- install *.a and *.la into -devel package

* Wed Apr  2 2003 Tom G. Christensen <address@hidden>
- add a -devel package
- add manpages to package 
- use proper %{_*dir} macros when referring to paths
- use make DESTDIR for install
- made sure that no files are left unpackaged

* Sat Jan  4 2003 Pawel Kot <address@hidden>
- reflect changes in the file layout

* Thu Aug 15 2002 Pawel Kot <address@hidden>
- misc path problems fixed

* Fri Apr 12 2002 Pawel Kot <address@hidden>
- replace 'Copyright' with 'License' (submitted by Rui Miguel Silva Seabra)

* Fri Sep 28 2001 Pawel Kot <address@hidden>
- last minute fixes

* Thu Sep 27 2001 Pawel Kot <address@hidden>
- updates to 0.3.3 version - new docs, new ftp server

* Sun Sep  2 2001 Pawel Kot <address@hidden>
- removes xlogos

* Thu Jan 11 2001 Pawel Kot <address@hidden>
- misc updates

* Fri Oct 27 2000 Pavel Janik ml. <address@hidden>
- todologo added to the package

* Mon May 15 2000 Pavel Janik ml. <address@hidden>
- proper access rights for gnokiid, gnokii and mgnokiidev

* Sat May 13 2000 Pavel Janik ml. <address@hidden>
- new doc files added

* Tue Mar 21 2000 Pavel Janik ml. <address@hidden>
- permission on /usr/sbin fixed
- correct /etc/gnokiirc file

* Mon Mar 20 2000 Pavel Janik ml. <address@hidden>
- mkdir of directories in install removed
- xgnokii package should contain lib/xgnokii directory

* Mon Mar 20 2000 Jan Derfinak <address@hidden>
- split package into gnokii and xgnokii
- added configure
- correct xgnokii installation
- installation with make install
- fixing paths

* Thu Aug  5 1999 Pavel Janik ml. <address@hidden>
- documentation files changed

* Thu Aug  5 1999 Pavel Janik ml. <address@hidden>
- xkeyb and xlogos added to RPM package

* Sat Jul 24 1999 Pavel Janik ml. <address@hidden>
- stripping of binaries

* Thu Jul 22 1999 Pavel Janik ml. <address@hidden>
- gnokii.nol added - nice example for logo uploading

* Sun Jul 18 1999 Pavel Janik ml. <address@hidden>
- mgnokiidev added to RPM package
- config file in /etc (it is not used now...)

* Sat Jul 10 1999 Pavel Janik ml. <address@hidden>
- use of ~/.gnokiirc so not magic model stuff
- new doc files

* Mon Jun 28 1999 Pavel Janik ml. <address@hidden>
- Nokia auth. protocol is there now
- xgnokii and gnokiid added to RPM

* Sun May  9 1999 Pavel Janik ml. <address@hidden>
- included 6110-patch updated to my prepatches

* Thu May  6 1999 Pavel Janik ml. <address@hidden>
- TODO-6110 file added to documentation files

* Sun Mar 28 1999 Pavel Janik ml. <address@hidden>
- upgraded to gnokii-0.2.4
- 6110 version of gnokii added

* Fri Mar  5 1999 Pavel Janik ml. <address@hidden>
- the first SPEC file for gnokii

Attachment: gnokii2.out.bz2
Description: application/bzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]