texstudio

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#1 by rych » 04 Aug 2021, 06:30

I'd like to install texstudio 3.1.2 on my 5.0rc3 64 OpenBox. Texstudio is a great environment for writing Latex.

The texstudio-3.1.2-1.1.x86_64.rpm from openSUSE Tumbleweed is missing dependencies on my system:

Code: Select all

root@porteus:~# texstudio 
texstudio: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by texstudio)
I'm going to chase them one by one as I don't know how else to do it. I'm afraid that's going to take a while and is not guaranteed to work in the end :) Please teach me if you know a better approach, or help me build it if it's easy for you.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

texstudio

Post#2 by ncmprhnsbl » 05 Aug 2021, 04:25

hmm, seems to be some sort of incompatibility with the opensuse compilation..
maybe pinching that lib from their libstdc++ package might work..(nup.. and not even libc from their glibc)

a quick and dirty solution might be to try the appimage supplied by texstudio: https://github.com/texstudio-org/texstu ... /tag/3.1.2
it seems to work except for a funky interface issue:
it's default theme renders all the menus blank..
solution: go to "options", click near the top, the "configure textsudio" dialog should open, in 'appearance' change 'style' to fusion.
everything should be visible now..

otherwise, it's a compile from source situation..
https://slackbuilds.org/repository/14.2 ... =texstudio is at an earlier version, but could perhaps be version bumped..
arch's packaging script might have some clues for compile options, and has a couple of patches:
https://github.com/archlinux/svntogit-c ... udio/trunk
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#3 by rych » 05 Aug 2021, 10:21

ncmprhnsbl, thanks for your help. Before compiling from source I'm going to try every available build. For example, Arch Linux already has a binary: https://archlinux.pkgs.org/rolling/arch ... r.zst.html Apart from chasing dependencies one would only have to change lib to lib64 or something. Then there are quite a few .deb packages. I'm just afraid, perhaps unreasonably, of compiling from source myself.

If all fails, then yes, the Appimage works and I will check the UI issue. By the way, can one unpack an Appimage? Would be nice to have a command: appimage2xzm :)

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

texstudio

Post#4 by beny » 05 Aug 2021, 12:06

hi rych Aporteus is based on arch system, porteus5. rc3 is based on slackware current so you have to build software that match system base not debian or what you want you can't use arch packages on porteus that have another path for the libraries and executable if you want install sbopkg change the version target to current and sbo-git and you can build software as you wish, with devel package and crippled kernel source package,btw you can't do this on a 4 giga usb or sd or.....a good tread is on linux question for the build option on slackware current system.

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#5 by rych » 06 Aug 2021, 10:00

That ArchLinuix package extracted and dir2xzm'ed actually works after I downloaded (using getpkg) just 2 missing dependencies: hunspell and quazip (hm!?). I'll be testing to see if it works as expected.
Last edited by rych on 14 Aug 2021, 05:54, edited 1 time in total.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

texstudio

Post#6 by ncmprhnsbl » 06 Aug 2021, 22:37

good to hear, hunspell and quazip are both available from slackware current, if you havn't got them already.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#7 by Rava » 13 Aug 2021, 11:12

rych wrote:
06 Aug 2021, 10:00
I'll be testing to see if it works as expected. Let me know if you want the module(s).
If it runs on 5.0rc3 please do upload it.

Maybe keep the dependencies as extra modules, especially hunspell is used by some other programs.
Cheers!
Yours Rava

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

texstudio

Post#8 by rych » 03 Oct 2021, 07:31

The newly released texstudio-4 https://archlinux.pkgs.org/rolling/arch ... r.zst.html can be converted to xzm, via extraction to folder, except it now asks for an additional runtime libQt5Qml.so.5. For that I had to activate an additional bundle (thanks ncmprhnsbl, ) qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm, 42MB. It runs fine after that. (Just keeping a record here)

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#9 by Rava » 03 Oct 2021, 11:23

rych wrote:
03 Oct 2021, 07:31
The newly released texstudio-4 https://archlinux.pkgs.org/rolling/arch ... r.zst.html can be converted to xzm, via extraction to folder, except it now asks for an additional runtime libQt5Qml.so.5. For that I had to activate an additional bundle (thanks ncmprhnsbl, ) qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm, 42MB. It runs fine after that. (Just keeping a record here)
Mind uploading the texstudio-4.0.0-1-x86_64.xzm?

