From d5012a93ae00df738be447ec069ec71e4e7e47a6 Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Mon, 28 Apr 2025 13:10:28 -0500 Subject: [PATCH] Add texmaker package (#11840) Suggested env change --- manifest/armv7l/t/texmaker.filelist | 121 ++++++++++++++++++++++++++++ manifest/x86_64/t/texmaker.filelist | 121 ++++++++++++++++++++++++++++ packages/texmaker.rb | 41 ++++++++++ tools/packages.yaml | 5 ++ 4 files changed, 288 insertions(+) create mode 100644 manifest/armv7l/t/texmaker.filelist create mode 100644 manifest/x86_64/t/texmaker.filelist create mode 100644 packages/texmaker.rb diff --git a/manifest/armv7l/t/texmaker.filelist b/manifest/armv7l/t/texmaker.filelist new file mode 100644 index 000000000..c8fea53cd --- /dev/null +++ b/manifest/armv7l/t/texmaker.filelist @@ -0,0 +1,121 @@ +/usr/local/bin/texmaker +/usr/local/share/applications/texmaker.desktop +/usr/local/share/metainfo/texmaker.appdata.xml +/usr/local/share/pixmaps/texmaker.png +/usr/local/share/texmaker/AUTHORS +/usr/local/share/texmaker/CHANGELOG.txt +/usr/local/share/texmaker/COPYING +/usr/local/share/texmaker/README_DIC_fr_FR.txt +/usr/local/share/texmaker/README_cs_CZ.txt +/usr/local/share/texmaker/README_de_DE_frami.txt +/usr/local/share/texmaker/README_en_US.txt +/usr/local/share/texmaker/README_es_ES.txt +/usr/local/share/texmaker/README_hu_HU.txt +/usr/local/share/texmaker/README_pl.txt +/usr/local/share/texmaker/README_pt_PT.txt +/usr/local/share/texmaker/ca_CA.aff +/usr/local/share/texmaker/ca_CA.dic +/usr/local/share/texmaker/cs_CZ.aff +/usr/local/share/texmaker/cs_CZ.dic +/usr/local/share/texmaker/de_DE.aff +/usr/local/share/texmaker/de_DE.dic +/usr/local/share/texmaker/doc1.png +/usr/local/share/texmaker/doc10.png +/usr/local/share/texmaker/doc11.png +/usr/local/share/texmaker/doc12.png +/usr/local/share/texmaker/doc13.png +/usr/local/share/texmaker/doc14.png +/usr/local/share/texmaker/doc15.png +/usr/local/share/texmaker/doc16.png +/usr/local/share/texmaker/doc17.png +/usr/local/share/texmaker/doc2.png +/usr/local/share/texmaker/doc20.png +/usr/local/share/texmaker/doc21.png +/usr/local/share/texmaker/doc22.png +/usr/local/share/texmaker/doc3.png +/usr/local/share/texmaker/doc4.png +/usr/local/share/texmaker/doc5.png +/usr/local/share/texmaker/doc6.png +/usr/local/share/texmaker/doc6bis.png +/usr/local/share/texmaker/doc7.png +/usr/local/share/texmaker/doc8.png +/usr/local/share/texmaker/doc9.png +/usr/local/share/texmaker/en_GB.aff +/usr/local/share/texmaker/en_GB.dic +/usr/local/share/texmaker/en_US.aff +/usr/local/share/texmaker/en_US.dic +/usr/local/share/texmaker/es_ES.aff +/usr/local/share/texmaker/es_ES.dic +/usr/local/share/texmaker/fr_FR.aff +/usr/local/share/texmaker/fr_FR.dic +/usr/local/share/texmaker/hardwordwrap_selection_80col.tms +/usr/local/share/texmaker/hu_HU.aff +/usr/local/share/texmaker/hu_HU.dic +/usr/local/share/texmaker/it_IT.aff +/usr/local/share/texmaker/it_IT.dic +/usr/local/share/texmaker/it_IT_README.txt +/usr/local/share/texmaker/latexhelp.html +/usr/local/share/texmaker/nl_NL.aff +/usr/local/share/texmaker/nl_NL.dic +/usr/local/share/texmaker/pl_PL.aff +/usr/local/share/texmaker/pl_PL.dic +/usr/local/share/texmaker/pt_PT.aff +/usr/local/share/texmaker/pt_PT.dic +/usr/local/share/texmaker/qt_ar.qm +/usr/local/share/texmaker/qt_ca.qm +/usr/local/share/texmaker/qt_cs.qm +/usr/local/share/texmaker/qt_da.qm +/usr/local/share/texmaker/qt_de.qm +/usr/local/share/texmaker/qt_en.qm +/usr/local/share/texmaker/qt_es.qm +/usr/local/share/texmaker/qt_fa.qm +/usr/local/share/texmaker/qt_fi.qm +/usr/local/share/texmaker/qt_fr.qm +/usr/local/share/texmaker/qt_gl.qm +/usr/local/share/texmaker/qt_he.qm +/usr/local/share/texmaker/qt_hu.qm +/usr/local/share/texmaker/qt_it.qm +/usr/local/share/texmaker/qt_ja.qm +/usr/local/share/texmaker/qt_ko.qm +/usr/local/share/texmaker/qt_lt.qm +/usr/local/share/texmaker/qt_pl.qm +/usr/local/share/texmaker/qt_pt.qm +/usr/local/share/texmaker/qt_ru.qm +/usr/local/share/texmaker/qt_sk.qm +/usr/local/share/texmaker/qt_sl.qm +/usr/local/share/texmaker/qt_sv.qm +/usr/local/share/texmaker/qt_uk.qm +/usr/local/share/texmaker/qt_zh_CN.qm +/usr/local/share/texmaker/qt_zh_TW.qm +/usr/local/share/texmaker/texmaker.svg +/usr/local/share/texmaker/texmaker128x128.png +/usr/local/share/texmaker/texmaker16x16.png +/usr/local/share/texmaker/texmaker22x22.png +/usr/local/share/texmaker/texmaker32x32.png +/usr/local/share/texmaker/texmaker48x48.png +/usr/local/share/texmaker/texmaker64x64.png +/usr/local/share/texmaker/texmaker_ar.qm +/usr/local/share/texmaker/texmaker_cs.qm +/usr/local/share/texmaker/texmaker_de.qm +/usr/local/share/texmaker/texmaker_el.qm +/usr/local/share/texmaker/texmaker_es.qm +/usr/local/share/texmaker/texmaker_fa.qm +/usr/local/share/texmaker/texmaker_fr.qm +/usr/local/share/texmaker/texmaker_gl.qm +/usr/local/share/texmaker/texmaker_hu.qm +/usr/local/share/texmaker/texmaker_it.qm +/usr/local/share/texmaker/texmaker_lv.qm +/usr/local/share/texmaker/texmaker_nl.qm +/usr/local/share/texmaker/texmaker_pl.qm +/usr/local/share/texmaker/texmaker_pt.qm +/usr/local/share/texmaker/texmaker_pt_BR.qm +/usr/local/share/texmaker/texmaker_ru.qm +/usr/local/share/texmaker/texmaker_se.qm +/usr/local/share/texmaker/texmaker_sr.qm +/usr/local/share/texmaker/texmaker_uk.qm +/usr/local/share/texmaker/texmaker_vi_VN.qm +/usr/local/share/texmaker/texmaker_zh_CN.qm +/usr/local/share/texmaker/texmaker_zh_TW.qm +/usr/local/share/texmaker/titlecase_selection.tms +/usr/local/share/texmaker/usermanual_en.html +/usr/local/share/texmaker/usermanual_fr.html diff --git a/manifest/x86_64/t/texmaker.filelist b/manifest/x86_64/t/texmaker.filelist new file mode 100644 index 000000000..c8fea53cd --- /dev/null +++ b/manifest/x86_64/t/texmaker.filelist @@ -0,0 +1,121 @@ +/usr/local/bin/texmaker +/usr/local/share/applications/texmaker.desktop +/usr/local/share/metainfo/texmaker.appdata.xml +/usr/local/share/pixmaps/texmaker.png +/usr/local/share/texmaker/AUTHORS +/usr/local/share/texmaker/CHANGELOG.txt +/usr/local/share/texmaker/COPYING +/usr/local/share/texmaker/README_DIC_fr_FR.txt +/usr/local/share/texmaker/README_cs_CZ.txt +/usr/local/share/texmaker/README_de_DE_frami.txt +/usr/local/share/texmaker/README_en_US.txt +/usr/local/share/texmaker/README_es_ES.txt +/usr/local/share/texmaker/README_hu_HU.txt +/usr/local/share/texmaker/README_pl.txt +/usr/local/share/texmaker/README_pt_PT.txt +/usr/local/share/texmaker/ca_CA.aff +/usr/local/share/texmaker/ca_CA.dic +/usr/local/share/texmaker/cs_CZ.aff +/usr/local/share/texmaker/cs_CZ.dic +/usr/local/share/texmaker/de_DE.aff +/usr/local/share/texmaker/de_DE.dic +/usr/local/share/texmaker/doc1.png +/usr/local/share/texmaker/doc10.png +/usr/local/share/texmaker/doc11.png +/usr/local/share/texmaker/doc12.png +/usr/local/share/texmaker/doc13.png +/usr/local/share/texmaker/doc14.png +/usr/local/share/texmaker/doc15.png +/usr/local/share/texmaker/doc16.png +/usr/local/share/texmaker/doc17.png +/usr/local/share/texmaker/doc2.png +/usr/local/share/texmaker/doc20.png +/usr/local/share/texmaker/doc21.png +/usr/local/share/texmaker/doc22.png +/usr/local/share/texmaker/doc3.png +/usr/local/share/texmaker/doc4.png +/usr/local/share/texmaker/doc5.png +/usr/local/share/texmaker/doc6.png +/usr/local/share/texmaker/doc6bis.png +/usr/local/share/texmaker/doc7.png +/usr/local/share/texmaker/doc8.png +/usr/local/share/texmaker/doc9.png +/usr/local/share/texmaker/en_GB.aff +/usr/local/share/texmaker/en_GB.dic +/usr/local/share/texmaker/en_US.aff +/usr/local/share/texmaker/en_US.dic +/usr/local/share/texmaker/es_ES.aff +/usr/local/share/texmaker/es_ES.dic +/usr/local/share/texmaker/fr_FR.aff +/usr/local/share/texmaker/fr_FR.dic +/usr/local/share/texmaker/hardwordwrap_selection_80col.tms +/usr/local/share/texmaker/hu_HU.aff +/usr/local/share/texmaker/hu_HU.dic +/usr/local/share/texmaker/it_IT.aff +/usr/local/share/texmaker/it_IT.dic +/usr/local/share/texmaker/it_IT_README.txt +/usr/local/share/texmaker/latexhelp.html +/usr/local/share/texmaker/nl_NL.aff +/usr/local/share/texmaker/nl_NL.dic +/usr/local/share/texmaker/pl_PL.aff +/usr/local/share/texmaker/pl_PL.dic +/usr/local/share/texmaker/pt_PT.aff +/usr/local/share/texmaker/pt_PT.dic +/usr/local/share/texmaker/qt_ar.qm +/usr/local/share/texmaker/qt_ca.qm +/usr/local/share/texmaker/qt_cs.qm +/usr/local/share/texmaker/qt_da.qm +/usr/local/share/texmaker/qt_de.qm +/usr/local/share/texmaker/qt_en.qm +/usr/local/share/texmaker/qt_es.qm +/usr/local/share/texmaker/qt_fa.qm +/usr/local/share/texmaker/qt_fi.qm +/usr/local/share/texmaker/qt_fr.qm +/usr/local/share/texmaker/qt_gl.qm +/usr/local/share/texmaker/qt_he.qm +/usr/local/share/texmaker/qt_hu.qm +/usr/local/share/texmaker/qt_it.qm +/usr/local/share/texmaker/qt_ja.qm +/usr/local/share/texmaker/qt_ko.qm +/usr/local/share/texmaker/qt_lt.qm +/usr/local/share/texmaker/qt_pl.qm +/usr/local/share/texmaker/qt_pt.qm +/usr/local/share/texmaker/qt_ru.qm +/usr/local/share/texmaker/qt_sk.qm +/usr/local/share/texmaker/qt_sl.qm +/usr/local/share/texmaker/qt_sv.qm +/usr/local/share/texmaker/qt_uk.qm +/usr/local/share/texmaker/qt_zh_CN.qm +/usr/local/share/texmaker/qt_zh_TW.qm +/usr/local/share/texmaker/texmaker.svg +/usr/local/share/texmaker/texmaker128x128.png +/usr/local/share/texmaker/texmaker16x16.png +/usr/local/share/texmaker/texmaker22x22.png +/usr/local/share/texmaker/texmaker32x32.png +/usr/local/share/texmaker/texmaker48x48.png +/usr/local/share/texmaker/texmaker64x64.png +/usr/local/share/texmaker/texmaker_ar.qm +/usr/local/share/texmaker/texmaker_cs.qm +/usr/local/share/texmaker/texmaker_de.qm +/usr/local/share/texmaker/texmaker_el.qm +/usr/local/share/texmaker/texmaker_es.qm +/usr/local/share/texmaker/texmaker_fa.qm +/usr/local/share/texmaker/texmaker_fr.qm +/usr/local/share/texmaker/texmaker_gl.qm +/usr/local/share/texmaker/texmaker_hu.qm +/usr/local/share/texmaker/texmaker_it.qm +/usr/local/share/texmaker/texmaker_lv.qm +/usr/local/share/texmaker/texmaker_nl.qm +/usr/local/share/texmaker/texmaker_pl.qm +/usr/local/share/texmaker/texmaker_pt.qm +/usr/local/share/texmaker/texmaker_pt_BR.qm +/usr/local/share/texmaker/texmaker_ru.qm +/usr/local/share/texmaker/texmaker_se.qm +/usr/local/share/texmaker/texmaker_sr.qm +/usr/local/share/texmaker/texmaker_uk.qm +/usr/local/share/texmaker/texmaker_vi_VN.qm +/usr/local/share/texmaker/texmaker_zh_CN.qm +/usr/local/share/texmaker/texmaker_zh_TW.qm +/usr/local/share/texmaker/titlecase_selection.tms +/usr/local/share/texmaker/usermanual_en.html +/usr/local/share/texmaker/usermanual_fr.html diff --git a/packages/texmaker.rb b/packages/texmaker.rb new file mode 100644 index 000000000..5f1a43907 --- /dev/null +++ b/packages/texmaker.rb @@ -0,0 +1,41 @@ +require 'package' + +class Texmaker < Package + description 'Free cross-platform LaTeX editor' + homepage 'https://www.xm1math.net/texmaker/index.html' + version '5.0.4' + license 'GPL-2' + compatibility 'aarch64 armv7l x86_64' + source_url "https://www.xm1math.net/texmaker/texmaker-#{version}.tar.bz2" + source_sha256 '1de3ab3f6d6bee37a7d0b528ca1cbb7ce8e7aef5ec6a4405aff2caf9d12bd0e2' + binary_compression 'tar.zst' + + binary_sha256({ + aarch64: 'abaea145d5395dfca8d9db4a6e402e95f205602771214b0d4c50f827f3791f5f', + armv7l: 'abaea145d5395dfca8d9db4a6e402e95f205602771214b0d4c50f827f3791f5f', + x86_64: '57a7116cf1ada18f1f9b53073d4081cb17e1e7805266899e26a1bd75a46968fa' + }) + + depends_on 'gcc_lib' # R + depends_on 'glibc' # R + depends_on 'libglvnd' # R + depends_on 'qt5_base' # R + depends_on 'qt5_script' # R + + def self.build + env = { + 'PREFIX' => CREW_PREFIX, + 'DESKTOPDIR' => "#{CREW_PREFIX}/share/applications", + 'ICONDIR' => "#{CREW_PREFIX}/share/pixmaps", + 'METAINFODIR' => "#{CREW_PREFIX}/share/metainfo" + } + system env, 'qmake texmaker.pro' + system "sed -i 's,\$(INSTALL_ROOT)/usr,#{CREW_DEST_PREFIX},g' Makefile" + system "sed -i 's,-fPIC,-fPIC -Wno-error=implicit-function-declaration,g' Makefile" + system 'make' + end + + def self.install + system 'make install' + end +end diff --git a/tools/packages.yaml b/tools/packages.yaml index 4c5de5308..77d628f78 100644 --- a/tools/packages.yaml +++ b/tools/packages.yaml @@ -9100,6 +9100,11 @@ url: ftp://tug.org/historic/systems/texlive/ activity: low --- kind: url +name: texmaker +url: https://www.xm1math.net/texmaker/download.html +activity: none +--- +kind: url name: textract url: https://github.com/deanmalmgren/textract/releases activity: none