FreeBSD Bugzilla – Attachment 245322 Details for
Bug 274140
net-p2p/transmission-remote-gui: access violation on app startup, broken statusbar, etc.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dirty patch
0001-net-p2p-transmission-remote-gui-update-to-5.18.3-for.patch (text/plain), 4.95 KB, created by
Anton Saietskii
on 2023-09-29 14:41:14 UTC
(
hide
)
Description:
dirty patch
Filename:
MIME Type:
Creator:
Anton Saietskii
Created:
2023-09-29 14:41:14 UTC
Size:
4.95 KB
patch
obsolete
>From 6f75ead09d0a57b0a5dc303c04e0688996afb33d Mon Sep 17 00:00:00 2001 >From: Anton Saietskii <vsasjason@gmail.com> >Date: Fri, 29 Sep 2023 15:50:27 +0259 >Subject: [PATCH] net-p2p/transmission-remote-gui: update to 5.18.3 (fork by > xavery@) > >While here, fix desktop entry categories >--- > net-p2p/transmission-remote-gui/Makefile | 15 +++++--- > net-p2p/transmission-remote-gui/distinfo | 8 ++-- > .../files/patch-main.pas | 10 +++++ > .../files/patch-rpc.pas | 38 ------------------- > 4 files changed, 24 insertions(+), 47 deletions(-) > create mode 100644 net-p2p/transmission-remote-gui/files/patch-main.pas > delete mode 100644 net-p2p/transmission-remote-gui/files/patch-rpc.pas > >diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile >index de4efdd83476..34ea9b1f743f 100644 >--- a/net-p2p/transmission-remote-gui/Makefile >+++ b/net-p2p/transmission-remote-gui/Makefile >@@ -1,12 +1,15 @@ > PORTNAME= transmission-remote-gui >-PORTVERSION= 5.18.0 >-PORTREVISION= 15 >+PORTVERSION= 5.18.3 > DISTVERSIONPREFIX= v >+DISTVERSIONSUFFIX= .f > CATEGORIES= net-p2p > PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} > > USE_GITHUB= yes >-GH_PROJECT= transgui >+GH_ACCOUNT= xavery >+GH_PROJECT= transgui synapse:synapselib >+GH_TAGNAME= af5a202:synapselib >+GH_SUBDIR= synapse/source/lib:synapselib > > MAINTAINER= acm@FreeBSD.org > COMMENT= Remote GUI for transmission daemon >@@ -16,8 +19,8 @@ LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING.txt > > USES= desktop-file-utils fpc gnome iconv lazarus:flavors xorg >-USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-net fcl-xml pasjpeg \ >- rtl-objpas rtl-extra x11 >+USE_FPC= cairo chm fcl-base fcl-extra fcl-image fcl-json fcl-net \ >+ fcl-xml pasjpeg rtl-objpas rtl-extra x11 > USE_GNOME= cairo > USE_XORG= x11 > >@@ -25,7 +28,7 @@ DESKTOP_ENTRIES="Transmission Remote GUI" \ > "Remote GUI for transmission daemon" \ > "transgui" \ > "${PREFIX}/bin/transgui" \ >- "Application;Network;" \ >+ "Network;P2P;" \ > ${TRUE} > > PLIST_FILES= bin/transgui \ >diff --git a/net-p2p/transmission-remote-gui/distinfo b/net-p2p/transmission-remote-gui/distinfo >index 0ae2ab91076a..e629bb6865db 100644 >--- a/net-p2p/transmission-remote-gui/distinfo >+++ b/net-p2p/transmission-remote-gui/distinfo >@@ -1,3 +1,5 @@ >-TIMESTAMP = 1577680999 >-SHA256 (transmission-remote-gui-transgui-v5.18.0_GH0.tar.gz) = d1cbb16eb35d41e76f4a171a3887053899e8dc6a1124afc21615b5038ea60d78 >-SIZE (transmission-remote-gui-transgui-v5.18.0_GH0.tar.gz) = 2848716 >+TIMESTAMP = 1695994023 >+SHA256 (xavery-transgui-v5.18.3.f_GH0.tar.gz) = f4eca3859855c2280741e72ae3d5958b19b4036589876d8ca4bc011887dd52d6 >+SIZE (xavery-transgui-v5.18.3.f_GH0.tar.gz) = 669018 >+SHA256 (xavery-synapse-af5a202_GH0.tar.gz) = 5afca693a0a3be82b39582c15ab112b64edfaff4d757e2aeb22890dd4a211e8d >+SIZE (xavery-synapse-af5a202_GH0.tar.gz) = 356417 >diff --git a/net-p2p/transmission-remote-gui/files/patch-main.pas b/net-p2p/transmission-remote-gui/files/patch-main.pas >new file mode 100644 >index 000000000000..14d400ebef9f >--- /dev/null >+++ b/net-p2p/transmission-remote-gui/files/patch-main.pas >@@ -0,0 +1,10 @@ >+--- main.pas.orig 2023-09-29 13:34:52 UTC >++++ main.pas >+@@ -1554,7 +1554,6 @@ begin >+ FTorrents:=TVarList.Create(gTorrents.Columns.Count, 0); >+ FTorrents.ExtraColumns:=TorrentsExtraColumns; >+ gTorrents.Items.ExtraColumns:=TorrentsExtraColumns; >+- gTorrents.Options2:=[goNoScrollAfterSetRow]; >+ lvFiles.Items.ExtraColumns:=FilesExtraColumns; >+ FFiles:=lvFiles.Items; >+ FFilesTree:=TFilesTree.Create(lvFiles); >diff --git a/net-p2p/transmission-remote-gui/files/patch-rpc.pas b/net-p2p/transmission-remote-gui/files/patch-rpc.pas >deleted file mode 100644 >index 7321ec82299b..000000000000 >--- a/net-p2p/transmission-remote-gui/files/patch-rpc.pas >+++ /dev/null >@@ -1,38 +0,0 @@ >---- rpc.pas 2019-10-12 00:52:07.000000000 -0500 >-+++ rpc.pas 2021-01-06 18:48:06.854420000 -0500 >-@@ -805,21 +805,32 @@ >- req, args: TJSONObject; >- _fields: TJSONArray; >- i: integer; >-+ sl: TStringList; >- begin >- Result:=nil; >- req:=TJSONObject.Create; >-+ sl:=TStringList.Create; >- try >- req.Add('method', 'torrent-get'); >- args:=TJSONObject.Create; >- if TorrentId <> 0 then >- args.Add('ids', TJSONArray.Create([TorrentId])); >-- _fields:=TJSONArray.Create(Fields); >-- for i:=Low(ExtraFields) to High(ExtraFields) do >-- _fields.Add(ExtraFields[i]); >-+ _fields:=TJSONArray.Create; >-+ for i:=Low(Fields) to High(Fields) do >-+ if (Fields[i].VType=vtAnsiString) then >-+ sl.Add(String(Fields[i].VAnsiString)); >-+ sl.AddStrings(ExtraFields); >-+ sl.Sort; >-+ for i:=sl.Count-2 downto 0 do >-+ if (sl[i]=sl[i+1]) then >-+ sl.Delete(i+1); >-+ for i:=0 to sl.Count-1 do >-+ _fields.Add(sl[i]); >- args.Add('fields', _fields); >- req.Add('arguments', args); >- Result:=SendRequest(req); >- finally >-+ sl.Free; >- req.Free; >- end; >- end; >-- >2.42.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274140
:
245303
|
245304
| 245322 |
245353
|
245354