diff options
author | François Andriot <albator78@libertysurf.fr> | 2021-01-30 14:34:02 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2021-01-30 22:29:41 +0100 |
commit | 6581dc50b83f203d65eac61c00a159ab2a6ddb5d (patch) | |
tree | 85c02d38ca9dcedc28798ee41c4b16ec7260e9bc /redhat/dependencies/tqt3 | |
parent | 87e57a1a070839a44db16a0410ef57902db2df3e (diff) | |
download | tde-packaging-6581dc50b83f203d65eac61c00a159ab2a6ddb5d.tar.gz tde-packaging-6581dc50b83f203d65eac61c00a159ab2a6ddb5d.zip |
RPM: massive update and cleanup
Diffstat (limited to 'redhat/dependencies/tqt3')
-rw-r--r-- | redhat/dependencies/tqt3/tqassistant.desktop | 13 | ||||
-rw-r--r-- | redhat/dependencies/tqt3/tqdesigner.desktop | 78 | ||||
-rw-r--r-- | redhat/dependencies/tqt3/tqlinguist.desktop | 26 | ||||
-rw-r--r-- | redhat/dependencies/tqt3/tqt3.spec | 82 | ||||
-rw-r--r-- | redhat/dependencies/tqt3/tqtconfig.desktop | 13 |
5 files changed, 36 insertions, 176 deletions
diff --git a/redhat/dependencies/tqt3/tqassistant.desktop b/redhat/dependencies/tqt3/tqassistant.desktop deleted file mode 100644 index c178007d8..000000000 --- a/redhat/dependencies/tqt3/tqassistant.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqassistant -Name=TQt3 Assistant -Name[de]=TQt3 Assistent -GenericName=Document Browser -Comment=TQt3 Helpcenter -Comment[de]= TQt3 Hilfezentrum -MimeType=application/x-assistant; -Icon=tqassistant -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqdesigner.desktop b/redhat/dependencies/tqt3/tqdesigner.desktop deleted file mode 100644 index 2152b777b..000000000 --- a/redhat/dependencies/tqt3/tqdesigner.desktop +++ /dev/null @@ -1,78 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqdesigner -Name=TQt3 Designer -Name[bg]=TQt3 Дизайнер -Name[br]=Ergrafer TQt3 -Name[ca]=Dissenyador TQt3 -Name[cs]=TQt3 designer -Name[de]=TQt3-Designer -Name[eo]=TQt3-Desegnilo -Name[es]=Diseñador TQt3 -Name[et]=TQt3 disainer -Name[eu]=TQt3 Diseinatzailea -Name[gl]=Deseñador de TQt3 -Name[he]=TQt3 בצעמ -Name[it]=Designer TQt3 -Name[ja]=TQt3デザイナー -Name[ko]=TQt3 디자이너 -Name[lv]=TQt3 Dizainers -Name[mk]=TQt3 дизајнер -Name[no]=TQt3-designer -Name[oc]=Dessinador TQt3 -Name[pl]=Projektant TQt3 -Name[sk]=TQt3 Dizajnér -Name[sl]=Snovalnik TQt3 -Name[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Name[uk]=Дизайнер TQt3 -Name[zh_CN.GB2312]=TQt3 设计者 -Name[zh_TW.Big5]=TQt3 設計器 -GenericName=Interface Designer -Comment=TQt3 interface designer -Comment[az]=TQt3 axtar üz dizayn proqramı -Comment[bg]=TQt3 interface дизайнер -Comment[br]=Ergrafer etrefas TQt3 -Comment[ca]=Dissenyador d'interfícies TQt3 -Comment[cs]=Editor UI pro TQt3 -Comment[da]=TQt3 grænseflade designer -Comment[de]=Schnittstellen-Designer für TQt3 -Comment[el]=Σχεδιασμός περιβάλλοντων TQt3 -Comment[eo]=TQt3-Interfacdesegnilo -Comment[es]=Diseñador de interfaces de TQt3 -Comment[et]=TQt3 dialoogide redaktor -Comment[eu]=TQt3 interfaze diseinatzailea -Comment[fi]=TQt3:n käyttöliittymäsuunnittelija -Comment[fr]=Conception d'interfaces avec TQt3 -Comment[gl]=Editor de interfaces de TQt3 -Comment[he]=TQt3-ל םיקשממ בצעמ -Comment[hu]=TQt3 felülettervező -Comment[is]=Viðmótshönnunartól fyrir TQt3 -Comment[it]=Editor per le interfaccie TQt3 -Comment[ja]=TQt3インターフェースデザイナー -Comment[ko]=TQt3 인터페이스 디자이너 -Comment[lt]=TQt3 sąsajos redaktorius -Comment[lv]=TQt3 starsejas dizainers -Comment[mk]=Дизајнер на TQt3 дијалози -Comment[nl]=TQt3 interface-ontwerper -Comment[no]=TQt3-grensesnittdesigner -Comment[no_NY]=Redigering av TQt3-miljø -Comment[oc]=Dessinador d'interfacies TQt3 -Comment[pl]=Projektant interfejsu TQt3 -Comment[pt]=Editor de interfaces do TQt3 -Comment[pt_BR]=Designer de interface TQt3 -Comment[ro]=Dezvoltator de interfeţe TQt3 -Comment[ru]=редактор интерфейсов приложений TQt3 -Comment[sk]=TQt3 dizajnér rozhrania -Comment[sl]=Snovalnik vmesnikov za TQt3 -Comment[sr]=Dizajner TQt3 interfejsa -Comment[sv]=Editor för gränssnitt till TQt3 -Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Comment[tr]=TQt3 arayüz tasarım programı -Comment[uk]=Редактор інтерфейсу для TQt3 -Comment[zh_CN.GB2312]=TQt3 界面设计程序 -Comment[zh_TW.Big5]=TQt3 介面編輯器 -MimeType=application/x-designer; -Icon=tqdesigner -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqlinguist.desktop b/redhat/dependencies/tqt3/tqlinguist.desktop deleted file mode 100644 index 6cbbe713d..000000000 --- a/redhat/dependencies/tqt3/tqlinguist.desktop +++ /dev/null @@ -1,26 +0,0 @@ -[Desktop Entry] -Exec=tqlinguist -Name=TQt3 Linguist -Name[de]=TQt3-Linguist -Name[eo]=TQt3-Lingvisto -Name[es]=Lingüista TQt3 -Name[ko]=TQt3 언어학자 -Name[lv]=TQt3 Lingvists -GenericName=Translation Tool -Comment=Tool for translating message catalogues of TQt3 based programs -Comment[da]=Redskab til at oversætte TQt3 baserede programmer -Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren -Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj -Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3 -Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ -Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához -Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구 -Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās -Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program -MimeType=application/x-linguist; -Terminal=false -Icon=tqlinguist -Type=Application -Categories=Qt;Development diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec index 4dae6cea7..daa0c8f29 100644 --- a/redhat/dependencies/tqt3/tqt3.spec +++ b/redhat/dependencies/tqt3/tqt3.spec @@ -17,7 +17,7 @@ # TDE variables %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.1.0 %endif %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} @@ -49,12 +49,6 @@ BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source1: build-examples.sh -Source11: tqassistant.desktop -Source12: tqdesigner.desktop -Source13: tqlinguist.desktop -Source14: tqtconfig.desktop - - BuildRequires: glibc-devel BuildRequires: gcc-c++ BuildRequires: make @@ -273,8 +267,17 @@ BuildRequires: sqlite3-devel %endif # POSTGRESQL support +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +BuildRequires: postgresql10 +BuildRequires: postgresql10-devel +%else BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else BuildRequires: postgresql-devel +%endif +%endif # Firebird support %if 0%{?mdkversion} || 0%{?mgaversion} @@ -291,12 +294,12 @@ BuildRequires: %{_lib}fbclient-devel %define with_nis 1 # RPC support -%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500 -%if 0%{?fedora} +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28 BuildRequires: libnsl2-devel -%else -BuildRequires: libnsl-devel +BuildRequires: libtirpc-devel %endif +%if 0%{?suse_version} >= 1500 +BuildRequires: libnsl-devel BuildRequires: libtirpc-devel %endif @@ -342,9 +345,6 @@ applications. %files -n %{libtqt3}-mt %defattr(-,root,root,-) %doc FAQ LICENSE* README* changes* -%dir %{_datadir}/icons/hicolor -%dir %{_datadir}/icons/hicolor/32x32 -%dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/tqt3/ %dir %{_datadir}/tqt3/doc/ %dir %{_datadir}/tqt3/doc/html/ @@ -912,7 +912,6 @@ libtqt3-headers. %{_includedir}/tqt3/ntqrangect.h %{_includedir}/tqt3/ntqscrbar.h %{_includedir}/tqt3/ntqsocknot.h -%{_includedir}/tqt3/ntqstack.h %{_includedir}/tqt3/ntqtabdlg.h %{_includedir}/tqt3/ntqtstream.h %{_includedir}/tqt3/ntqwidcoll.h @@ -943,10 +942,7 @@ For TQt3 development, you most likely want to install this package. %{_bindir}/tquic %{_bindir}/tqmoc %{_bindir}/tqembed -%{_mandir}/man1/lupdate-tqt3.1* -%{_mandir}/man1/lrelease-tqt3.1* -%{_mandir}/man1/moc-tqt3.1* -%{_mandir}/man1/uic-tqt3.1* +%{_mandir}/man1/*.1* ########## @@ -1005,7 +1001,7 @@ or automake. %{_datadir}/tqt3/tools/tqtcreatecw/main.cpp %{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro %{_datadir}/applications/tqdesigner.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png +%{_datadir}/pixmaps/tqdesigner.png ########### @@ -1072,7 +1068,7 @@ development files by the translator. %dir %{_docdir}/tqt3-linguist %{_docdir}/tqt3-linguist/qt_untranslated.ts %{_datadir}/applications/tqlinguist.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png +%{_datadir}/pixmaps/tqlinguist.png ########## @@ -1097,11 +1093,10 @@ the package tqt3-apps-devel. %files -n tqt3-assistant %defattr(-,root,root,-) %{_bindir}/tqassistant -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png %{_datadir}/tqt3/doc/html/assistant*html %{_datadir}/tqt3/doc/html/assistant*dcf %{_datadir}/applications/tqassistant.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png +%{_datadir}/pixmaps/tqassistant.png ########## @@ -1124,7 +1119,7 @@ install this package. %defattr(-,root,root,-) %{_bindir}/tqtconfig %{_datadir}/applications/tqtconfig.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png +%{_datadir}/pixmaps/tqtconfig.png ########### @@ -1264,18 +1259,14 @@ things that are possible with TQt3. %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -# Fix strange FTBFS on RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|" -%endif - %if 0%{?suse_version} echo "suse_version = %{?suse_version}" echo "sle_version = %{?sle_version}" %endif -# Add missing sqlite3 header -%__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h +%if 0%{?rhel} == 5 +%__sed -i "src/sql/drivers/mysql/qsql_mysql.cpp" -e "s|bool reconnect = 0;|my_bool reconnect = 0;|g" +%endif # fix variables in 'qmake.conf' %__sed -i mkspecs/*/qmake.conf \ @@ -1344,6 +1335,7 @@ echo yes | ./configure \ -docdir "%{_datadir}/tqt3/doc" \ -plugindir "%{_libdir}/tqt3/plugins" \ -translationdir "%{_datadir}/tqt3/translations" \ + -sysshare "%{_datadir}" \ \ -thread \ -shared \ @@ -1400,7 +1392,9 @@ echo yes | ./configure \ -v # proceed -%__make %{?_smp_mflags} sub-src sub-plugins sub-tools +%__make %{?_smp_mflags} sub-src || %__make sub-src +%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins +%__make %{?_smp_mflags} sub-tools # build tqtconv2ui %__make -C tools/designer/tools/tqtconv2ui @@ -1457,12 +1451,6 @@ for i in designer/designer assistant linguist/linguist; do popd done -# desktop lnk files -%__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop" -%__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop" -%__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop" -%__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop" - %if 0%{?suse_version} %suse_update_desktop_file tqassistant Documentation %suse_update_desktop_file tqdesigner GUIDesigner @@ -1471,10 +1459,10 @@ done %endif # Install applications icons -%__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" -%__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" -%__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" -%__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" +#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" +#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" +#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" +#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" # build attic package and copy it to tqt3-compat-headers pushd src @@ -1483,10 +1471,12 @@ install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/att popd # install the man pages -install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1" -install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1" -install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1" -install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1" +%__install -d "%{?buildroot}%{_mandir}/man1" +%__install -m644 "doc/man/man1/"*"embed.1" "%{?buildroot}%{_mandir}/man1/" +%__install -m644 "doc/man/man1/"*"lrelease.1" "%{?buildroot}%{_mandir}/man1/" +%__install -m644 "doc/man/man1/"*"lupdate.1" "%{?buildroot}%{_mandir}/man1/" +%__install -m644 "doc/man/man1/"*"moc.1" "%{?buildroot}%{_mandir}/man1/" +%__install -m644 "doc/man/man1/"*"uic.1" "%{?buildroot}%{_mandir}/man1/" # Install source for the designer tools, such as tqtcreatecw. cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools diff --git a/redhat/dependencies/tqt3/tqtconfig.desktop b/redhat/dependencies/tqt3/tqtconfig.desktop deleted file mode 100644 index d20d2191d..000000000 --- a/redhat/dependencies/tqt3/tqtconfig.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqtconfig -Name=TQt3 Configuration -Name[de]=TQt3 Konfiguration -GenericName=Configuration Utility -Comment=A graphical configuration tool for programs using TQt 3 -Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme -MimeType=application/x-qtconfig; -Terminal=false -Icon=tqtconfig -Type=Application -Categories=Qt;Settings; |