Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577886 - app-editors/scite-3.6.4: version bump
Summary: app-editors/scite-3.6.4: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Ervin Peters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-20 22:09 UTC by Ervin Peters
Modified: 2016-04-10 06:39 UTC (History)
2 users (show)

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


Attachments
scite-3.6.4.ebuild (scite-3.6.4.ebuild,2.04 KB, text/plain)
2016-03-20 22:09 UTC, Ervin Peters
Details
Updated scite.desktop File (scite.desktop,281 bytes, application/x-desktop)
2016-03-22 14:29 UTC, Ervin Peters
Details
scite-3.6.4 desktop file (scite-3.6.4.desktop,315 bytes, application/x-desktop)
2016-03-30 09:51 UTC, Ervin Peters
Details
modified scite-3.6.4.ebuild (scite-3.6.4.ebuild,2.12 KB, text/plain)
2016-03-30 09:53 UTC, Ervin Peters
Details
new ebuild obsolets the copying of a desktop file (scite-3.6.4.ebuild,2.21 KB, text/plain)
2016-03-31 20:01 UTC, Ervin Peters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ervin Peters 2016-03-20 22:09:53 UTC
Created attachment 428682 [details]
scite-3.6.4.ebuild

There is a new version upstream available.

Please include in tree.

No dependency change.

Added epatch_user to scr_copile, see attached ebuild.

compiles fine on amd64.

ervin
Comment 1 Ervin Peters 2016-03-22 14:29:44 UTC
Created attachment 428772 [details]
Updated scite.desktop File

The scite.desktop file didn't work as expected.
Update to replace the scite.desktop file in the files sektion.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2016-03-27 09:41:12 UTC
After intending to update, I see a problem here.

scite-3.5.5.ebuild  scite-3.6.1.ebuild scite-3.6.2.ebuild
I would expect rely upon the exisiting file of the same name. Rplacing the file that will worl with the bumped version will only be satisfactory if these are purged at the same time. Changing the name of the file will spoil one or the others.  To complicate matters, the vn. 3.5.5 is made stable and cannot be changed or purged.

I suggest you create a sed statement to edit the existing file to match the bumped version in the bumped ebuild. This will cater to all version. Also you need consider putting scite-3.6.2.ebuild up for stabilising
Comment 3 Ervin Peters 2016-03-29 08:46:15 UTC
scite-3.6.2 stable request: https://bugs.gentoo.org/show_bug.cgi?id=577882

Additional, I didn't see the problem. The upgraded scite desktop file also fixes the Problems for 3.5.5 and following, since I added the missing mimetypes specifications which refuses gnome to offer scite as Text Editor.

But, as workaround we kann rename the desktop file to scite1.desktop or scite-3.6.4.desktop and set accordingly the copy intruction in ebuild.

The old file will get of the tree in a while and the new file then could be renamed for the new ebuild.

Should I create the files?

Ervin
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2016-03-29 23:35:45 UTC
yes sure
Comment 5 Ervin Peters 2016-03-30 09:51:03 UTC
Created attachment 429284 [details]
scite-3.6.4 desktop file
Comment 6 Ervin Peters 2016-03-30 09:53:20 UTC
Created attachment 429286 [details]
modified scite-3.6.4.ebuild

Modified ebuild to use the above scite-3.6.4.desktop file.
Comment 7 Ervin Peters 2016-03-30 19:07:03 UTC
Just recognized that using another Name for the desktop file is a bad idea. It breaks the default File association.

Either we schould replace the file or I'll do some copying / renaming in ebuild.
Would take a few days.

ervin
Comment 8 Ervin Peters 2016-03-31 20:01:11 UTC
Created attachment 429392 [details]
new ebuild obsolets the copying of a desktop file

I created a few sed statements in src_prepare which updates the upstream desktop file to make the copying of a desktop file obsolet.

$ desktop-file-validate /usr/share/applications/SciTE.desktop

does not complain ;)

ervin
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2016-04-10 06:39:53 UTC
E. Peters, 
considering you are a maintainer with very occasional contact via bugs, I have taken a couple of minor liberties. The ebuild had an old cvs header in line 3, the date req'd updating to 2016 in line 1, one dep required a slot operator and had a white space in a line near the end. I have also removed one old version, 3.6.1. 

I suggest you put up 3.6.2 for going stable immediately. The current 3.5.5 os quite old now. 

commit ef19827c1b0655ed72d117cbcd628e66b2f0dbac
Author: Ian Delaney <idella4@gentoo.org>
Date:   Sun Apr 10 14:33:46 2016 +0800

    app-editors/scite: bump to vn. 3.6.4
    
    Ebuild added with minor edits by me (to bring ebuild to required form),
    submitted by the maintainer via the gentoo bug.
    Removed old vn. 3.6.1
    
    Gentoo-bug: #577886