remove provides/obsoletes for libqt-* packages to avoid conflicts with libqt4 [release 3.3.8b-5mamba;Sat Dec 01 2012]
This commit is contained in:
parent
56e97b1329
commit
253f241e98
@ -1,2 +1,7 @@
|
|||||||
# libqt3
|
# libqt3
|
||||||
|
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
Qt is available under several different licenses:
|
||||||
|
see http://www.trolltech.com/products/qt/licenses
|
||||||
|
|
||||||
|
12
libqt-3.3.4-gcc4-buildkey.patch
Normal file
12
libqt-3.3.4-gcc4-buildkey.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- qt-x11-free-3.3.4/configure.tn 2005-03-04 13:07:19.763540397 -0500
|
||||||
|
+++ qt-x11-free-3.3.4/configure 2005-03-04 13:12:28.212921705 -0500
|
||||||
|
@@ -3092,6 +3092,9 @@
|
||||||
|
*3.*)
|
||||||
|
COMPILER_VERSION="3.*"
|
||||||
|
;;
|
||||||
|
+ *4.*)
|
||||||
|
+ COMPILER_VERSION="4.*"
|
||||||
|
+ ;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
11
libqt-3.3.4-gcc4.patch
Normal file
11
libqt-3.3.4-gcc4.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.4/src/kernel/qsizepolicy.h.orig 2005-03-01 15:07:04.192546273 +0100
|
||||||
|
+++ qt-x11-free-3.3.4/src/kernel/qsizepolicy.h 2005-03-01 15:07:44.491582432 +0100
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
void setHorData( SizeType d ) { data = (Q_UINT32)(data & ~HMask) | d; }
|
||||||
|
- void setVerData( SizeType d ) { data = (Q_UINT32)(data & ~(HMask << HSize)) |
|
||||||
|
+ void setVerData( SizeType d ) { data = (Q_UINT32)(data & ~VMask) |
|
||||||
|
(d << HSize); }
|
||||||
|
|
||||||
|
void setHeightForWidth( bool b ) { data = b ? (Q_UINT32)( data | ( 1 << 2*HSize ) )
|
65
libqt-3.3.4-qt-visibility.patch
Normal file
65
libqt-3.3.4-qt-visibility.patch
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
Index: src/kernel/qgplugin.h
|
||||||
|
===================================================================
|
||||||
|
--- qt-x11-free-3.3.4/src/kernel/qgplugin.h (revision 423270)
|
||||||
|
+++ qt-x11-free-3.3.4/src/kernel/qgplugin.h (working copy)
|
||||||
|
@@ -90,35 +90,19 @@
|
||||||
|
return i->iface(); \
|
||||||
|
}
|
||||||
|
|
||||||
|
-# ifdef Q_WS_WIN
|
||||||
|
-# ifdef Q_CC_BOR
|
||||||
|
-# define Q_EXPORT_PLUGIN(PLUGIN) \
|
||||||
|
- Q_PLUGIN_VERIFICATION_DATA \
|
||||||
|
- Q_EXTERN_C __declspec(dllexport) \
|
||||||
|
- const char * __stdcall qt_ucm_query_verification_data() \
|
||||||
|
- { return qt_ucm_verification_data; } \
|
||||||
|
- Q_EXTERN_C __declspec(dllexport) QUnknownInterface* \
|
||||||
|
- __stdcall ucm_instantiate() \
|
||||||
|
- Q_PLUGIN_INSTANTIATE( PLUGIN )
|
||||||
|
-# else
|
||||||
|
-# define Q_EXPORT_PLUGIN(PLUGIN) \
|
||||||
|
- Q_PLUGIN_VERIFICATION_DATA \
|
||||||
|
- Q_EXTERN_C __declspec(dllexport) \
|
||||||
|
- const char *qt_ucm_query_verification_data() \
|
||||||
|
- { return qt_ucm_verification_data; } \
|
||||||
|
- Q_EXTERN_C __declspec(dllexport) QUnknownInterface* ucm_instantiate() \
|
||||||
|
- Q_PLUGIN_INSTANTIATE( PLUGIN )
|
||||||
|
-# endif
|
||||||
|
-# else
|
||||||
|
-# define Q_EXPORT_PLUGIN(PLUGIN) \
|
||||||
|
+#if defined(Q_WS_WIN) && defined(Q_CC_BOR)
|
||||||
|
+# define Q_STDCALL __stdcall
|
||||||
|
+#else
|
||||||
|
+# define Q_STDCALL
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#define Q_EXPORT_PLUGIN(PLUGIN) \
|
||||||
|
Q_PLUGIN_VERIFICATION_DATA \
|
||||||
|
- Q_EXTERN_C \
|
||||||
|
- const char *qt_ucm_query_verification_data() \
|
||||||
|
+ Q_EXTERN_C Q_EXPORT \
|
||||||
|
+ const char * Q_STDCALL qt_ucm_query_verification_data() \
|
||||||
|
{ return qt_ucm_verification_data; } \
|
||||||
|
- Q_EXTERN_C QUnknownInterface* ucm_instantiate() \
|
||||||
|
+ Q_EXTERN_C Q_EXPORT QUnknownInterface* Q_STDCALL ucm_instantiate() \
|
||||||
|
Q_PLUGIN_INSTANTIATE( PLUGIN )
|
||||||
|
-# endif
|
||||||
|
-
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct QUnknownInterface;
|
||||||
|
Index: src/tools/qglobal.h
|
||||||
|
===================================================================
|
||||||
|
--- qt-x11-free-3.3.4/src/tools/qglobal.h (revision 423270)
|
||||||
|
+++ qt-x11-free-3.3.4/src/tools/qglobal.h (working copy)
|
||||||
|
@@ -865,6 +865,10 @@
|
||||||
|
# define Q_TEMPLATE_EXTERN
|
||||||
|
# undef Q_DISABLE_COPY /* avoid unresolved externals */
|
||||||
|
# endif
|
||||||
|
+#elif defined(Q_CC_GNU) && __GNUC__ - 0 >= 4
|
||||||
|
+# define Q_EXPORT __attribute__((visibility("default")))
|
||||||
|
+# undef QT_MAKEDLL /* ignore these for other platforms */
|
||||||
|
+# undef QT_DLL
|
||||||
|
#else
|
||||||
|
# undef QT_MAKEDLL /* ignore these for other platforms */
|
||||||
|
# undef QT_DLL
|
12
libqt-3.3.5-MAXFONTSIZE_XFT.patch
Normal file
12
libqt-3.3.5-MAXFONTSIZE_XFT.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru qt-x11-free-3.3.5.orig/src/kernel/qfontdatabase_x11.cpp qt-x11-free-3.3.5/src/kernel/qfontdatabase_x11.cpp
|
||||||
|
--- qt-x11-free-3.3.5.orig/src/kernel/qfontdatabase_x11.cpp 2005-09-02 14:43:01.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.5/src/kernel/qfontdatabase_x11.cpp 2006-05-15 22:20:46.000000000 +0200
|
||||||
|
@@ -1406,7 +1406,7 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// font loader
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
-#define MAXFONTSIZE_XFT 256
|
||||||
|
+#define MAXFONTSIZE_XFT 2048
|
||||||
|
#define MAXFONTSIZE_XLFD 128
|
||||||
|
#ifndef QT_NO_XFTFREETYPE
|
||||||
|
static double addPatternProps(XftPattern *pattern, const QtFontStyle::Key &key, bool fakeOblique,
|
35
libqt-3.3.5-tools.patch
Normal file
35
libqt-3.3.5-tools.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
diff -urN qt-x11-free-3.3.5-orig/tools/qembed/qembed.pro qt-x11-free-3.3.5/tools/qembed/qembed.pro
|
||||||
|
--- qt-x11-free-3.3.5-orig/tools/qembed/qembed.pro 2004-06-08 10:08:40.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.5/tools/qembed/qembed.pro 2005-09-12 16:09:00.000000000 +0200
|
||||||
|
@@ -2,3 +2,7 @@
|
||||||
|
SOURCES = qembed.cpp
|
||||||
|
TARGET = qembed
|
||||||
|
REQUIRES=full-config nocrosscompiler
|
||||||
|
+
|
||||||
|
+DESTDIR = ../../bin
|
||||||
|
+target.path=$$bins.path
|
||||||
|
+INSTALLS += target
|
||||||
|
diff -urN qt-x11-free-3.3.5-orig/tools/qvfb/qvfb.pro qt-x11-free-3.3.5/tools/qvfb/qvfb.pro
|
||||||
|
--- qt-x11-free-3.3.5-orig/tools/qvfb/qvfb.pro 2004-07-26 11:45:00.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.5/tools/qvfb/qvfb.pro 2005-09-12 16:15:19.000000000 +0200
|
||||||
|
@@ -9,3 +9,7 @@
|
||||||
|
TARGET = qvfb
|
||||||
|
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/libpng $$QT_SOURCE_TREE/src/3rdparty/zlib
|
||||||
|
DEPENDPATH = ../../include
|
||||||
|
+
|
||||||
|
+DESTDIR = ../../bin
|
||||||
|
+target.path=$$bins.path
|
||||||
|
+INSTALLS +=target
|
||||||
|
\ No newline at end of file
|
||||||
|
diff -urN qt-x11-free-3.3.5-orig/tools/tools.pro qt-x11-free-3.3.5/tools/tools.pro
|
||||||
|
--- qt-x11-free-3.3.5-orig/tools/tools.pro 2004-06-08 10:05:03.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.5/tools/tools.pro 2005-09-12 16:05:38.000000000 +0200
|
||||||
|
@@ -4,6 +4,8 @@
|
||||||
|
} else {
|
||||||
|
SUBDIRS = assistant/lib \
|
||||||
|
designer \
|
||||||
|
+ qembed \
|
||||||
|
+ qvfb \
|
||||||
|
assistant \
|
||||||
|
linguist
|
||||||
|
unix:SUBDIRS += qtconfig
|
23
libqt-3.3.8-gcc43.patch
Normal file
23
libqt-3.3.8-gcc43.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff -Nru qt-x11-free-3.3.8.orig/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp
|
||||||
|
--- qt-x11-free-3.3.8.orig/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp 2009-03-20 13:41:12.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp 2009-03-20 13:41:52.000000000 +0100
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
#include "qnoneinputcontextplugin.h"
|
||||||
|
#include <qinputcontextfactory.h>
|
||||||
|
#include <qsettings.h>
|
||||||
|
-
|
||||||
|
+#include <cstdlib>
|
||||||
|
|
||||||
|
QNoneInputContextPlugin::QNoneInputContextPlugin()
|
||||||
|
{
|
||||||
|
diff -Nru qt-x11-free-3.3.8.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp qt-x11-free-3.3.8/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
|
||||||
|
--- qt-x11-free-3.3.8.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2009-03-20 13:41:12.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2009-03-20 13:42:04.000000000 +0100
|
||||||
|
@@ -45,6 +45,7 @@
|
||||||
|
#include <qnamespace.h>
|
||||||
|
#include <qevent.h>
|
||||||
|
#include <qglobal.h>
|
||||||
|
+#include <algorithm>
|
||||||
|
|
||||||
|
static const int ignoreKeys[] = {
|
||||||
|
Qt::Key_Shift,
|
39
libqt-3.3.8b-arm-gcc4.patch
Normal file
39
libqt-3.3.8b-arm-gcc4.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff -urN qt-embedded-free-3.3.7.ori/src/tools/qglobal.h
|
||||||
|
qt-embedded-free-3.3.7/src/tools/qglobal.h
|
||||||
|
--- qt-embedded-free-3.3.7.ori/src/tools/qglobal.h 2006-10-19
|
||||||
|
16:25:01.000000000 +0200
|
||||||
|
+++ qt-embedded-free-3.3.7/src/tools/qglobal.h 2007-03-15
|
||||||
|
11:02:22.087570384 +0100
|
||||||
|
@@ -314,12 +314,16 @@
|
||||||
|
char, or short. We tell gcc to pack QChars to 16 bits, to avoid
|
||||||
|
QString bloat. However, gcc 3.4 doesn't allow us to create references to
|
||||||
|
members of a packed struct. (Pointers are OK, because then you
|
||||||
|
- supposedly know what you are doing.) */
|
||||||
|
+ supposedly know what you are doing.)
|
||||||
|
+ For gcc 4.0.2 pointers dont seem to be ok, */
|
||||||
|
# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
|
||||||
|
# define Q_PACKED __attribute__ ((packed))
|
||||||
|
# if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
|
||||||
|
# define Q_NO_PACKED_REFERENCE
|
||||||
|
# endif
|
||||||
|
+# if __GNUC__ == 4 && __GNUC_MINOR__ >= 0
|
||||||
|
+# define Q_NO_PACKED_POINTERS
|
||||||
|
+# endif
|
||||||
|
# endif
|
||||||
|
# if !defined(__EXCEPTIONS)
|
||||||
|
# define Q_NO_EXCEPTIONS
|
||||||
|
diff -urN qt-embedded-free-3.3.7.ori/src/tools/qstring.h
|
||||||
|
qt-embedded-free-3.3.7/src/tools/qstring.h
|
||||||
|
--- qt-embedded-free-3.3.7.ori/src/tools/qstring.h 2006-10-19
|
||||||
|
16:25:03.000000000 +0200
|
||||||
|
+++ qt-embedded-free-3.3.7/src/tools/qstring.h 2007-03-15
|
||||||
|
11:05:46.890435616 +0100
|
||||||
|
@@ -195,6 +195,8 @@
|
||||||
|
ushort unicode() const { return ucs; }
|
||||||
|
#ifdef Q_NO_PACKED_REFERENCE
|
||||||
|
ushort &unicode() { return *(&ucs); }
|
||||||
|
+#elif defined Q_NO_PACKED_POINTERS
|
||||||
|
+ ushort &unicode() { return *((ushort*)&ucs); }
|
||||||
|
#else
|
||||||
|
ushort &unicode() { return ucs; }
|
||||||
|
#endif
|
20
libqt-3.3.8b-gcc-4.6.patch
Normal file
20
libqt-3.3.8b-gcc-4.6.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- qt3/src/tools/qvaluelist.h 2008-01-15 19:09:13.000000000 +0000
|
||||||
|
+++ qt3/src/tools/qvaluelist.h 2011-01-27 10:29:39.559757983 +0000
|
||||||
|
@@ -50,6 +50,7 @@
|
||||||
|
#ifndef QT_NO_STL
|
||||||
|
#include <iterator>
|
||||||
|
#include <list>
|
||||||
|
+#include <cstddef>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//#define QT_CHECK_VALUELIST_RANGE
|
||||||
|
--- qt3/src/tools/qmap.h 2008-01-15 19:09:13.000000000 +0000
|
||||||
|
+++ qt3/src/tools/qmap.h 2011-01-27 10:30:12.087757984 +0000
|
||||||
|
@@ -52,6 +52,7 @@
|
||||||
|
#ifndef QT_NO_STL
|
||||||
|
#include <iterator>
|
||||||
|
#include <map>
|
||||||
|
+#include <cstddef>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//#define QT_CHECK_MAP_RANGE
|
27
libqt-3.3.8b-png14.patch
Normal file
27
libqt-3.3.8b-png14.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff -ru qt-x11-free-3.3.8b-orig//src/kernel/qpngio.cpp qt-x11-free-3.3.8b/src/kernel/qpngio.cpp
|
||||||
|
--- qt-x11-free-3.3.8b-orig//src/kernel/qpngio.cpp 2008-01-15 14:09:13.000000000 -0500
|
||||||
|
+++ qt-x11-free-3.3.8b/src/kernel/qpngio.cpp 2010-05-13 01:22:17.295436061 -0400
|
||||||
|
@@ -162,7 +162,11 @@
|
||||||
|
image.setColor( i, qRgba(c,c,c,0xff) );
|
||||||
|
}
|
||||||
|
if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
|
||||||
|
+#if PNG_LIBPNG_VER < 10400
|
||||||
|
const int g = info_ptr->trans_values.gray;
|
||||||
|
+#else
|
||||||
|
+ const int g = info_ptr->trans_color.gray;
|
||||||
|
+#endif
|
||||||
|
if (g < ncols) {
|
||||||
|
image.setAlphaBuffer(TRUE);
|
||||||
|
image.setColor(g, image.color(g) & RGB_MASK);
|
||||||
|
@@ -190,7 +194,11 @@
|
||||||
|
info_ptr->palette[i].red,
|
||||||
|
info_ptr->palette[i].green,
|
||||||
|
info_ptr->palette[i].blue,
|
||||||
|
+#if PNG_LIBPNG_VER < 10400
|
||||||
|
info_ptr->trans[i]
|
||||||
|
+#else
|
||||||
|
+ info_ptr->trans_alpha[i]
|
||||||
|
+#endif
|
||||||
|
)
|
||||||
|
);
|
||||||
|
i++;
|
268
libqt3-3.3.8b-libpng15.patch
Normal file
268
libqt3-3.3.8b-libpng15.patch
Normal file
@ -0,0 +1,268 @@
|
|||||||
|
diff -ru qt-x11-free-3.3.8b.orig/src/kernel/qpngio.cpp qt-x11-free-3.3.8b/src/kernel/qpngio.cpp
|
||||||
|
--- qt-x11-free-3.3.8b.orig/src/kernel/qpngio.cpp 2012-06-27 18:06:39.142433232 +0200
|
||||||
|
+++ qt-x11-free-3.3.8b/src/kernel/qpngio.cpp 2012-06-27 18:13:12.024396159 +0200
|
||||||
|
@@ -46,6 +46,9 @@
|
||||||
|
#include "qiodevice.h"
|
||||||
|
|
||||||
|
#include <png.h>
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+#include <zlib.h>
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef Q_OS_TEMP
|
||||||
|
@@ -126,9 +129,29 @@
|
||||||
|
png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
|
||||||
|
0, 0, 0);
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ png_colorp info_ptr_palette = NULL;
|
||||||
|
+ int info_ptr_num_palette = 0;
|
||||||
|
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) {
|
||||||
|
+ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &info_ptr_num_palette);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ png_bytep info_ptr_trans_alpha = NULL;
|
||||||
|
+ int info_ptr_num_trans = 0;
|
||||||
|
+ png_color_16p info_ptr_trans_color = NULL;
|
||||||
|
+
|
||||||
|
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) {
|
||||||
|
+ png_get_tRNS(png_ptr, info_ptr, &info_ptr_trans_alpha, &info_ptr_num_trans, &info_ptr_trans_color);
|
||||||
|
+ }
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
+
|
||||||
|
if ( color_type == PNG_COLOR_TYPE_GRAY ) {
|
||||||
|
// Black & White or 8-bit grayscale
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if ( bit_depth == 1 && png_get_channels(png_ptr, info_ptr) == 1 ) {
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if ( bit_depth == 1 && info_ptr->channels == 1 ) {
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
png_set_invert_mono( png_ptr );
|
||||||
|
png_read_update_info( png_ptr, info_ptr );
|
||||||
|
if (!image.create( width, height, 1, 2, QImage::BigEndian ))
|
||||||
|
@@ -162,7 +185,9 @@
|
||||||
|
image.setColor( i, qRgba(c,c,c,0xff) );
|
||||||
|
}
|
||||||
|
if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
|
||||||
|
-#if PNG_LIBPNG_VER < 10400
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ const int g = info_ptr_trans_color->gray;
|
||||||
|
+#elif ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 )
|
||||||
|
const int g = info_ptr->trans_values.gray;
|
||||||
|
#else
|
||||||
|
const int g = info_ptr->trans_color.gray;
|
||||||
|
@@ -175,7 +200,11 @@
|
||||||
|
}
|
||||||
|
} else if ( color_type == PNG_COLOR_TYPE_PALETTE
|
||||||
|
&& png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ && info_ptr_num_palette <= 256 )
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
&& info_ptr->num_palette <= 256 )
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
{
|
||||||
|
// 1-bit and 8-bit color
|
||||||
|
if ( bit_depth != 1 )
|
||||||
|
@@ -183,18 +212,33 @@
|
||||||
|
png_read_update_info( png_ptr, info_ptr );
|
||||||
|
png_get_IHDR(png_ptr, info_ptr,
|
||||||
|
&width, &height, &bit_depth, &color_type, 0, 0, 0);
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if (!image.create(width, height, bit_depth, info_ptr_num_palette,
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if (!image.create(width, height, bit_depth, info_ptr->num_palette,
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
QImage::BigEndian))
|
||||||
|
return;
|
||||||
|
int i = 0;
|
||||||
|
if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
|
||||||
|
image.setAlphaBuffer( TRUE );
|
||||||
|
+
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ while ( i < info_ptr_num_trans ) {
|
||||||
|
+ image.setColor(i, qRgba(
|
||||||
|
+ info_ptr_palette[i].red,
|
||||||
|
+ info_ptr_palette[i].green,
|
||||||
|
+ info_ptr_palette[i].blue,
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
while ( i < info_ptr->num_trans ) {
|
||||||
|
image.setColor(i, qRgba(
|
||||||
|
info_ptr->palette[i].red,
|
||||||
|
info_ptr->palette[i].green,
|
||||||
|
info_ptr->palette[i].blue,
|
||||||
|
-#if PNG_LIBPNG_VER < 10400
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ info_ptr_trans_alpha[i]
|
||||||
|
+#elif ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 )
|
||||||
|
info_ptr->trans[i]
|
||||||
|
#else
|
||||||
|
info_ptr->trans_alpha[i]
|
||||||
|
@@ -204,11 +248,19 @@
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ while ( i < info_ptr_num_palette ) {
|
||||||
|
+ image.setColor(i, qRgba(
|
||||||
|
+ info_ptr_palette[i].red,
|
||||||
|
+ info_ptr_palette[i].green,
|
||||||
|
+ info_ptr_palette[i].blue,
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
while ( i < info_ptr->num_palette ) {
|
||||||
|
image.setColor(i, qRgba(
|
||||||
|
info_ptr->palette[i].red,
|
||||||
|
info_ptr->palette[i].green,
|
||||||
|
info_ptr->palette[i].blue,
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
0xff
|
||||||
|
)
|
||||||
|
);
|
||||||
|
@@ -295,7 +347,11 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if (setjmp(png_ptr->jmpbuf)) {
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
|
||||||
|
iio->setStatus(-4);
|
||||||
|
return;
|
||||||
|
@@ -480,7 +536,11 @@
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if (setjmp(png_ptr->jmpbuf)) {
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
@@ -502,10 +562,18 @@
|
||||||
|
|
||||||
|
png_set_write_fn(png_ptr, (void*)this, qpiw_write_fn, qpiw_flush_fn);
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+#warning XXXtnn not too sure about this
|
||||||
|
+/*
|
||||||
|
+according to png.h, channels is only used on read, not writes, so we
|
||||||
|
+should be able to comment this out.
|
||||||
|
+*/
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
info_ptr->channels =
|
||||||
|
(image.depth() == 32)
|
||||||
|
? (image.hasAlphaBuffer() ? 4 : 3)
|
||||||
|
: 1;
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
|
||||||
|
png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(),
|
||||||
|
image.depth() == 1 ? 1 : 8 /* per channel */,
|
||||||
|
@@ -515,11 +583,18 @@
|
||||||
|
: PNG_COLOR_TYPE_RGB
|
||||||
|
: PNG_COLOR_TYPE_PALETTE, 0, 0, 0);
|
||||||
|
|
||||||
|
-
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ png_color_8 sig_bit;
|
||||||
|
+ sig_bit.red = 8;
|
||||||
|
+ sig_bit.green = 8;
|
||||||
|
+ sig_bit.blue = 8;
|
||||||
|
+ png_set_sBIT(png_ptr, info_ptr, &sig_bit);
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
//png_set_sBIT(png_ptr, info_ptr, 8);
|
||||||
|
info_ptr->sig_bit.red = 8;
|
||||||
|
info_ptr->sig_bit.green = 8;
|
||||||
|
info_ptr->sig_bit.blue = 8;
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
|
||||||
|
if (image.depth() == 1 && image.bitOrder() == QImage::LittleEndian)
|
||||||
|
png_set_packswap(png_ptr);
|
||||||
|
@@ -533,11 +608,22 @@
|
||||||
|
png_set_PLTE(png_ptr, info_ptr, palette, num_palette);
|
||||||
|
int* trans = new int[num_palette];
|
||||||
|
int num_trans = 0;
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ png_colorp info_ptr_palette = NULL;
|
||||||
|
+ int tmp;
|
||||||
|
+ png_get_PLTE(png_ptr, info_ptr, &info_ptr_palette, &tmp);
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
for (int i=0; i<num_palette; i++) {
|
||||||
|
QRgb rgb=image.color(i);
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ info_ptr_palette[i].red = qRed(rgb);
|
||||||
|
+ info_ptr_palette[i].green = qGreen(rgb);
|
||||||
|
+ info_ptr_palette[i].blue = qBlue(rgb);
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
info_ptr->palette[i].red = qRed(rgb);
|
||||||
|
info_ptr->palette[i].green = qGreen(rgb);
|
||||||
|
info_ptr->palette[i].blue = qBlue(rgb);
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
if (image.hasAlphaBuffer()) {
|
||||||
|
trans[i] = rgb >> 24;
|
||||||
|
if (trans[i] < 255) {
|
||||||
|
@@ -545,6 +631,9 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ png_set_PLTE(png_ptr, info_ptr, info_ptr_palette, num_palette);
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
if (num_trans) {
|
||||||
|
copy_trans = new png_byte[num_trans];
|
||||||
|
for (int i=0; i<num_trans; i++)
|
||||||
|
@@ -555,7 +644,14 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( image.hasAlphaBuffer() ) {
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ png_color_8p sig_bit;
|
||||||
|
+ png_get_sBIT(png_ptr, info_ptr, &sig_bit);
|
||||||
|
+ sig_bit->alpha = 8;
|
||||||
|
+ png_set_sBIT(png_ptr, info_ptr, sig_bit);
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
info_ptr->sig_bit.alpha = 8;
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
}
|
||||||
|
|
||||||
|
// Swap ARGB to RGBA (normal PNG format) before saving on
|
||||||
|
@@ -1041,7 +1137,11 @@
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if (setjmp((png_ptr)->jmpbuf)) {
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, 0);
|
||||||
|
image = 0;
|
||||||
|
return -1;
|
||||||
|
@@ -1068,7 +1168,11 @@
|
||||||
|
|
||||||
|
if ( !png_ptr ) return 0;
|
||||||
|
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
if (setjmp(png_ptr->jmpbuf)) {
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
png_destroy_read_struct(&png_ptr, &info_ptr, 0);
|
||||||
|
image = 0;
|
||||||
|
state = MovieStart;
|
||||||
|
@@ -1128,7 +1232,11 @@
|
||||||
|
consumer->frameDone(QPoint(offx,offy),r);
|
||||||
|
consumer->end();
|
||||||
|
state = FrameStart;
|
||||||
|
+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
|
||||||
|
+ unused_data = png_process_data_pause(png, 0);
|
||||||
|
+#else /* LIBPNG 1.5 */
|
||||||
|
unused_data = (int)png->buffer_size; // Since libpng doesn't tell us
|
||||||
|
+#endif /* LIBPNG 1.5 */
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef PNG_USER_CHUNKS_SUPPORTED
|
19
libqt3-3.3.8b-odbc-x86_64.patch
Normal file
19
libqt3-3.3.8b-odbc-x86_64.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp
|
||||||
|
--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100
|
||||||
|
@@ -57,13 +57,13 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// newer platform SDKs use SQLLEN instead of SQLINTEGER
|
||||||
|
-#ifdef SQLLEN
|
||||||
|
+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||||
|
# define QSQLLEN SQLLEN
|
||||||
|
#else
|
||||||
|
# define QSQLLEN SQLINTEGER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef SQLULEN
|
||||||
|
+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||||
|
# define QSQLULEN SQLULEN
|
||||||
|
#else
|
||||||
|
# define QSQLULEN SQLUINTEGER
|
35
libqt3-3.3.8b-x86_64-gcc-4.patch
Normal file
35
libqt3-3.3.8b-x86_64-gcc-4.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
diff -urN ../tmp-orig/qt-x11-free-3.3.3/tools/qvfb/qvfbview.cpp ./tools/qvfb/qvfbview.cpp
|
||||||
|
--- ../tmp-orig/qt-x11-free-3.3.3/tools/qvfb/qvfbview.cpp 2004-04-15 14:53:25.000000000 +0200
|
||||||
|
+++ ./tools/qvfb/qvfbview.cpp 2005-01-03 11:32:45.000000000 +0100
|
||||||
|
@@ -115,7 +115,7 @@
|
||||||
|
data = (unsigned char *)shmat( shmId, 0, 0 );
|
||||||
|
}
|
||||||
|
|
||||||
|
- if ( (int)data == -1 )
|
||||||
|
+ if ( (long)data == -1 )
|
||||||
|
qFatal( "Cannot attach to shared memory" );
|
||||||
|
|
||||||
|
hdr = (QVFbHeader *)data;
|
||||||
|
diff -urN ../tmp-orig/qt-x11-free-3.3.3/examples/demo/opengl/fbm.c ./examples/demo/opengl/fbm.c
|
||||||
|
--- ../tmp-orig/qt-x11-free-3.3.3/examples/demo/opengl/fbm.c 2003-05-27 17:19:17.000000000 +0200
|
||||||
|
+++ ./examples/demo/opengl/fbm.c 2005-01-03 12:10:25.000000000 +0100
|
||||||
|
@@ -50,6 +50,8 @@
|
||||||
|
r1 = r0 - 1.;
|
||||||
|
#define at3(rx,ry,rz) ( rx * q[0] + ry * q[1] + rz * q[2] )
|
||||||
|
|
||||||
|
+static float noise3(float vec[3]);
|
||||||
|
+
|
||||||
|
/* Fractional Brownian Motion function */
|
||||||
|
|
||||||
|
double fBm( Vector point, double H, double lacunarity, double octaves,
|
||||||
|
diff -urN ../tmp-orig/qt-x11-free-3.3.3/examples/demo/opengl/fbm.h ./examples/demo/opengl/fbm.h
|
||||||
|
--- ../tmp-orig/qt-x11-free-3.3.3/examples/demo/opengl/fbm.h 2003-05-27 17:19:17.000000000 +0200
|
||||||
|
+++ ./examples/demo/opengl/fbm.h 2005-01-03 12:10:05.000000000 +0100
|
||||||
|
@@ -26,7 +26,6 @@
|
||||||
|
double z;
|
||||||
|
} Vector;
|
||||||
|
|
||||||
|
-float noise3(float vec[]);
|
||||||
|
double fBm( Vector point, double H, double lacunarity, double octaves,
|
||||||
|
int init );
|
||||||
|
#endif
|
136
libqt3-assistant.desktop
Normal file
136
libqt3-assistant.desktop
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/lib/qt3/bin/assistant
|
||||||
|
Name=Qt Assistant
|
||||||
|
Name[af]=Qt Assistent
|
||||||
|
Name[ar]=معاون Qt
|
||||||
|
Name[az]=Qt Yardımçısı
|
||||||
|
Name[bn]=কিউ-টি সহায়ক
|
||||||
|
Name[br]=Skoazeller Qt
|
||||||
|
Name[bs]=Qt Asistent
|
||||||
|
Name[ca]=Assistent Qt
|
||||||
|
Name[cs]=Qt asistent
|
||||||
|
Name[cy]=Cymhorthwr Qt
|
||||||
|
Name[de]=Qt-Assistent
|
||||||
|
Name[el]=Βοηθός Qt
|
||||||
|
Name[eo]=Qt-Asistilo
|
||||||
|
Name[es]=Asistente Qt
|
||||||
|
Name[eu]=Qt laguntzailea
|
||||||
|
Name[fa]=دستیار Qt
|
||||||
|
Name[fo]=Qt-hjálpari
|
||||||
|
Name[fy]=Qt-assistent
|
||||||
|
Name[hi]=क्यूटी सहायक
|
||||||
|
Name[hr]=Qt Asistent
|
||||||
|
Name[hsb]=Qt Asistent
|
||||||
|
Name[ja]=Qt アシスタント
|
||||||
|
Name[km]=អ្នកជំនួយការ Qt
|
||||||
|
Name[ko]=Qt 도우미
|
||||||
|
Name[lo]=ຄຳແນະນຳການໃ້ຊ້Qt
|
||||||
|
Name[lv]=Qt Asistents
|
||||||
|
Name[mk]=Qt-Асистент
|
||||||
|
Name[mn]=Qt-туслагч
|
||||||
|
Name[ms]=Pembantu Qt
|
||||||
|
Name[nds]=Qt-Hölper
|
||||||
|
Name[nl]=Qt Assistent
|
||||||
|
Name[nso]=Mothusi wa Qt
|
||||||
|
Name[pa]=Qt ਸਹਾਇਕ
|
||||||
|
Name[pt]=Assistente do Qt
|
||||||
|
Name[pt_BR]=Assistente Qt
|
||||||
|
Name[ro]=Asistent Qt
|
||||||
|
Name[ru]=Помощник Qt
|
||||||
|
Name[rw]=Umufasha Qt
|
||||||
|
Name[sl]=Pomočnik za Qt
|
||||||
|
Name[ss]=Lisekela leQt
|
||||||
|
Name[ta]=Qt துணைவன்
|
||||||
|
Name[tg]=Дастёри Qt
|
||||||
|
Name[th]=คำแนะนำการใช้ Qt
|
||||||
|
Name[tr]=Qt Asistanı
|
||||||
|
Name[uk]=Qt-асистент
|
||||||
|
Name[uz]=Qt3 ёрдамчи
|
||||||
|
Name[ven]=Qt Muthusi
|
||||||
|
Name[vi]=Trợ giúp Qt
|
||||||
|
Name[wa]=Macrea Qt
|
||||||
|
Name[xh]=Qt Umncedi
|
||||||
|
Name[zh_CN]=Qt 助手
|
||||||
|
Name[zh_TW]=Qt 助理
|
||||||
|
Name[zu]=Umsizi we-Qt
|
||||||
|
GenericName=Document Browser
|
||||||
|
GenericName[af]=Dokument Blaaier
|
||||||
|
GenericName[ar]=متصفح المستندات
|
||||||
|
GenericName[az]=Sənəd Səyyahı
|
||||||
|
GenericName[bg]=Преглед на документи
|
||||||
|
GenericName[bn]=নথী ব্রাউজার
|
||||||
|
GenericName[br]=Furcher Teulioù
|
||||||
|
GenericName[bs]=Preglednik QT dokumenata
|
||||||
|
GenericName[ca]=Navegador de documents
|
||||||
|
GenericName[cs]=Prohlížeč dokumentace
|
||||||
|
GenericName[cy]=Porydd Dogfen
|
||||||
|
GenericName[da]=Dokumentfremviser
|
||||||
|
GenericName[de]=Dokumentbrowser
|
||||||
|
GenericName[el]=Προβολέας εγγράφων
|
||||||
|
GenericName[eo]=Dokumentorigardilo
|
||||||
|
GenericName[es]=Navegador de documentos
|
||||||
|
GenericName[et]=Dokumentatsiooni brauser
|
||||||
|
GenericName[eu]=Dokumentu arakatzailea
|
||||||
|
GenericName[fa]=مرورگر سند
|
||||||
|
GenericName[fi]=Asiakirjaselain
|
||||||
|
GenericName[fo]=Skjalakagari
|
||||||
|
GenericName[fr]=Explorateur de documentation Qt
|
||||||
|
GenericName[fy]=Dokumintblêder
|
||||||
|
GenericName[ga]=Brabhsálaí Cáipéise
|
||||||
|
GenericName[gl]=Navegador de Documentos
|
||||||
|
GenericName[he]=דפדפן מסמכים
|
||||||
|
GenericName[hi]=दस्तावेज़ ब्राउज़रज़र
|
||||||
|
GenericName[hr]=Preglednik dokumenata
|
||||||
|
GenericName[hu]=Dokumentumböngésző
|
||||||
|
GenericName[id]=Peselancar Document
|
||||||
|
GenericName[is]=Skjalavafri
|
||||||
|
GenericName[it]=Visualizzatore di documenti
|
||||||
|
GenericName[ja]=ドキュメントブラウザ
|
||||||
|
GenericName[km]=កម្មវិធីរុករកឯកសារ
|
||||||
|
GenericName[ko]=문서 탐색기
|
||||||
|
GenericName[lo]=ເຄື່ອງມືເລືອກເບິ່ງແຟ້ມເອກະສານ
|
||||||
|
GenericName[lt]=Dokumentų naršyklė
|
||||||
|
GenericName[lv]=Dokumentu Pārlūks
|
||||||
|
GenericName[mk]=Прелистувач на документи
|
||||||
|
GenericName[mn]=Баримтын хөтөч
|
||||||
|
GenericName[ms]=Pelungsur Dokumen
|
||||||
|
GenericName[mt]=Browser ta' Dokumenti
|
||||||
|
GenericName[nb]=Dokumentleser
|
||||||
|
GenericName[nds]=Dokmentkieker
|
||||||
|
GenericName[nl]=Documentbrowser
|
||||||
|
GenericName[nn]=Dokumentlesar
|
||||||
|
GenericName[nso]=Seinyakisi sa Tokomane
|
||||||
|
GenericName[pa]=ਦਸਤਾਵੇਜ਼ ਝਲਕਾਰਾ
|
||||||
|
GenericName[pl]=Przeglądarka dokumentów
|
||||||
|
GenericName[pt]=Navegador de Documentos
|
||||||
|
GenericName[pt_BR]=Navegador de Documentos
|
||||||
|
GenericName[ro]=Navigator de documente
|
||||||
|
GenericName[ru]=Программа просмотра документов
|
||||||
|
GenericName[rw]=Mucukumbuzi w'Inyandiko
|
||||||
|
GenericName[se]=Dokumeantalogan
|
||||||
|
GenericName[sk]=Prehliadač dokumentácie
|
||||||
|
GenericName[sl]=Pregledovalnik dokumentov
|
||||||
|
GenericName[sr]=Прегледач докумената
|
||||||
|
GenericName[sr@Latn]=Pregledač dokumenata
|
||||||
|
GenericName[ss]=Ibrawuza yelidokhumente
|
||||||
|
GenericName[sv]=Dokumentbläddrare
|
||||||
|
GenericName[ta]=ஆவண உலாவி
|
||||||
|
GenericName[tg]=Тафсири ҳуҷҷат
|
||||||
|
GenericName[th]=เครื่องมือเลือกดูแฟ้มเอกสาร
|
||||||
|
GenericName[tr]=Belge Tarayıcısı
|
||||||
|
GenericName[tt]=İstälek Küzätüçe
|
||||||
|
GenericName[uk]=Навігатор документів
|
||||||
|
GenericName[uz]=Ҳужжат браузери
|
||||||
|
GenericName[ven]=Buronza ya manwalwa
|
||||||
|
GenericName[vi]=Trình duyệt tài liệu
|
||||||
|
GenericName[wa]=Foyteu di documints
|
||||||
|
GenericName[xh]=Umkhangeli Wencwadi Zoxwebhu
|
||||||
|
GenericName[zh_CN]=文档浏览器
|
||||||
|
GenericName[zh_TW]=文件閱讀器
|
||||||
|
GenericName[zu]=Umcingi Woshicilelo
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
Icon=assistant
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;X-Development-Qt3;
|
133
libqt3-designer.desktop
Normal file
133
libqt3-designer.desktop
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/lib/qt3/bin/designer
|
||||||
|
Name=Qt Designer
|
||||||
|
Name[af]=Qt Ontwerper
|
||||||
|
Name[ar]=مصمم Qt
|
||||||
|
Name[bn]=কিউ-টি ডিসাইনার
|
||||||
|
Name[br]=Ergrafer Qt
|
||||||
|
Name[ca]=Dissenyador Qt
|
||||||
|
Name[cs]=Qt designer
|
||||||
|
Name[cy]=Dylunydd Qt
|
||||||
|
Name[de]=Qt-Designer
|
||||||
|
Name[eo]=Qt-Desegnilo
|
||||||
|
Name[es]=Diseñador Qt
|
||||||
|
Name[eu]=Qt diseinatzailea
|
||||||
|
Name[fa]=Qt طراح
|
||||||
|
Name[gl]=Deseñador de Qt
|
||||||
|
Name[hi]=क्यूटी डिज़ाइनर
|
||||||
|
Name[hr]=Qt Dizajner
|
||||||
|
Name[hsb]=Qt designer
|
||||||
|
Name[is]=Qt hönnuðurinn
|
||||||
|
Name[it]=Designer Qt
|
||||||
|
Name[ja]=Qt デザイナー
|
||||||
|
Name[km]=កម្មវិធីរចនា Qt
|
||||||
|
Name[ko]=Qt 디자이너
|
||||||
|
Name[lo]=ອອກແບບສ່ວນຕິດຕໍ່ຜູ້ໃຊ້ສຳຫັລບ Qt
|
||||||
|
Name[lv]=Qt Dizainers
|
||||||
|
Name[mk]=Qt-Дизајнер
|
||||||
|
Name[mn]=Qt-Дизайнер
|
||||||
|
Name[ms]=Pembantu Qt
|
||||||
|
Name[mt]=Diżinjatur Qt
|
||||||
|
Name[nds]=Qt-Designer
|
||||||
|
Name[nso]=Mohlami wa Qt
|
||||||
|
Name[oc]=Dessinador Qt
|
||||||
|
Name[pa]=Qt ਡਿਜ਼ਾਈਨਰ
|
||||||
|
Name[rw]=Umuhanzi Qt
|
||||||
|
Name[sl]=Snovalnik Qt
|
||||||
|
Name[ss]=Umhleli weQt
|
||||||
|
Name[sv]=Qt designer
|
||||||
|
Name[ta]=Qt வடிவமைப்பாளர்
|
||||||
|
Name[tg]=Тароҳи Qt
|
||||||
|
Name[th]=ออกแบบส่วนติดต่อผู้ใช้สำหรับ Qt
|
||||||
|
Name[tr]=Qt Tasarımcı
|
||||||
|
Name[tt]=Qt Tözüçe
|
||||||
|
Name[uk]=Дизайнер Qt
|
||||||
|
Name[uz]=Qt3 дизайнер
|
||||||
|
Name[ven]=Qt Mufhati
|
||||||
|
Name[vi]=Trình thiết kế Qt
|
||||||
|
Name[xh]=Umyili we Qt
|
||||||
|
Name[zh_CN]=Qt 设计器
|
||||||
|
Name[zh_TW]=Qt 設計師
|
||||||
|
Name[zu]=Umakhi we-Qt
|
||||||
|
GenericName=Interface Designer
|
||||||
|
GenericName[af]=Koppelvlak Ontwerper
|
||||||
|
GenericName[ar]=مصمم واجهات إستخدام
|
||||||
|
GenericName[az]=Ara Üz Tərtibçisi
|
||||||
|
GenericName[bn]=ইন্টারফেস পরিকল্পনা
|
||||||
|
GenericName[br]=Ergrafer etrefas
|
||||||
|
GenericName[bs]=Qt alat za dizajniranje interfejsa
|
||||||
|
GenericName[ca]=Dissenyador d'interfícies
|
||||||
|
GenericName[cs]=Návrhář rozhraní
|
||||||
|
GenericName[cy]=Dylunydd Rhyngwyneb
|
||||||
|
GenericName[da]=Grænsefladedesigner
|
||||||
|
GenericName[de]=Schnittstellendesigner
|
||||||
|
GenericName[el]=Σχεδιαστής διασυνδέσεων
|
||||||
|
GenericName[eo]=Interfacdesegnilo
|
||||||
|
GenericName[es]=Diseñador de interfaces
|
||||||
|
GenericName[et]=Kasutajaliidese disainer
|
||||||
|
GenericName[eu]=Interfaze diseinatzailea
|
||||||
|
GenericName[fa]=طراح واسط
|
||||||
|
GenericName[fi]=Käyttöliittymäsuunnittelija
|
||||||
|
GenericName[fo]=Nýtaramótssniðari
|
||||||
|
GenericName[fr]=Concepteur d'interface
|
||||||
|
GenericName[fy]=Ynterface-ûntwerper
|
||||||
|
GenericName[ga]=Dearthóir Comhéadain
|
||||||
|
GenericName[gl]=Deseñador de Interfaces
|
||||||
|
GenericName[he]=מעצב ממשקים
|
||||||
|
GenericName[hi]=इंटरफेस डिज़ाइनर
|
||||||
|
GenericName[hr]=Dizajner sučelja
|
||||||
|
GenericName[hu]=Felülettervező
|
||||||
|
GenericName[id]=Perancang Antarmuka
|
||||||
|
GenericName[is]=Viðmótshönnun
|
||||||
|
GenericName[it]=Disegnatore di interfacce
|
||||||
|
GenericName[ja]=インターフェースデザイナー
|
||||||
|
GenericName[km]=កម្មវិធីរចនាចំណុចប្រទាក់
|
||||||
|
GenericName[ko]=인터페이스 디자이너
|
||||||
|
GenericName[lo]=ເຄື່ອງມືອອກແບບສ່ວນຕິດຕໍ່ຜູ້ໃຊ້
|
||||||
|
GenericName[lt]=Sąsajos kūrimo programa
|
||||||
|
GenericName[lv]=Saskarnes Dizainers
|
||||||
|
GenericName[mk]=Дизајнер на интерфејси
|
||||||
|
GenericName[mn]=Гадаргуун дизайнер
|
||||||
|
GenericName[ms]=Pereka Antaramuka
|
||||||
|
GenericName[mt]=Diżinjatur tal-interfaċċji
|
||||||
|
GenericName[nb]=Utforming av grensesnitt
|
||||||
|
GenericName[nds]=Koppelsteed-Maker
|
||||||
|
GenericName[nl]=Interface-ontwerper
|
||||||
|
GenericName[nn]=Utforming av grensesnitt
|
||||||
|
GenericName[nso]=Mohlami wa Interface
|
||||||
|
GenericName[pa]=ਇੰਟਰਫੇਸ਼ ਡਿਜ਼ਾਈਨਰ
|
||||||
|
GenericName[pl]=Projektant interfejsu
|
||||||
|
GenericName[pt]=Editor de Interfaces
|
||||||
|
GenericName[pt_BR]=Interface do Designer
|
||||||
|
GenericName[ro]=Dezvoltator de interfeţe
|
||||||
|
GenericName[ru]=Редактор интерфейса приложений Qt
|
||||||
|
GenericName[rw]=Umuhanzi w'Imigaragarire
|
||||||
|
GenericName[se]=Laktahábmejeaddji
|
||||||
|
GenericName[sk]=Návrh rozhrania
|
||||||
|
GenericName[sl]=Snovalnik vmesnikov
|
||||||
|
GenericName[sr]=Дизајнер интерфејса
|
||||||
|
GenericName[sr@Latn]=Dizajner interfejsa
|
||||||
|
GenericName[ss]=Umhleli wesichumanisi
|
||||||
|
GenericName[sv]=Gränssnittseditor
|
||||||
|
GenericName[ta]=முகப்புப் வடிவமைப்பாளர்
|
||||||
|
GenericName[tg]=Тароҳи робита
|
||||||
|
GenericName[th]=เครื่องมือออกแบบส่วนติดต่อผู้ใช้
|
||||||
|
GenericName[tr]=Arayüz tasarım programı
|
||||||
|
GenericName[tt]=Yözara Tözegeç
|
||||||
|
GenericName[uk]=Дизайн інтерфейсу
|
||||||
|
GenericName[uz]=Интерфейс дизайнери
|
||||||
|
GenericName[ven]=Muvhati wa nga Phanda
|
||||||
|
GenericName[vi]=Trình thiết kế giao diện
|
||||||
|
GenericName[wa]=Dessineu d' eterfaces
|
||||||
|
GenericName[xh]=Umyili Wezojongongano
|
||||||
|
GenericName[zh_CN]=界面设计器
|
||||||
|
GenericName[zh_TW]=界面設計師
|
||||||
|
GenericName[zu]=Umakhi Womxhumanisi
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
MimeType=application/x-designer
|
||||||
|
Icon=designer
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;X-Development-Qt3;
|
||||||
|
|
5
libqt3-development-qt3.directory
Normal file
5
libqt3-development-qt3.directory
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Qt3
|
||||||
|
Icon=qt3-logo
|
||||||
|
SortOrder=
|
10
libqt3-development-qt3.menu
Normal file
10
libqt3-development-qt3.menu
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
|
||||||
|
<Menu><Name>Applications</Name>
|
||||||
|
<Menu><Name>Development</Name>
|
||||||
|
<Menu><Name>Qt3</Name>
|
||||||
|
<Directory>development-qt3.directory</Directory>
|
||||||
|
<Include><Category>X-Development-Qt3</Category></Include>
|
||||||
|
</Menu>
|
||||||
|
</Menu>
|
||||||
|
</Menu>
|
128
libqt3-linguist.desktop
Normal file
128
libqt3-linguist.desktop
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/lib/qt3/bin/linguist
|
||||||
|
Name=Qt Linguist
|
||||||
|
Name[ar]=لغوي Qt
|
||||||
|
Name[bn]=কিউ-টি লিঙ্গুইস্ট
|
||||||
|
Name[ca]=Lingüista Qt
|
||||||
|
Name[cy]=Ieithydd Qt
|
||||||
|
Name[de]=Qt-Linguist
|
||||||
|
Name[eo]=Qt-Lingvisto
|
||||||
|
Name[es]=Lingüista Qt
|
||||||
|
Name[fa]=Qt زبانشناس
|
||||||
|
Name[fi]=Qt Linquist
|
||||||
|
Name[fy]=Qt Linquist
|
||||||
|
Name[gl]=Lingüista Qt
|
||||||
|
Name[hi]=क्यूटी लिंग्विस्ट
|
||||||
|
Name[hr]=Qt Lingvist
|
||||||
|
Name[km]=ភាសាវិទូ Qt
|
||||||
|
Name[ko]=Qt 언어학자
|
||||||
|
Name[lo]=ແປພາສາຂອງ Qt
|
||||||
|
Name[lv]=Qt Lingvists
|
||||||
|
Name[mk]=Qt-Јазичар
|
||||||
|
Name[mn]=Qt-Хэл зүй
|
||||||
|
Name[ms]=Jurubahasa Qt
|
||||||
|
Name[mt]=Lingwist Qt
|
||||||
|
Name[nb]=Qt-Linguist
|
||||||
|
Name[nds]=Qt-Linguist
|
||||||
|
Name[nl]=Qt Linquist
|
||||||
|
Name[nso]=Sekaleleme sa Qt
|
||||||
|
Name[pa]=Qt ਲੈਂਗੂਇਸਟ
|
||||||
|
Name[pl]=Lingwista Qt
|
||||||
|
Name[ru]=Qt Лингвист
|
||||||
|
Name[rw]=Byindimi Qt
|
||||||
|
Name[sl]=Jezikoslovec Qt
|
||||||
|
Name[sv]=Qt linguist
|
||||||
|
Name[ta]=Qt மொழியறிஞர்
|
||||||
|
Name[tg]=Забони Qt
|
||||||
|
Name[th]=แปลภาษาของ Qt
|
||||||
|
Name[tr]=Qt Dilci
|
||||||
|
Name[tt]=Qt Telbelgeç
|
||||||
|
Name[uk]=Qt-лінгвіст
|
||||||
|
Name[uz]=Qt лингвист
|
||||||
|
Name[ven]=Qt Radzinyambo
|
||||||
|
Name[vi]=Ngôn ngữ Qt
|
||||||
|
Name[xh]=Usolwimi we Qt
|
||||||
|
Name[zh_CN]=Qt 语言家
|
||||||
|
Name[zh_TW]=Qt 語言學家
|
||||||
|
Name[zu]=Owozolimi we-Qt
|
||||||
|
GenericName=Translation Tool
|
||||||
|
GenericName[af]=Vertaling Program
|
||||||
|
GenericName[ar]=أداة للترجمة
|
||||||
|
GenericName[az]=Tərcümə Vasitəsi
|
||||||
|
GenericName[bn]=অনুবাদ টুল
|
||||||
|
GenericName[br]=Ostilh troidigezh
|
||||||
|
GenericName[bs]=Alat za prevođenje
|
||||||
|
GenericName[ca]=Eina de traducció
|
||||||
|
GenericName[cs]=Překladatelský nástroj
|
||||||
|
GenericName[cy]=Erfyn Cyfieithu
|
||||||
|
GenericName[da]=Oversættelsesværktøj
|
||||||
|
GenericName[de]=Übersetzungsprogramm
|
||||||
|
GenericName[el]=Εργαλείο μεταφράσεων
|
||||||
|
GenericName[eo]=Tradukilo por Qt-programoj
|
||||||
|
GenericName[es]=Herramienta de traducción
|
||||||
|
GenericName[et]=Tõlkimise rakendus
|
||||||
|
GenericName[eu]=Itzulpenerako tresnak
|
||||||
|
GenericName[fa]=ابزار ترجمه
|
||||||
|
GenericName[fi]=Käännöstyökalu
|
||||||
|
GenericName[fo]=Umsetingaramboð
|
||||||
|
GenericName[fr]=Outil de traduction
|
||||||
|
GenericName[fy]=Fertaalprogramma
|
||||||
|
GenericName[ga]=Uirlis Aistriúcháin
|
||||||
|
GenericName[gl]=Ferramenta de Tradución
|
||||||
|
GenericName[he]=כלי תרגום
|
||||||
|
GenericName[hi]=अनुवाद औज़ार
|
||||||
|
GenericName[hr]=Alat za prevođenje
|
||||||
|
GenericName[hsb]=Grat za přełožowanje
|
||||||
|
GenericName[hu]=Fordítássegítő
|
||||||
|
GenericName[id]=Kakas Penerjemah
|
||||||
|
GenericName[is]=Þýðingartól
|
||||||
|
GenericName[it]=Strumento per le traduzioni
|
||||||
|
GenericName[ja]=翻訳ツール
|
||||||
|
GenericName[km]=កម្មវិធីបកប្រែ
|
||||||
|
GenericName[ko]=번역 도구
|
||||||
|
GenericName[lo]=ເຄື່ອງມືແປພາສາ
|
||||||
|
GenericName[lt]=Vertimo įrankis
|
||||||
|
GenericName[lv]=Tulkošanas Rīks
|
||||||
|
GenericName[mk]=Алатка за преведување
|
||||||
|
GenericName[mn]=Орчуулгын програм
|
||||||
|
GenericName[ms]=Perkakasan Penterjemahan
|
||||||
|
GenericName[mt]=Għodda tat-traduzzjoni
|
||||||
|
GenericName[nb]=Oversettelsesverktøy
|
||||||
|
GenericName[nds]=Warktüüch för't Översetten
|
||||||
|
GenericName[nl]=Vertaalprogramma
|
||||||
|
GenericName[nn]=Omsetjingsverktøy
|
||||||
|
GenericName[nso]=Sebereka sa Thlathollo
|
||||||
|
GenericName[pa]=ਅਨੁਵਾਦ ਸੰਦ
|
||||||
|
GenericName[pl]=Narzędzie dla tłumaczy
|
||||||
|
GenericName[pt]=Ferramenta de Tradução
|
||||||
|
GenericName[pt_BR]=Ferramenta de Tradução
|
||||||
|
GenericName[ro]=Utilitar de traducere
|
||||||
|
GenericName[ru]=Переводчик для Qt
|
||||||
|
GenericName[se]=Jorgalanreaidu
|
||||||
|
GenericName[sk]=Prekladací nástroj
|
||||||
|
GenericName[sl]=Orodje za prevajanje
|
||||||
|
GenericName[sr]=Алат за превођење
|
||||||
|
GenericName[sr@Latn]=Alat za prevođenje
|
||||||
|
GenericName[ss]=Lithulusi lekuhumusha
|
||||||
|
GenericName[sv]=Översättningsverktyg
|
||||||
|
GenericName[ta]=மொழிபெயர்ப்புக் கருவி
|
||||||
|
GenericName[tg]=Тарҷумагар барои QT
|
||||||
|
GenericName[th]=เครื่องมือแปลภาษา
|
||||||
|
GenericName[tr]=Çeviri Aracı
|
||||||
|
GenericName[tt]=Tärcemäläw Qoralı
|
||||||
|
GenericName[uk]=Засіб для перекладів
|
||||||
|
GenericName[uz]=Таржима қилиш воситаси
|
||||||
|
GenericName[ven]=Zwishumiswa zwau Dologa
|
||||||
|
GenericName[vi]=Công cụ dịch
|
||||||
|
GenericName[wa]=Usteye di ratournaedje
|
||||||
|
GenericName[xh]=Isixhobo Soguqulelo lomsebenzi kolunye ulwimi
|
||||||
|
GenericName[zh_CN]=翻译工具
|
||||||
|
GenericName[zh_TW]=翻譯工具
|
||||||
|
GenericName[zu]=Ithuluzi Lokuguqulela
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
MimeType=application/x-linguist
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=linguist
|
||||||
|
Categories=Qt;X-Development-Qt3;
|
6
libqt3-profile.csh
Normal file
6
libqt3-profile.csh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# QT3 environment definitions
|
||||||
|
|
||||||
|
set qt3_prefix=/usr/lib/qt3
|
||||||
|
|
||||||
|
setenv QTDIR $qt3_prefix
|
||||||
|
setenv QMAKESPEC linux-g++
|
6
libqt3-profile.sh
Normal file
6
libqt3-profile.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# QT3 environment definitions
|
||||||
|
|
||||||
|
qt3_prefix=/usr/lib/qt3
|
||||||
|
|
||||||
|
QTDIR=$qt3_prefix ; export QTDIR
|
||||||
|
QMAKESPEC=linux-g++ ; export QMAKESPEC
|
BIN
libqt3-qt3logo-icon128x128.png
Normal file
BIN
libqt3-qt3logo-icon128x128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
11
libqt3-qvfb.desktop
Normal file
11
libqt3-qvfb.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/lib/qt3/bin/qvfb
|
||||||
|
Name=qvfb
|
||||||
|
GenericName=QT Virtual Framebuffer
|
||||||
|
GenericName[it]=Framebuffer Virtuale QT
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=designer
|
||||||
|
Categories=Qt;X-Development-Qt3;
|
627
libqt3.spec
Normal file
627
libqt3.spec
Normal file
@ -0,0 +1,627 @@
|
|||||||
|
%define _qt3_prefix %{_libdir}/qt3
|
||||||
|
%define _qt3_bindir %{_qt3_prefix}/bin
|
||||||
|
%define _qt3_datadir %{_qt3_prefix}
|
||||||
|
%define _qt3_docdir %{_datadir}/qt3/doc
|
||||||
|
%define _qt3_examplesdir %{_qt3_datadir}/examples
|
||||||
|
%define _qt3_headerdir %{_qt3_prefix}/include
|
||||||
|
%define _qt3_libdir %{_qt3_prefix}/lib
|
||||||
|
%define _qt3_plugindir %{_qt3_prefix}/plugins
|
||||||
|
%define _qt3_translationdir %{_qt3_prefix}/translations
|
||||||
|
|
||||||
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||||||
|
|
||||||
|
%define enable_hidden_visibility 1
|
||||||
|
%define USE_DISTCC 0
|
||||||
|
|
||||||
|
%if "%{USE_DISTCC}" == "1"
|
||||||
|
%define DISTCC CC="ccache distcc" CXX="ccache distcc" -j 12
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: libqt3
|
||||||
|
Version: 3.3.8b
|
||||||
|
Release: 5mamba
|
||||||
|
Summary: A multiplatform, C++ application development framework
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.trolltech.com
|
||||||
|
Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-free-%{version}.tar.gz
|
||||||
|
Source1: qt-qtrcskel
|
||||||
|
Source3: libqt3-qt3logo-icon128x128.png
|
||||||
|
Source4: libqt3-development-qt3.menu
|
||||||
|
Source5: libqt3-development-qt3.directory
|
||||||
|
Source6: libqt3-designer.desktop
|
||||||
|
#Source7: libqt3-designer-icon22x22.png
|
||||||
|
Source8: libqt3-assistant.desktop
|
||||||
|
#Source9: libqt3-assistant-icon22x22.png
|
||||||
|
Source10: libqt3-linguist.desktop
|
||||||
|
#Source11: libqt3-linguist-icon22x22.png
|
||||||
|
Source12: libqt3-qvfb.desktop
|
||||||
|
Source20: libqt3-profile.sh
|
||||||
|
Source21: libqt3-profile.csh
|
||||||
|
Patch0: libqt-3.3.4-gcc4.patch
|
||||||
|
Patch1: libqt-3.3.4-gcc4-buildkey.patch
|
||||||
|
Patch2: libqt-3.3.4-qt-visibility.patch
|
||||||
|
Patch3: libqt-3.3.5-tools.patch
|
||||||
|
Patch4: libqt-3.3.5-MAXFONTSIZE_XFT.patch
|
||||||
|
# Immmodule patch got from http://people.freedesktop.org/~daisuke/
|
||||||
|
Patch5: qt-x11-immodule-unified-qt3.3.8-20071116.diff.bz2
|
||||||
|
Patch6: libqt-3.3.8-gcc43.patch
|
||||||
|
Patch7: libqt-3.3.8b-png14.patch
|
||||||
|
Patch8: libqt-3.3.8b-arm-gcc4.patch
|
||||||
|
Patch9: libqt-3.3.8b-gcc-4.6.patch
|
||||||
|
Patch10: libqt3-3.3.8b-libpng15.patch
|
||||||
|
Patch11: libqt3-3.3.8b-odbc-x86_64.patch
|
||||||
|
Patch12: libqt3-3.3.8b-x86_64-gcc-4.patch
|
||||||
|
License: GPL, QPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libfontconfig-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libGLU-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libmng-devel
|
||||||
|
BuildRequires: libmysql-devel
|
||||||
|
BuildRequires: libodbc-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libpostgresql-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXcursor-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXft-devel
|
||||||
|
BuildRequires: libXinerama-devel
|
||||||
|
BuildRequires: libXmu-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: xorg-proto-devel
|
||||||
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: libcups-devel
|
||||||
|
BuildRequires: ccache
|
||||||
|
%if "%{USE_DISTCC}" == "1"
|
||||||
|
BuildRequires: distcc
|
||||||
|
%endif
|
||||||
|
Provides: qt = %{version}, libqt = %{version}, qt3 = %{version}
|
||||||
|
Requires: setup >= 1.1.14
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
Qt is available under several different licenses:
|
||||||
|
see http://www.trolltech.com/products/qt/licenses
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Devel files for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: libqt-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the development files.
|
||||||
|
|
||||||
|
%package -n qt-designer
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development tool for QT
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n qt-designer
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains a GUI development tool.
|
||||||
|
|
||||||
|
%package postgresql
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: PostgreSQL plugin for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description postgresql
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the PostgreSQL plugin.
|
||||||
|
|
||||||
|
%package mysql
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: MySQL plugin for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description mysql
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the MySQL plugin.
|
||||||
|
|
||||||
|
%package odbc
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: ODBC plugin for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description odbc
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the ODBC plugin.
|
||||||
|
|
||||||
|
%package sqlite
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: SQLite plugin for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description sqlite
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the SQLite plugin.
|
||||||
|
|
||||||
|
%package inputmethods
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Input methods plugins for QT libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description inputmethods
|
||||||
|
Qt sets the standard for high-performance, cross-platform application development.
|
||||||
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
||||||
|
|
||||||
|
This package contains the Input Methods plugins.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n qt-x11-free-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%if %{enable_hidden_visibility}
|
||||||
|
%patch2 -p1 -b .hidden_visibility
|
||||||
|
%endif
|
||||||
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
ln -s ../src/inputmethod/qinputcontextfactory.h include/qinputcontextfactory.h
|
||||||
|
ln -s ../src/inputmethod/qinputcontextplugin.h include/qinputcontextplugin.h
|
||||||
|
ln -s ../src/kernel/qinputcontext.h include/qinputcontext.h
|
||||||
|
|
||||||
|
%ifarch arm
|
||||||
|
%patch8 -p1
|
||||||
|
%endif
|
||||||
|
%patch9 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
%ifarch x86_64
|
||||||
|
%patch11 -p1
|
||||||
|
%patch12 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
export QTDIR=`pwd`
|
||||||
|
export PATH=$QTDIR/bin:$PATH
|
||||||
|
export MANPATH=$QTDIR/doc/man:$MANPATH
|
||||||
|
export LD_LIBRARY_PATH=$QTDIR/lib:%{_libdir}:$LD_LIBRARY_PATH
|
||||||
|
export QMAKE_LIBDIR_X11=%{_libdir}
|
||||||
|
export QMAKE_INCDIR_OPENGL=%{_includedir}
|
||||||
|
export QMAKE_LIBDIR_OPENGL=%{_libdir}
|
||||||
|
|
||||||
|
# fix postgresql includes location
|
||||||
|
sed -i "\
|
||||||
|
s|postgres.h|postgresql/server/postgres.h|;\
|
||||||
|
s|catalog/pg_type.h|postgresql/server/catalog/pg_type.h|;\
|
||||||
|
s|mysql.h|mysql/mysql.h|" configure
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
-prefix %{_qt3_prefix} \
|
||||||
|
-libdir %{_qt3_libdir} \
|
||||||
|
-docdir %{_qt3_docdir} \
|
||||||
|
-L %{_libdir} \
|
||||||
|
-release \
|
||||||
|
-qvfb \
|
||||||
|
-shared \
|
||||||
|
-no-nas-sound \
|
||||||
|
%ifarch x86_64
|
||||||
|
-platform linux-g++-64 \
|
||||||
|
%else
|
||||||
|
-platform linux-g++ \
|
||||||
|
%endif
|
||||||
|
-enable-tools \
|
||||||
|
-enable-kernel \
|
||||||
|
-enable-widgets \
|
||||||
|
-enable-dialogs \
|
||||||
|
-enable-iconview \
|
||||||
|
-enable-workspace \
|
||||||
|
-enable-network \
|
||||||
|
-enable-canvas \
|
||||||
|
-enable-table \
|
||||||
|
-enable-xml \
|
||||||
|
-enable-opengl \
|
||||||
|
-enable-sql \
|
||||||
|
-qt-imgfmt-png \
|
||||||
|
-qt-imgfmt-jpeg \
|
||||||
|
-qt-imgfmt-mng \
|
||||||
|
-qt-gif \
|
||||||
|
-sm \
|
||||||
|
-xinerama \
|
||||||
|
-xrender \
|
||||||
|
-xft \
|
||||||
|
-no-tablet \
|
||||||
|
-system-libpng \
|
||||||
|
-system-libmng \
|
||||||
|
-system-zlib \
|
||||||
|
-system-libjpeg \
|
||||||
|
-no-g++-exceptions \
|
||||||
|
-thread \
|
||||||
|
-plugin-sql-psql \
|
||||||
|
-plugin-sql-odbc \
|
||||||
|
-plugin-sql-mysql \
|
||||||
|
-plugin-sql-sqlite \
|
||||||
|
-v << EOF
|
||||||
|
yes
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sed -i "s|INCPATH = | INCPATH = -I/usr/include/postgresql/server |" \
|
||||||
|
plugins/src/sqldrivers/psql/Makefile
|
||||||
|
sed -i "s|INCPATH = | INCPATH = -I/usr/include/mysql |" \
|
||||||
|
plugins/src/sqldrivers/mysql/Makefile
|
||||||
|
|
||||||
|
# remove rpath information from uic executable
|
||||||
|
sed -i "s/[^ ]*-rpath[^ ]*//g" tools/designer/uic/Makefile
|
||||||
|
|
||||||
|
# fix xml libraries requirement
|
||||||
|
%make SUBLIBS=-lexpat %{?DISTCC}
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
install -d %{buildroot}%{_sysconfdir}/skel/.qt
|
||||||
|
cp %{S:1} %{buildroot}%{_sysconfdir}/skel/.qt/qtrc
|
||||||
|
sed -i "s|%_QTVER|%{majversion}|" %{buildroot}%{_sysconfdir}/skel/.qt/qtrc
|
||||||
|
|
||||||
|
install -D -m644 %{S:3} \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qt3-logo.png
|
||||||
|
install -D -m644 %{S:4} \
|
||||||
|
%{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/development-qt3.menu
|
||||||
|
install -D -m644 %{S:5} \
|
||||||
|
%{buildroot}%{_datadir}/desktop-directories/development-qt3.directory
|
||||||
|
|
||||||
|
install -D -m644 %{S:6} \
|
||||||
|
%{buildroot}%{_datadir}/applications/designer.desktop
|
||||||
|
#install -D -m644 %{S:7} \
|
||||||
|
# %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/designer.png
|
||||||
|
|
||||||
|
install -D -m644 %{S:8} \
|
||||||
|
%{buildroot}%{_datadir}/applications/assistant.desktop
|
||||||
|
#install -D -m644 %{S:9} \
|
||||||
|
# %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/assistant.png
|
||||||
|
|
||||||
|
install -D -m644 %{S:10} \
|
||||||
|
%{buildroot}%{_datadir}/applications/linguist.desktop
|
||||||
|
#install -D -m644 %{S:11} \
|
||||||
|
# %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/linguist.png
|
||||||
|
|
||||||
|
install -D -m644 %{S:12} \
|
||||||
|
%{buildroot}%{_datadir}/applications/qvfb.desktop
|
||||||
|
|
||||||
|
install -D -m755 %{S:20} \
|
||||||
|
%{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
|
||||||
|
install -D -m755 %{S:21} \
|
||||||
|
%{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
|
||||||
|
|
||||||
|
## move binaries to bindir
|
||||||
|
#install -d %{buildroot}%{_bindir}
|
||||||
|
#ln -sf \
|
||||||
|
#%{_qt3_bindir}/{qtconfig,assistant,designer,linguist,lrelease,lupdate,moc,qm2ts,qmake,uic,qembed,qvfb} \
|
||||||
|
# %{buildroot}/usr/bin
|
||||||
|
|
||||||
|
# fix a qmake install error with qt 3.3.3
|
||||||
|
rm -f %{buildroot}%{_qt3_bindir}/qmake
|
||||||
|
cp qmake/qmake %{buildroot}%{_qt3_bindir}/
|
||||||
|
|
||||||
|
# remove a wrong symlink
|
||||||
|
%ifnarch x86_64
|
||||||
|
rm %{buildroot}%{_qt3_prefix}/mkspecs/linux-g++/linux-g++
|
||||||
|
%endif
|
||||||
|
|
||||||
|
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{_qt3_libdir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
|
|
||||||
|
install -D -m 644 lib/qt-mt.pc %{buildroot}%{_libdir}/pkgconfig/qt-mt.pc
|
||||||
|
#rm -f %{buildroot}%{_qt3_prefix}/lib/pkgconfig/qt-mt.pc
|
||||||
|
|
||||||
|
# install file with rpm macros
|
||||||
|
install -d %{buildroot}%{_sysconfdir}/rpm
|
||||||
|
echo "\
|
||||||
|
%%_qt3_version %{version}
|
||||||
|
%%_qt3_prefix %%{_libdir}/qt3
|
||||||
|
%%_qt3_bindir %%{_qt3_prefix}/bin
|
||||||
|
%%_qt3_datadir %%{_qt3_prefix}
|
||||||
|
%%_qt3_docdir %%{_datadir}/qt3/doc
|
||||||
|
%%_qt3_examplesdir %%{_qt3_datadir}/examples
|
||||||
|
%%_qt3_headerdir %%{_qt3_prefix}/include
|
||||||
|
%%_qt3_libdir %%{_qt3_prefix}/lib
|
||||||
|
%%_qt3_plugindir %%{_qt3_prefix}/plugins
|
||||||
|
%%_qt3_translationdir %%{_qt3_prefix}/translations
|
||||||
|
%%_qt3_qmake %%{_qt3_bindir}/qmake" \
|
||||||
|
> %{buildroot}%{_sysconfdir}/rpm/macros.qt3
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
|
if [ -w /etc/ld.so.conf ]; then
|
||||||
|
if [ -d /etc/ld.so.conf.d ]; then
|
||||||
|
sed -i "\|^%{_qt3_libdir}$|d" /etc/ld.so.conf
|
||||||
|
else
|
||||||
|
grep -q "^%{_qt3_libdir}$" /etc/ld.so.conf ||
|
||||||
|
echo "%{_qt3_libdir}" >> /etc/ld.so.conf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
/sbin/ldconfig
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
if [ -w /etc/ld.so.conf ]; then
|
||||||
|
sed -i "\|^%{_qt3_libdir}$|d" /etc/ld.so.conf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
/sbin/ldconfig
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%pre devel
|
||||||
|
# delete directory mkspecs/default because it will be replaced by a
|
||||||
|
# symlink and RPM complains about this
|
||||||
|
[ -d /usr/lib/qt3/mkspecs/default/ ] && rm -rf %{_qt3_prefix}/mkspecs/default
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
#%{_bindir}/qtconfig
|
||||||
|
%dir %{_qt3_libdir}
|
||||||
|
%{_qt3_libdir}/*.so.*
|
||||||
|
%{_qt3_prefix}/phrasebooks/*
|
||||||
|
%{_qt3_bindir}/qtconfig
|
||||||
|
%config(noreplace) %{_sysconfdir}/skel/.qt/qtrc
|
||||||
|
%dir %{_qt3_translationdir}
|
||||||
|
%{_qt3_translationdir}/qt_*.qm
|
||||||
|
#
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
|
#
|
||||||
|
%{_datadir}/icons/hicolor/128x128/apps/qt3-logo.png
|
||||||
|
%{_sysconfdir}/xdg/menus/applications-merged/development-qt3.menu
|
||||||
|
%{_datadir}/desktop-directories/development-qt3.directory
|
||||||
|
%doc FAQ LICENSE.* PLATFORMS README README-QT.TXT
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
#%{_bindir}/lrelease
|
||||||
|
#%{_bindir}/lupdate
|
||||||
|
#%{_bindir}/moc
|
||||||
|
#%{_bindir}/qm2ts
|
||||||
|
#%{_bindir}/qmake
|
||||||
|
#%{_bindir}/uic
|
||||||
|
#%{_bindir}/qembed
|
||||||
|
#%{_bindir}/qvfb
|
||||||
|
%dir %{_qt3_bindir}
|
||||||
|
%{_qt3_bindir}/lrelease
|
||||||
|
%{_qt3_bindir}/lupdate
|
||||||
|
%{_qt3_bindir}/moc
|
||||||
|
%{_qt3_bindir}/qm2ts
|
||||||
|
%{_qt3_bindir}/qmake
|
||||||
|
%{_qt3_bindir}/uic
|
||||||
|
%{_qt3_bindir}/qembed
|
||||||
|
%{_qt3_bindir}/qvfb
|
||||||
|
%{_qt3_headerdir}/
|
||||||
|
%dir %{_qt3_libdir}
|
||||||
|
%{_qt3_libdir}/*.*a
|
||||||
|
%{_qt3_libdir}/*.so
|
||||||
|
%{_qt3_libdir}/*.prl
|
||||||
|
%{_qt3_prefix}/mkspecs/
|
||||||
|
%{_qt3_prefix}/templates/
|
||||||
|
#
|
||||||
|
%dir %{_qt3_libdir}/pkgconfig
|
||||||
|
%{_qt3_libdir}/pkgconfig/qt-mt.pc
|
||||||
|
#
|
||||||
|
%{_qt3_docdir}/
|
||||||
|
#
|
||||||
|
%{_datadir}/applications/qvfb.desktop
|
||||||
|
%{_libdir}/pkgconfig/qt-mt.pc
|
||||||
|
%{_sysconfdir}/profile.d/%{name}.csh
|
||||||
|
%{_sysconfdir}/profile.d/%{name}.sh
|
||||||
|
%{_sysconfdir}/rpm/macros.qt3
|
||||||
|
|
||||||
|
%files -n qt-designer
|
||||||
|
%defattr(-,root,root)
|
||||||
|
#%{_bindir}/assistant
|
||||||
|
#%{_bindir}/designer
|
||||||
|
#%{_bindir}/linguist
|
||||||
|
%{_qt3_bindir}/assistant
|
||||||
|
%{_qt3_bindir}/designer
|
||||||
|
%{_qt3_bindir}/linguist
|
||||||
|
%dir %{_qt3_plugindir}/designer
|
||||||
|
%{_qt3_plugindir}/designer/*
|
||||||
|
%{_qt3_translationdir}/assistant_de.qm
|
||||||
|
%{_datadir}/applications/assistant.desktop
|
||||||
|
%{_datadir}/applications/designer.desktop
|
||||||
|
%{_datadir}/applications/linguist.desktop
|
||||||
|
#%{_datadir}/icons/hicolor/22x22/apps/assistant.png
|
||||||
|
#%{_datadir}/icons/hicolor/22x22/apps/designer.png
|
||||||
|
#%{_datadir}/icons/hicolor/22x22/apps/linguist.png
|
||||||
|
|
||||||
|
%files postgresql
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_qt3_plugindir}/sqldrivers
|
||||||
|
%{_qt3_plugindir}/sqldrivers/libqsqlpsql.so
|
||||||
|
|
||||||
|
%files mysql
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_qt3_plugindir}/sqldrivers
|
||||||
|
%{_qt3_plugindir}/sqldrivers/libqsqlmysql.so
|
||||||
|
|
||||||
|
%files odbc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_qt3_plugindir}/sqldrivers
|
||||||
|
%{_qt3_plugindir}/sqldrivers/libqsqlodbc.so
|
||||||
|
|
||||||
|
%files sqlite
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_qt3_plugindir}/sqldrivers
|
||||||
|
%{_qt3_plugindir}/sqldrivers/libqsqlite.so
|
||||||
|
|
||||||
|
%files inputmethods
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_qt3_plugindir}/inputmethods
|
||||||
|
%{_qt3_plugindir}/inputmethods/libqimsw-multi.so
|
||||||
|
%{_qt3_plugindir}/inputmethods/libqimsw-none.so
|
||||||
|
%{_qt3_plugindir}/inputmethods/libqsimple.so
|
||||||
|
%{_qt3_plugindir}/inputmethods/libqxim.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Dec 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8b-5mamba
|
||||||
|
- remove provides/obsoletes for libqt-* packages to avoid conflicts with libqt4
|
||||||
|
|
||||||
|
* Wed Jun 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8b-4mamba
|
||||||
|
- rebuilt with gcc 4.7 (added patch)
|
||||||
|
- renamed from libqt to libqt3
|
||||||
|
- added patch for libpng15
|
||||||
|
|
||||||
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8b-3mamba
|
||||||
|
- rebuilt with libjpeg 8 and libpng 1.4
|
||||||
|
|
||||||
|
* Tue Nov 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8b-2mamba
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Sun Oct 11 2009 Automatic Build System <autodist@mambasoft.it> 3.3.8b-1mamba
|
||||||
|
- update to 3.3.8b
|
||||||
|
|
||||||
|
* Fri Mar 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8-5mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Wed Jan 02 2008 Aleph0 <aleph0@openmamba.org> 3.3.8-4mamba
|
||||||
|
- removed symlinks in %%{_bindir}
|
||||||
|
|
||||||
|
* Mon Dec 31 2007 Aleph0 <aleph0@openmamba.org> 3.3.8-3mamba
|
||||||
|
- install qt-mt.pc in %{_libdir}/pkgconfig/ so that pkg-config can be aware of qt library
|
||||||
|
- provide %{_sysconfdir}/profile.d/%{name}.csh
|
||||||
|
- own libqt directories
|
||||||
|
- provide a macro for rpm (macros.qt3) that can be used by openmamba packagers
|
||||||
|
|
||||||
|
* Thu Dec 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.8-2mamba
|
||||||
|
- added qt-x11-immodule patch for scim
|
||||||
|
|
||||||
|
* Thu Mar 29 2007 Davide Madrisan <davide.madrisan@gmail.com> 3.3.8-1mamba
|
||||||
|
- update to version 3.3.8 by autospec
|
||||||
|
- create the submenu Qt3
|
||||||
|
- desktop files modified to fit freedesktop standard
|
||||||
|
- qt3 plugins now require the main package with same version and release
|
||||||
|
|
||||||
|
* Mon Dec 18 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.7-2qilnx
|
||||||
|
- update to version 3.3.7 by autospec
|
||||||
|
|
||||||
|
* Fri Oct 20 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.6-1qilnx
|
||||||
|
- update to version 3.3.6 by autospec
|
||||||
|
|
||||||
|
* Mon Sep 18 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-6qilnx
|
||||||
|
- added qvfb desktop menu icon
|
||||||
|
|
||||||
|
* Wed May 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.5-5qilnx
|
||||||
|
- added a dektop file for qt-designer
|
||||||
|
- fixed package license syntax
|
||||||
|
|
||||||
|
* Mon May 15 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-4qilnx
|
||||||
|
- add patch to increment max font size displayed (was 256 pixel = 184,
|
||||||
|
set to 2048)
|
||||||
|
|
||||||
|
* Wed Dec 07 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.5-3qilnx
|
||||||
|
- added qt3 and libqt3 as provides
|
||||||
|
- added script libqt.sh in %{_sysconfdir}/profile.d/ to set environment
|
||||||
|
variables
|
||||||
|
|
||||||
|
* Wed Dec 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-2qilnx
|
||||||
|
- added sqlite plugin
|
||||||
|
|
||||||
|
* Mon Sep 12 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.5-1qilnx
|
||||||
|
- update to version 3.3.5 by autospec
|
||||||
|
- add tools patch to build the executables qembed and qvfb
|
||||||
|
|
||||||
|
* Thu Sep 08 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.4-5qilnx
|
||||||
|
- rebuilt with the virtual frame buffer enabled (-qvfb)
|
||||||
|
|
||||||
|
* Wed Aug 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.4-4qilnx
|
||||||
|
- add visibility patch to improve performance
|
||||||
|
|
||||||
|
* Wed Aug 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.4-3qilnx
|
||||||
|
- rebuilt against gcc4
|
||||||
|
- fix build problem and buildkey issue with gcc4
|
||||||
|
- switched to %%majversion
|
||||||
|
|
||||||
|
* Tue Mar 15 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-2qilnx
|
||||||
|
- delete in %%pre dir %{_libdir}/qt3/mkspecs/default/ because it will be
|
||||||
|
replaced by a symlink
|
||||||
|
|
||||||
|
* Mon Mar 14 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-1qilnx
|
||||||
|
- update to version 3.3.4 by autospec
|
||||||
|
|
||||||
|
* Sat Dec 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-5qilnx
|
||||||
|
- fixes for kde plugin dir in qtrc skeleton
|
||||||
|
|
||||||
|
* Fri Dec 10 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-4qilnx
|
||||||
|
- documentation moved to devel package
|
||||||
|
|
||||||
|
* Fri Sep 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-3qilnx
|
||||||
|
- fix for qmake that was missing
|
||||||
|
|
||||||
|
* Sat Sep 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-2qilnx
|
||||||
|
- rebuilt with gcc 3.3.4 and Xorg 6.8.0
|
||||||
|
|
||||||
|
* Mon Aug 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.3-1qilnx
|
||||||
|
- update to version 3.3.3 by autospec
|
||||||
|
- bugfixes and security fixes (CAN-2004-0691, CAN-2004-0692, CAN-2004-0693)
|
||||||
|
|
||||||
|
* Thu Jul 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-3qilnx
|
||||||
|
- devel apps like qmake are in /usr/lib/qt3/bin and also as links in /usr/bin
|
||||||
|
|
||||||
|
* Wed Jun 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-2qilnx
|
||||||
|
- rebuilt with Xorg 6.7.0
|
||||||
|
|
||||||
|
* Tue Apr 27 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-1qilnx
|
||||||
|
- new version build
|
||||||
|
|
||||||
|
* Mon Nov 24 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-2qilnx
|
||||||
|
- moved binaries to %bindir
|
||||||
|
- moved documentation to /usr/share/qt3/doc (as looked for by kde)
|
||||||
|
|
||||||
|
* Fri Nov 21 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-1qilnx
|
||||||
|
- new version rebuild
|
||||||
|
|
||||||
|
* Mon Nov 03 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-1qilnx
|
||||||
|
- new version rebuild
|
||||||
|
- added mysql and odbc support
|
||||||
|
|
||||||
|
* Wed Sep 17 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1qilnx
|
||||||
|
- new version rebuild
|
||||||
|
|
||||||
|
* Tue Jul 18 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-4qilnx
|
||||||
|
- rebuild with postgresql plugin support
|
||||||
|
|
||||||
|
* Tue Jun 19 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-3qilnx
|
||||||
|
- added default profile in /etc/skel
|
||||||
|
|
||||||
|
* Sun May 25 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-2qilnx
|
||||||
|
- moved prefix from /usr/lib/qt to /usr/lib/qt3
|
||||||
|
- added ld.so.conf configuration
|
||||||
|
- moved designer binaries to its own package
|
||||||
|
|
||||||
|
* Wed May 21 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-1qilnx
|
||||||
|
- first build
|
14
qt-qtrcskel
Normal file
14
qt-qtrcskel
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[%_QTVER]
|
||||||
|
libraryPath=/usr/lib/kde3/plugins:/usr/bin:/usr/lib/qt3/plugins:/usr/lib/qt3/bin
|
||||||
|
|
||||||
|
[Font Substitutions]
|
||||||
|
arial=helvetica^e
|
||||||
|
helv=helvetica^e
|
||||||
|
tms rmn=times^e
|
||||||
|
|
||||||
|
[General]
|
||||||
|
GUIEffects=none^e
|
||||||
|
embedFonts=true
|
||||||
|
enableXft=true
|
||||||
|
style=Keramik
|
||||||
|
useXft=true
|
16232
qt-x11-immodule-unified-qt3.3.8-20071116.diff
Normal file
16232
qt-x11-immodule-unified-qt3.3.8-20071116.diff
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user