Without the needed additional runtime libQt5Qml.so.5 since such things differ between used DE.

As example: my (at creation date then newest) GIMP module gimp-2.10.22-x86_64-2_stripped+minimal_dependencies_rava.xzm - 13.04 MB, it runs as it is when using XFCE, but when using Mate it needs one additional library.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

texstudio

Post#10 by ncmprhnsbl » 03 Oct 2021, 12:28

rych wrote:
03 Oct 2021, 07:31
additional runtime libQt5Qml.so.5. For that I had to activate an additional bundle (thanks ncmprhnsbl, ) qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm, 42MB.
I'll just mention that qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm contains a lot of stuff(ie. headers, cmake files, pkgconfig,etc) that you don't need (unless you're compiling stuff) and just my slackness in my endeavour to provide a slimmed down qt5, that i dumped all the "extra" libs in together with the development stuff.. in future i'll try to have these extra libs conveniently in their own modules.(probly following more or less the way arch packages them).
I would recommend extracting that lib (test that it's all you need) and either add it to one of the modules or just create a module just for it.

@Rava, you'll definitely need the qt5 modules, can be got with the bundles command.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#11 by Rava » 03 Oct 2021, 20:05

ncmprhnsbl wrote:
03 Oct 2021, 12:28
I'll just mention that qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm contains a lot of stuff(ie. headers, cmake files, pkgconfig,etc) that you don't need
[…]
@Rava, you'll definitely need the qt5 modules, can be got with the bundles command.
Meaning your qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm mentioned above or a different one via bundles command?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

texstudio

Post#12 by ncmprhnsbl » 03 Oct 2021, 21:52

Rava wrote:
03 Oct 2021, 20:05
Meaning your qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm mentioned above or a different one via bundles command?
try the bundles command(or even 'bundles' gui from the system menu) and you'll see. there's two qt5 bundles(-base- and -dev-) and you'll need both of them.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#13 by Rava » 03 Oct 2021, 22:33

ncmprhnsbl wrote:
03 Oct 2021, 21:52
try the bundles command(or even 'bundles' gui from the system menu) and you'll see. there's two qt5 bundles(-base- and -dev-) and you'll need both of them.
Me thinks you mean the bold marked ones:
root@porteus:/# bundles

Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
[OK] x86_64
Downloading live script ...
Downloading: bundles-live DONE

####################################
Welcome to the porteus bundle manager

Updating list of packages ...
Downloading: bundles DONE

The following items were found.
Choose an number to confirm.
ctrl+c to quit

1) gtk2-2.24.33-x86_64-2-alldesktops.xzm
2) netsurf-3.10-x86_64-alldesktops.xzm
3) peek-git-7cf050b-x86_64-kde-cinnamon-mate-xfce4-lxde-1.xzm
4) peek-git-7cf050b-x86_64-openbox-lxqt-1.xzm
5) pysolfc-2.8.0-x86_64-alldesktops-3.xzm
6) qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
7) qt5-dev-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
#?
:)

I recall there being more bundles… or does bundles look which Porteus Version I run and e.g. not shows bundles for 4.0 x86-64?
Cheers!
Yours Rava

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

texstudio

Post#14 by wread » 01 Nov 2021, 20:12

Hi all!
I use in kde the slackware version of latex: Kile. It needs as dependencies ghostscript, imagemagic and textlive.
Works fine!

Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

texstudio

Post#15 by Rava » 02 Nov 2021, 14:13

What do you folks think of creating a x86-64 thread for all things LaTex? Since its superiour to any office writer.
In its first post should be a short description, e.g.

URL to texstudio-3.1.2-1.1.x86_64.xzm (no real URL)
short description
no further dependencies for 5.0rc3 XFCE (info fictional)
URL to dependencies for 5.0rc3 Mate and Openbox (info fictional)
forum post: forum.porteus.org/viewtopic.php?what-ever (no real URL)

Kile for KDE
It needs as dependencies ghostscript, imagemagic and textlive.
forum post: texstudio (Post by wread #85271)

but we would need some uploaded modules first.
Cheers!
Yours Rava

Post Reply