[openmamba-devel-it] kde4

Silvan Calarco silvan.calarco a mambasoft.it
Mer 8 Ott 2008 13:12:43 CEST


Alle mercoledė 8 ottobre 2008, puntogil a libero.it ha scritto:
> ciao
> le lib che sono state importate servono solo per lo sviluppo o é gia
> possibile usufruire  del nuovo kde?

Per avere l'ambiente base del nuovo KDE al momento siamo bloccati su 
kdebase-workspace che presenta uno strano errore di compilazione che pare 
esserci solo in openmamba ma non se ne capisce la causa, che sembra pių 
dipendere dal compilatore che non dagli includes forniti, assolutamente 
standard e uguali ad altre distribuzioni:

/usr/include/X11/extensions/Xrender.h:75: error: reference to ‘Bool’ is 
ambiguous
/usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
/opt/kde/include/fixx11h.h:94: error:                 typedef X::XBool X::Bool

Per informazione allego specfile attuale ed una patch che risolve questo 
errore una prima volta. Applicata la patch il build va pių avanti ma poi si 
ripresenta l'errore e questa volta (finora) senza soluzione.

ciao,
Silvan

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it

mambaSoft Store @ http://shop.mambasoft.it
openmamba GNU/Linux development @ http://www.openmamba.org
-------------- parte successiva --------------
Name:          kdebase4-workspace
Version:       4.1.2
Release:       1mamba
Summary:       K Desktop Environment - Workspace components
Group:         Graphical Desktop/Applications/Environment
Vendor:        openmamba
Distribution:  openmamba
Packager:      Aleph0 <aleph0 a openmamba.org>
URL:           http://www.kde.org/
Source:        ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdebase-workspace-%{version}.tar.bz2
Patch0:        %{name}-3.95.0-kdedot4.patch
Patch1:        %{name}-4.1.2-ambiguous_bool.patch
License:       LGPL
BuildRequires: kdelibs4-devel = %{version}
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: bash
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libpng-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libqt4-devel
BuildRequires: libraw1394-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXcursor-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
BuildRequires: libxklavier-devel
BuildRequires: libXpm-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXRes-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXtst-devel
BuildRequires: libz-devel
BuildRequires: lm_sensors-devel
BuildRequires: NetworkManager-devel
BuildRequires: pam-devel
BuildRequires: perl-devel
BuildRequires: strigi-devel
## AUTOBUILDREQ-END
BuildRequires: libbluez-devel
BuildRequires: libdbus-devel
BuildRequires: libusb-devel
BuildRequires: libxml2-devel
BuildRequires: libXxf86misc-devel
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

# FIXME:
# -- /usr/src/RPM/BUILD/kdebase-workspace-4.0.2/kcontrol: skipped subdir $(KSMCARD_SUBDIR)
#
# -----------------------------------------------------------------------------
# -- The following OPTIONAL packages could NOT be located on your system.
# -- Consider installing them to enable more features from this software.
# + Captury framework: libcaptury is a framework realtime video capturing for e.g. screen casts <http://rm-rf.in/captury>
# -----------------------------------------------------------------------------
# -- PKGCONFIG macro signal that libcaptury is not installed on your computer.
#       http://rm-rf.in/captury/
#       Captury Framework Library
#       Captury is a realtime video capturing framework for UNIX/Linux X11 systems.
#       Main targets are games running in OpenGL, so this is the first to get working.

%description
This package contains things specific to the KDE desktop, like Plasma or the window manager.

%package devel
Group:         Development/Libraries
Summary:       Development files for KDE workspace
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description devel
This package contains the basic packages for a K Desktop Environment workspace.

#%package -n kdm4
#Group:         Graphical Desktop/Applications/Environment
#Summary:       KDE login and display manager
#Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      kdebase4-runtime >= %{version}
#
#%description -n kdm4
#This package contains kdm, the login and session manager for KDE.
#This package is part of KDE4, as a component of the KDE4 kdebase-workspace module.

