Changes

From Studiosg
Jump to navigationJump to search
28 bytes added ,  14:52, 21 December 2016
Page updated to new template
Line 1: Line 1: −
Welcome to Simone Giustetti's wiki pages.
+
{{header_en|title=Building Sip Tqt for TDE| keyword={{Template:keyword_en_tde}}| description=Building, installing and configuring a working Sip4-Tqt package for TDE and Slackware Linux | link_page=TDE_sip4-tqt}}
 
  −
 
  −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_sip4-tqt Italiano]
  −
 
  −
----
      
== SIP4-TQT ==
 
== SIP4-TQT ==
[[En/trinity_desktop_environment#Base_Packages]]
+
[[En/trinity_desktop_environment#Base_Packages | TDE - Base Packages]]
    
SIP is a tool written to ease the creation of bindings between the Python language and libraries written in the C or C++ programming languages. SIP was originally meant to create '''PyQt''', Python bindings for the QT toolkit, but '''can be used with every library written in C or C++'''. Slackware contains an official SIP package which '''lacks compatibility with the TQT libraries''' needed by the '''Trinity Desktop Environment''' to properly work. All TDE related Python packages require SIP to build and run once installed. As a consequence a custom TDE version of SIP is needed to replace the Slackware included one.
 
SIP is a tool written to ease the creation of bindings between the Python language and libraries written in the C or C++ programming languages. SIP was originally meant to create '''PyQt''', Python bindings for the QT toolkit, but '''can be used with every library written in C or C++'''. Slackware contains an official SIP package which '''lacks compatibility with the TQT libraries''' needed by the '''Trinity Desktop Environment''' to properly work. All TDE related Python packages require SIP to build and run once installed. As a consequence a custom TDE version of SIP is needed to replace the Slackware included one.
Line 27: Line 22:     
Run command:
 
Run command:
   '''export''' SLKCFLAGS="-O2 -march=i486 -mtune=i686 '''-I/usr/include/tqt'''"
+
<syntaxhighlight lang="bash">
   '''export''' PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
+
   export SLKCFLAGS="-O2 -march=i486 -mtune=i686 -I/usr/include/tqt"
   '''export''' PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()' )
+
   export PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
 +
   export PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()' )
 
    
 
    
   '''python''' configure.py \
+
   python configure.py \
 
       -b "/usr/bin" \
 
       -b "/usr/bin" \
 
       -d "$PYTHONLIB" \
 
       -d "$PYTHONLIB" \
Line 37: Line 33:  
       CFLAGS="$SLKCFLAGS" \
 
       CFLAGS="$SLKCFLAGS" \
 
       CXXFLAGS="$SLKCFLAGS"
 
       CXXFLAGS="$SLKCFLAGS"
 +
</syntaxhighlight>
 
to configure sip-tqt for a 32 bit environment.
 
to configure sip-tqt for a 32 bit environment.
   Line 97: Line 94:     
External Links
 
External Links
 +
 
----
 
----
 +
 
* [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild TDE build guide]
 
* [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild TDE build guide]
 
* [http://www.riverbankcomputing.co.uk/software/sip/ SIP project home page]
 
* [http://www.riverbankcomputing.co.uk/software/sip/ SIP project home page]
 
* [https://wiki.python.org/moin/PyQt PyQt wiki]
 
* [https://wiki.python.org/moin/PyQt PyQt wiki]
* [http://en.wikipedia.org/wiki/PyQt The PyQt related Wikipedia page]
+
* [http://en.wikipedia.org/wiki/PyQt The Wikipedia PyQt related page]
 
* [http://en.wikipedia.org/wiki/Git_software The GIT related Wikipedia page]
 
* [http://en.wikipedia.org/wiki/Git_software The GIT related Wikipedia page]
 
* [http://git-scm.com/ GIT project home page]
 
* [http://git-scm.com/ GIT project home page]
Line 107: Line 106:  
----
 
----
   −
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=TDE_sip4-tqt Italiano]
+
{{footer_en | link_page=TDE_sip4-tqt}}

Navigation menu