Recent

Author Topic: Online Package Manager  (Read 839955 times)

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Online Package Manager
« Reply #210 on: November 10, 2016, 01:48:48 pm »

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #211 on: November 10, 2016, 03:39:55 pm »
@lainz
Great! I will add the links to the JSON file. One more thing, I noticed that the description and author fields are missing from "bgracontrols.lpk" and "bgracontrolsfx.lpk". Is this by accident?

I will update them today.

This is the new link for bgrabitmap
https://github.com/bgrabitmap/bgrabitmap/

This is the update link
https://github.com/bgrabitmap/bgrabitmap/archive/master.zip

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #212 on: November 11, 2016, 07:07:01 am »
Quote
@wp
There's a new release version of CalLite (https://sourceforge.net/projects/lazarus-ccr/files/CalLite/) and a wiki page (http://wiki.lazarus.freepascal.org/CalLite).
I updated the package. Thanks.

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: Online Package Manager
« Reply #213 on: November 14, 2016, 09:44:06 pm »
Hi
Just put a clean Laz Trunk on Clean Installation and thought I would try this to add in some packages; all was going well until I instal synapse 40.1. This failed with the screen shot attached, i checked installed packages and nothing is installed. So then I tried to install another package and this generates the same error. I cleaned sources, and rebuild ide, and installed the other package and all seems ok, so I installed lazsynapse 40. and this seems ok.

Is this a known problem?

Also When Error occurred, I clicked the install updates button again, and it failed again, when I checked installed packages There were 2 instances of each of the installed packages.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #214 on: November 14, 2016, 10:46:24 pm »
Hi josh,

Quote
Is this a known problem?
Not until now. It was a bug. Please test it again: https://github.com/getmem/LazOpkMan
Thank you!

PS: Both synapse40 and synapse40.1 are runtime packages, after "install" you won't be able to see them in the installed package list. However the packages can be added to the required package list of a project.

PS1: Today(2016.11.15) I had to change the JSON structure again. Please test with: https://drive.google.com/open?id=0B9Me_c5onmWoaldvMndnTFNxTTQ
« Last Edit: November 15, 2016, 10:36:41 am by GetMem »

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: Online Package Manager
« Reply #215 on: November 16, 2016, 03:26:41 pm »
Hi Getmem,

As the new release 1.6.2 was released; i thought I would test it out; I now have a 1.6.3 (Fixes) and FPC 3.0.1 (Fixes) installed; when I try to compile I get

opkman_oleutils.pas(110,64) Error: Call by var for arg no. 3 has to match exactly: Got "Int64" expected "QWord"

Which points to here.

Res:=FSrcStream.Seek(Int64(liOffset), Origin, Int64(liResult));

Any ideas?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #216 on: November 16, 2016, 05:17:28 pm »
@josh
Fixed! Download link: https://drive.google.com/open?id=0B9Me_c5onmWoY2xCZEdONERqa28
Hopefully the main repository will be synchronized again in a few days, then you can use the github version.


balazsszekely

  • Guest
Re: Online Package Manager
« Reply #217 on: November 18, 2016, 08:10:01 am »
Hi all,

The main repository has been moved to: http://packages.lazarus-ide.org/ The download speed is quite exceptional. Thanks @Marc! 
From now on, I can update the repository more frequently, multiple times per day if necessary. I already synchronized the repository with latest changes from my local computer. In order to get the latest version:
   1. Download the source from: https://github.com/getmem/LazOpkMan
   2. Compile/Build/Install
   3. Go to package manager option and change the remote repository address to: http://packages.lazarus-ide.org/
In a few days the package manager will be moved to Lazarus trunk, so updating the source will become much easier than it is now.

PS: Feedback, bug report, package update is more then welcome.

« Last Edit: November 18, 2016, 08:20:23 am by GetMem »

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #218 on: November 18, 2016, 02:03:41 pm »
Hi, when I try to rebuild the ide it says "can't find unit opkman_optionsfrm.pas".

This line in the file causes the problem:

Code: Pascal  [Select][+][-]
  1.  *   Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also      *

Seems that it thinks that's an html file? Is a bug in the compiler.

Edit: I can't reproduce it. It happened only one or two times, then I edited the file to remove that line, then It compiled. Then I reverted the line and deleted the lib folder and then recompiled and now compiles  %)
« Last Edit: November 18, 2016, 02:17:05 pm by lainz »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #219 on: November 18, 2016, 03:06:32 pm »
@lainz
I did try to reproduce myself without success.

Good news! Thanks to @varianus the package manager has proxy support. Please test.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #220 on: November 18, 2016, 03:29:05 pm »
@lainz
I did try to reproduce myself without success.

Good news! Thanks to @varianus the package manager has proxy support. Please test.

Well that's these runtime errors that it's supossed to be reported to the bugtracker, but if we can't reproduce there's nothing to report, I've not taken a screenshot not written the number down to a text file, so nothing can be done. It was strange, why the compiler will try to find the file in the comments  :o

I don't have proxy but seems that it will put some people happy.

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #221 on: November 18, 2016, 09:21:14 pm »
Downloaded latest version and changed the repository URL.  Glad to report its working great - and very fast, too.
Environment: NewPascal Laz1.7/fpc 3.1.1 Win 10 64bit
I'll test it tomorrow in Laz 1.6/fp c3.0 32-bit Ubuntu 14.x =update= Complete Success!

Minor annoyance: I installed the DCrypt package, which in itself is pretty cryptic, so I clicked on the help link on OPM, and it points to an obsolete Delphi page which doesn't help at all.  I would suggest changing the link to http://wiki.lazarus.freepascal.org/DCPcrypt

Thanks for this useful add-on.
« Last Edit: November 19, 2016, 10:41:13 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #222 on: November 18, 2016, 11:23:01 pm »
Quote
Minor annoyance: I installed the DCrypt package, which in itself is pretty cryptic, so I clicked on the help link on OPM, and it points to an obsolete Delphi page which doesn't help at all.  I would suggest changing the link to http://wiki.lazarus.freepascal.org/DCPcrypt
Although the obsolete delphi page is the original one, I agree http://wiki.lazarus.freepascal.org/DCPcrypt is more helpful for Lazarus user. Link changed. Thanks!

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Online Package Manager
« Reply #223 on: November 21, 2016, 09:31:04 am »
Hello,

just saw, that in Lazarus trunk the onlinepackagemanager moved into the \components folder. This version allows to use a proxy server. Great! After installing and open the manager form, there is a message about an invalid JSON ini file. How to avoid that?



Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #224 on: November 21, 2016, 09:35:45 am »
Quote
Just saw, that in Lazarus trunk the onlinepackagemanager moved into the \components folder. This version allows to use a proxy server. Great! After installing and open the manager form, there is a message about an invalid JSON ini file. How to avoid that?
This could only happen if you connect to the old repository with outdated JSON. Open options, then change Remote repository to: http://packages.lazarus-ide.org/

 

TinyPortal © 2005-2018