%prep
%setup -q -n kdebase-workspace-%{version}
#%patch0 -p1 -b .kdedot4
# Scanning dependencies of target taskmanager
# [  5%] Building CXX object libs/taskmanager/CMakeFiles/taskmanager.dir/taskmanager_automoc.o
# [  5%] Building CXX object libs/taskmanager/CMakeFiles/taskmanager.dir/startup.o
# [  5%] Building CXX object libs/taskmanager/CMakeFiles/taskmanager.dir/task.o
# In file included from /usr/src/RPM/BUILD/kdebase-workspace-4.0.2/libs/taskmanager/taskmanager_p.h:41,
#                  from /usr/src/RPM/BUILD/kdebase-workspace-4.0.2/libs/taskmanager/task.cpp:28:
# /usr/include/X11/extensions/Xrender.h:75: error: reference to 'Bool' is ambiguous
# /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
# /opt/kde4/include/fixx11h.h:94: error:                 typedef X::XBool X::Bool
# ...
# make[2]: *** [libs/taskmanager/CMakeFiles/taskmanager.dir/task.o] Error 1
# make[1]: *** [libs/taskmanager/CMakeFiles/taskmanager.dir/all] Error 2
# make: *** [all] Error 2
%patch1 -p1 -b .ambiguous_bool

