diff options
Diffstat (limited to 'redhat/libraries')
9 files changed, 16 insertions, 102 deletions
diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec index f42f2df6a..35aead586 100644 --- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec +++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec @@ -37,7 +37,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 0.1.9 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: Raw picture decoding C++ library (runtime) [Trinity] Group: System/Libraries URL: http://www.trinitydesktop.org/ diff --git a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec index b5edb62d8..7db9a4dad 100644 --- a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec +++ b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec @@ -44,11 +44,11 @@ Name: trinity-%{tde_pkg} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] -Group: System/Libraries Epoch: 2 Version: 0.1.7 -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] +Group: System/Libraries URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} diff --git a/redhat/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec index fcded5b76..cf744c7f2 100644 --- a/redhat/libraries/libkipi/libkipi-14.0.0.spec +++ b/redhat/libraries/libkipi/libkipi-14.0.0.spec @@ -44,11 +44,11 @@ Name: trinity-%{tde_pkg} -Summary: Library for apps that want to use kipi-plugins (runtime version) [Trinity] -Group: System/Libraries Epoch: %{tde_epoch} Version: 0.1.5 -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Library for apps that want to use kipi-plugins (runtime version) [Trinity] +Group: System/Libraries URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.patch b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.patch deleted file mode 100644 index 9964b617c..000000000 --- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff --git a/kernel/kls_hdr/fmt_codec_hdr.cpp b/kernel/kls_hdr/fmt_codec_hdr.cpp -index 9819504..62f5360 100644 ---- a/kernel/kls_hdr/fmt_codec_hdr.cpp -+++ b/kernel/kls_hdr/fmt_codec_hdr.cpp -@@ -320,6 +320,9 @@ bool fmt_codec::getHdrHead() - if(!frs.readK(&a, sizeof(s8))) return false; - - ++count; -+ if (count > 79) { -+ return false; -+ } - } - - buff[count] = '\0'; -diff --git a/kernel/kls_png/ksquirrel-libs-png/pngpread.c b/kernel/kls_png/ksquirrel-libs-png/pngpread.c -index 3dd0f06..f34553b 100644 ---- a/kernel/kls_png/ksquirrel-libs-png/pngpread.c -+++ b/kernel/kls_png/ksquirrel-libs-png/pngpread.c -@@ -1670,7 +1670,7 @@ png_push_handle_unknown(png_structp png_ptr, png_infop info_ptr, png_uint_32 - #endif - png_strncpy((png_charp)png_ptr->unknown_chunk.name, - (png_charp)png_ptr->chunk_name, -- png_sizeof((png_charp)png_ptr->chunk_name)); -+ png_sizeof(png_ptr->unknown_chunk.name)); - png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); - png_ptr->unknown_chunk.size = (png_size_t)length; - png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); -diff --git a/kernel/kls_png/ksquirrel-libs-png/pngrutil.c b/kernel/kls_png/ksquirrel-libs-png/pngrutil.c -index 899cdc4..6552af3 100644 ---- a/kernel/kls_png/ksquirrel-libs-png/pngrutil.c -+++ b/kernel/kls_png/ksquirrel-libs-png/pngrutil.c -@@ -2374,7 +2374,7 @@ png_handle_unknown(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) - #endif - png_strncpy((png_charp)png_ptr->unknown_chunk.name, - (png_charp)png_ptr->chunk_name, -- png_sizeof((png_charp)png_ptr->chunk_name)); -+ png_sizeof(png_ptr->unknown_chunk.name)); - png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); - png_ptr->unknown_chunk.size = (png_size_t)length; - png_crc_read(png_ptr, (png_bytep)png_ptr->unknown_chunk.data, length); -diff --git a/kernel/kls_dds/dds.cpp b/kernel/kls_dds/dds.cpp -index c5551f0..4205816 100644 ---- a/kernel/kls_dds/dds.cpp -+++ b/kernel/kls_dds/dds.cpp -@@ -564,7 +564,12 @@ static void FREE_ROWS(RGBAP **A, const int H) - - void GetBits( uchar bit_array[16] ) - { -- uint b = (uint &) bits[0]; -+ // uint b = (uint &) bits[0]; -+ /* avoid a warning -+ * "dereferencing type-punned pointer will break strict-aliasing rules" -+ * TODO: check endianness issues (but that was probably broken anyway) */ -+ uint b; -+ memcpy(&b, &bits[0], sizeof(b)); - bit_array[0] = uchar(b & 0x07); b >>= 3; - bit_array[1] = uchar(b & 0x07); b >>= 3; - bit_array[2] = uchar(b & 0x07); b >>= 3; -@@ -574,7 +579,8 @@ static void FREE_ROWS(RGBAP **A, const int H) - bit_array[6] = uchar(b & 0x07); b >>= 3; - bit_array[7] = uchar(b & 0x07); b >>= 3; - -- b = (uint &) bits[3]; -+ // b = (uint &) bits[3]; -+ memcpy(&b, &bits[3], sizeof(b)); - bit_array[8] = uchar(b & 0x07); b >>= 3; - bit_array[9] = uchar(b & 0x07); b >>= 3; - bit_array[10] = uchar(b & 0x07); b >>= 3; -diff --git a/kernel/kls_hdr/fmt_codec_hdr.cpp b/kernel/kls_hdr/fmt_codec_hdr.cpp -index 9819504..8dde09b 100644 ---- a/kernel/kls_hdr/fmt_codec_hdr.cpp -+++ b/kernel/kls_hdr/fmt_codec_hdr.cpp -@@ -136,8 +136,9 @@ s32 fmt_codec::read_scanline(RGBA *scan) - if (e != 0) - e = (e - 1) << 23; - -- t = *(float *)&e; -- -+ // t = *(float *)&e; -+ /* avoid "dereferencing type-punned pointer will break strict-aliasing rules" warning */ -+ memcpy(&t, &e, sizeof(t)); - (scan + i)->r = u8((r / 255.0f) * t); - (scan + i)->g = u8((g / 255.0f) * t); - (scan + i)->b = u8((b / 255.0f) * t); diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec index fc4960be7..5ed0a2509 100644 --- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec +++ b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec @@ -38,11 +38,11 @@ Name: trinity-%{tde_pkg} -Summary: Trinity image viewer -Group: System/Libraries Epoch: %{tde_epoch} Version: 0.8.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity image viewer +Group: System/Libraries URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} @@ -58,7 +58,6 @@ Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Patch0: %{tde_pkg}-14.0.0.patch BuildRequires: trinity-tdelibs-devel >= %{tde_version} @@ -523,7 +522,6 @@ This package contains the tools for KSquirrel. %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch0 -p1 # FIXME: under PCLinuxOS, headers are under 'freetype2' not 'freetype' if [ -r /usr/include/freetype2/ftbitmap.h ]; then diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec index b7c6f0a95..8ac414ff9 100644 --- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec +++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec @@ -38,11 +38,11 @@ Name: trinity-%{tde_pkg} -Summary: LDAP interface library for TDE -Group: System/Libraries Epoch: %{tde_epoch} Version: 0.5 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: LDAP interface library for TDE +Group: System/Libraries URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec index b1aac0500..f84a15eeb 100644 --- a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec +++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec @@ -33,7 +33,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 3.008 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: Perl bindings for the TQt library Group: Development/Libraries/Perl URL: http://www.trinitydesktop.org/ diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec index 5db239ab9..d55fe8dbc 100644 --- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec +++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec @@ -37,7 +37,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 0.4.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: Python packages to support TDE applications (scripts) Group: Development/Libraries/Python URL: http://www.trinitydesktop.org/ diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec index fc7d38c48..c214341ef 100644 --- a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec +++ b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec @@ -37,7 +37,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 3.16.3 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: Trinity bindings for Python Group: Development/Libraries/Python URL: http://www.trinitydesktop.org/ |