Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893420 - app-office/texstudio-4.8.1: Version bump
Summary: app-office/texstudio-4.8.1: Version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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: 2024-06-23 10:17 UTC (History)
4 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
Comment 9 N. Andrew Walsh 2024-06-12 09:32:13 UTC
Sven, that anongit repository you linked is apparently no longer working.

TexStudio has now updated to 4.8.*; is anybody maintaining this ebuild to bring it up to date? Looking back at the comment history I see that I apparently did some work to bump it previously; I'm not sure I have the headspace to do it again :(
Comment 10 Larry the Git Cow gentoo-dev 2024-06-12 12:32:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52fa0cdd26134fab73eda25659696a7bf559a4a

commit b52fa0cdd26134fab73eda25659696a7bf559a4a
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-06-12 12:32:40 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-06-12 12:32:40 +0000

    app-office/texstudio: add 4.8.1
    
    Closes: https://bugs.gentoo.org/893420
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-office/texstudio/Manifest               |  1 +
 app-office/texstudio/texstudio-4.8.1.ebuild | 79 +++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)