%build
KDE_DEFAULT_HOME=.kde4 %cmake_kde4 -d build
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_kde4_bindir}/*
#
%attr(4755,root,shadow) %{_kde4_libexecdir}/kcheckpass
%{_kde4_libexecdir}/kdm_config
%{_kde4_libexecdir}/kdm_greet
%{_kde4_libexecdir}/kfontprint
%{_kde4_libexecdir}/kio_fonts_helper
%{_kde4_libexecdir}/krootimage
%{_kde4_libexecdir}/test_kcm_xinerama
%{_kde4_libdir}/kconf_update_bin/*
%{_kde4_libdir}/kde4/*.so
%{_kde4_libdir}/libkdeinit4_*.so
%{_kde4_libdir}/libkfontinst.so.*
%{_kde4_libdir}/libkfontinstui.so.*
%{_kde4_libdir}/libkdecorations.so.*
%{_kde4_libdir}/libkscreensaver.so.*
%{_kde4_libdir}/libksgrd.so.*
%{_kde4_libdir}/libkwineffects.so.*
%{_kde4_libdir}/libkworkspace.so.*
%{_kde4_libdir}/libplasma.so.*
%{_kde4_libdir}/libprocesscore.so.*
%{_kde4_libdir}/libprocessui.so.*
%{_kde4_libdir}/libsolidcontrol.so.*
%{_kde4_libdir}/libsolidcontrolifaces.so.*
%{_kde4_libdir}/libtaskmanager.so.*
%{_kde4_libdir}/libweather_ion.so.*
%{_kde4_libdir}/libkwinnvidiahack.so.*
%{_kde4_libdir}/strigi/strigita_font.so
#
%{_kde4_autostartdir}/khotkeys.desktop
%{_kde4_autostartdir}/klipper.desktop
%{_kde4_autostartdir}/krunner.desktop
%{_kde4_autostartdir}/ktip.desktop
%{_kde4_autostartdir}/plasma.desktop
%config %{_kde4_configdir}/background.knsrc
%config %{_kde4_configdir}/kdm.knsrc
%{_kde4_configdir}/kdm
%{_kde4_configdir}/klipperrc
%{_kde4_configdir}/wallpaper.knsrc
%{_kde4_datadir}/color-schemes/*.colors
%{_kde4_datadir}/desktoptheme/*.desktop
%{_kde4_datadir}/desktoptheme/default/colors
%{_kde4_datadir}/desktoptheme/default/dialogs/*.svg
%{_kde4_datadir}/desktoptheme/default/widgets/*.svg
%{_kde4_datadir}/doc/kdm
%{_kde4_datadir}/kaccess
%{_kde4_datadir}/kcminput
#%{_kde4_datadir}/kcmkeys
#%{_kde4_datadir}/kcmusb
#%{_kde4_datadir}/kcmview1394
%{_kde4_datadir}/kconf_update/*
%{_kde4_datadir}/kcontrol
%{_kde4_datadir}/kcontroledit
%{_kde4_datadir}/kdewizard
%{_kde4_datadir}/kdisplay
%{_kde4_datadir}/kdm
%{_kde4_datadir}/khotkeys
%{_kde4_datadir}/kfontinst
%{_kde4_datadir}/kfontview
%{_kde4_datadir}/kicker
%{_kde4_datadir}/kmenuedit
%{_kde4_datadir}/konqsidebartng
#%{_kde4_datadir}/ksmserver
%{_kde4_datadir}/ksplash
%{_kde4_datadir}/ksysguard
%{_kde4_datadir}/kthememanager
%{_kde4_datadir}/kwin
%{_kde4_datadir}/plasmoidviewer
%{_kde4_datadir}/solid
%{_kde4_datadir}/solidfakebluetoothbackend/*
%{_kde4_datadir}/solidfakenetbackend/*
%{_kde4_datadir}/systemsettings/*.rc
%{_kde4_dbusinterfacesdir}/*.xml
%doc %lang(en) %{_kde4_htmldir}/en/kdm
%doc %lang(en) %{_kde4_htmldir}/en/klipper
%doc %lang(en) %{_kde4_htmldir}/en/kmenuedit
%doc %lang(en) %{_kde4_htmldir}/en/ksysguard
%doc %lang(en) %{_kde4_htmldir}/en/kxkb
%doc %lang(en) %{_kde4_htmldir}/en/plasma
%{_kde4_kcfgdir}/klaunch.kcfg
%{_kde4_kcfgdir}/kscreensaversettings.kcfg
%{_kde4_kcfgdir}/kwin.kcfg
%{_kde4_icondir}/hicolor/*
%{_kde4_icondir}/oxygen/*
%{_kde4_xdgappsdir}/kfontview.desktop
%{_kde4_xdgappsdir}/klipper.desktop
%{_kde4_xdgappsdir}/kmenuedit.desktop
%{_kde4_xdgappsdir}/krandrtray.desktop
%{_kde4_xdgappsdir}/ksysguard.desktop
%{_kde4_xdgappsdir}/ktip.desktop
%{_kde4_xdgappsdir}/systemsettings.desktop
%{_kde4_xdgdirectorydir}/*.directory
%{_kde4_pluginsdir}/designer/*.so
%{_kde4_servicesdir}/*.desktop
%{_kde4_servicesdir}/fonts.protocol
%{_kde4_servicesdir}/kded/*.desktop
%{_kde4_servicesdir}/kwin/*.desktop
%{_kde4_servicesdir}/ScreenSavers/*.desktop
%{_kde4_servicesdir}/ServiceMenus/*.desktop
%{_kde4_servicesdir}/solidbackends/*.desktop
%{_kde4_servicetypesdir}/*.desktop
%{_kde4_soundsdir}/pop.wav
%config(noreplace) %{_kde4_sysconfdir}/ksysguarddrc
%{_kde4_sysconfdir}/systemsettingsrc
%{_kde4_wallpaperdir}/

%files devel
%defattr(-,root,root)
%{_kde4_includedir}/KDE/Plasma
%{_kde4_includedir}/*.h
%{_kde4_includedir}/taskmanager
%{_kde4_includedir}/ksgrd
%{_kde4_includedir}/ksysguard
%{_kde4_includedir}/kworkspace
%dir %{_kde4_includedir}/plasma
%{_kde4_includedir}/plasma/*.h
%{_kde4_includedir}/plasma/layouts/*.h
%{_kde4_includedir}/plasma/widgets/*.h
%dir %{_kde4_includedir}/solid
%{_kde4_includedir}/solid/control/*.h
%{_kde4_includedir}/solid/control/ifaces/*.h
%{_kde4_libdir}/libkdecorations.so
%{_kde4_libdir}/libkfontinst.so
%{_kde4_libdir}/libkfontinstui.so
%{_kde4_libdir}/libkscreensaver.so
%{_kde4_libdir}/libksgrd.so
%{_kde4_libdir}/libplasma.so
%{_kde4_libdir}/libprocesscore.so
%{_kde4_libdir}/libprocessui.so
%{_kde4_libdir}/libsolidcontrol.so
%{_kde4_libdir}/libsolidcontrolifaces.so
%{_kde4_libdir}/libtaskmanager.so
%{_kde4_libdir}/libweather_ion.so
%{_kde4_libdir}/libkwineffects.so
%{_kde4_libdir}/libkwinnvidiahack.so
%{_kde4_libdir}/libkworkspace.so
%{_kde4_datadir}/cmake/modules/FindLibXKlavier.cmake
%{_kde4_datadir}/cmake/modules/FindPAM.cmake
%{_kde4_datadir}/cmake/modules/FindSensors.cmake
%{_kde4_datadir}/cmake/modules/UnixAuth.cmake

#%files -n kdm4
#%defattr(-,root,root)
#%{_kde4_bindir}/kdm
#%{_kde4_bindir}/kdmctl
#%{_kde4_bindir}/genkdmconf
#%{_kde4_datadir}/kdm
#%{_kde4_configdir}/kdm
#%dir %{kdedir}/share/kde4/apps/doc
#%dir %{kdedir}/share/kde4/apps/doc/kdm
#%config %{kdedir}/share/kdm.knsrc
#%{kdedir}/share/services/kdm.desktop
#%doc %lang(en) %{kdedir}/share/doc/kde/HTML/en/kdm
#%{_kde4_libdir}/kde4/kgreet_classic.so
#%{_kde4_libdir}/kde4/kgreet_winbind.so
#%{_kde4_libdir}/kde4/kcm_kdm.so
#%{_kde4_libexecdir}/kdm_config
#%{_kde4_libexecdir}/kdm_greet
#%dir %{kdesysconfdir}/kdm
#%config %{kdesysconfdir}/kdm/kdmrc

%changelog
* Wed Oct 08 2008 Silvan Calarco <silvan.calarco a mambasoft.it> 4.1.2-1mamba
- update to 4.1.2

* Wed May 07 2008 Aleph0 <aleph0 a openmamba.org> 4.0.4-1mamba
- update to 4.0.4

* Sat Mar 08 2008 Aleph0 <aleph0 a openmamba.org> 4.0.2-1mamba
- update to 4.0.2

* Mon Jan 14 2008 Aleph0 <aleph0 a openmamba.org> 4.0.0-1mamba
- update to 4.0.0

* Thu Dec 13 2007 Aleph0 <aleph0 a openmamba.org> 3.97.0-1mamba
- update to 3.97.0 (KDE4 rc2)

* Wed Nov 21 2007 Aleph0 <aleph0 a openmamba.org> 3.96.0-1mamba
- update to 3.96.0 (KDE4 rc1)

* Mon Nov 05 2007 Aleph0 <aleph0 a openmamba.org> 3.95.0-1mamba
- first build
-------------- parte successiva --------------
Un allegato non testuale č stato rimosso....
Nome:        kdebase4-workspace-4.1.2-ambiguous_bool.patch
Tipo:        text/x-diff
Dimensione:  453 bytes
Descrizione: non disponibile
URL:         <http://tao/pipermail/openmamba-devel-it/attachments/20081008/ed7c89b2/attachment.bin>


Maggiori informazioni sulla lista openmamba-devel-it