Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893420 - app-office/texstudio-4.6.2: Version bump
Summary: app-office/texstudio-4.6.2: Version bump
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 4 votes (vote)
Assignee: TeX project
URL: https://github.com/texstudio-org/texs...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-02-06 22:06 UTC by Jonas Stein
Modified: 2023-11-27 10:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patchfile for version-bumped ebuild (4.5.2) (stdin-X2ER2.txt,661 bytes, text/plain)
2023-04-16 12:10 UTC, N. Andrew Walsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2023-02-06 22:06:02 UTC
please bump

Reproducible: Always
Comment 1 N. Andrew Walsh 2023-04-16 09:05:24 UTC
seconded. There don't seem to be any overlays with more-current versions, either :(
Comment 2 N. Andrew Walsh 2023-04-16 09:23:37 UTC
(In reply to N. Andrew Walsh from comment #1)
> seconded. There don't seem to be any overlays with more-current versions,
> either :(

Update: renaming the 4.3.1 ebuild to 4.5.2, downloading the release tar.gz from the github, and removing the line about patching the source for quazip will at least get it to start compiling. But emerge fails with the following:

src/spellerutility.cpp:14:10: fatal error: JlCompress.h: No such file or directory
   14 | #include "JlCompress.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11867: .obj/spellerutility.o] Error 1
make: *** Waiting for unfinished jobs....

… which, on looking, is the thing the quazip patch was supposed to fix. So I guess I need to keep that patch in, and try to fix it so it works with the new file.

I'll keep fiddling when I get some time and see if I can get it to work.
Comment 3 N. Andrew Walsh 2023-04-16 12:08:48 UTC
Update2: the gentoo forum provided the patchfile I'm about to upload that will patch the version-bumped ebuild for 4.5.2 and finish compilation without error. You just need to edit the ebuild to point to the new patchfile, run `ebuild {file} manifest` to update the hash, and it should run.
Comment 4 N. Andrew Walsh 2023-04-16 12:10:45 UTC
Created attachment 860183 [details]
patchfile for version-bumped ebuild (4.5.2)

You'll need to rename this file and add it to /usr/local/portage/app-office/texstudio/files, then rebuild the file manifest, and edit the version-bumped ebuild to point to this file instead of the old quazip patchfile.
Comment 5 hsk17 2023-05-08 11:35:11 UTC
please see also github.com/gentoo/gentoo/pull/30858
Comment 6 Jan Psota 2023-05-13 23:45:41 UTC
With patch works for me :-) (but it does not resolve my problem - I hoped latest TeXstudio will spell check .txt files, but looks it does not depend on version - on both 4.3.1 and 4.5 2 spell checking works for .tex and new file but not for loaded .txt file)
Comment 7 deim 2023-07-31 08:40:11 UTC
The bumped patch works well for actual 4.6.2 as well.
Comment 8 Sven Eden 2023-11-27 10:27:30 UTC
Please find a WORKSFORME ebuild for app-office/texstudio-4.6.3 in my overlay:

[seden]
priority = 50
location = /var/lib/layman/seden
sync-type = git
sync-uri = https://anongit.gentoo.org/git/user/seden.git
auto-sync = Yes