Re: [Lazarus] Just installed fpc/lazarus from sources on Ubuntu 20, cannot find desktop file

2021-11-22 Thread Bo Berglund via lazarus
On Tue, 23 Nov 2021 00:45:05 +0300, Mehmet Erol Sanliturk via lazarus
 wrote:

>Please search the following phrase in Google :
>
>adding an entry into cinnamon main menu
>

OK, I have installed Lazarus on many systems before and all of these (both
Raspberry Pi and PC Linux had the user desktop files located where I put this
one, i.e. inside $HOME.

Apparently not so with Ubuntu Cinnamon

Copied it over to /usr/share/applications/ and then it worked as expected.


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Just installed fpc/lazarus from sources on Ubuntu 20, cannot find desktop file

2021-11-22 Thread Mehmet Erol Sanliturk via lazarus
Please search the following phrase in Google :

adding an entry into cinnamon main menu


For example :

https://askubuntu.com/questions/232053/how-to-add-a-shortcut-to-a-command-to-the-cinnamon-menu
How to add a shortcut to a command to the Cinnamon menu?

and some of the other search results .


With my best regards ,


Mehmet Erol Sanliturk






On Tue, Nov 23, 2021 at 12:36 AM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> I have successfully built Lazarus 2.0.12 with fpc 3.2.2 on an Ubuntu
> 20.04.3
> machine running the Cinnamon desktop.
>
> I have noted this problem:
>
> The desktop file is not recognized by Ubuntu so it shows in the main menu.
> I have created it here:
> $HOME/.local/share/applications/lazarus_2.0.12.desktop
>
> If I copy the desktop file to $HOME/Desktop then it appears on the screen
> and I
> can start it.
> But I want it on the menu
>
> The content is this (newsreader wraps long lines so Exec= is wrapped):
>
> [Desktop Entry]
> Comment=Lazarus IDE 2.0.12
> Terminal=false
> Name=Lazarus 2.0.12
> Exec=/home/bosse/devel/lazarus/2.0.12/startlazarus
> --pcp=/home/bosse/.lazarus_2.0.12 %f
> Type=Application
> Icon=/home/bosse/devel/lazarus/2.0.12/images/ide_icon48x48.png
> Categories=Application;IDE;Development;GTK;GUIDesigner;Programming;
> NoDisplay=false
> Keywords=editor;Pascal;IDE;FreePascal;fpc;Design;Designer;
>
> Does Ubuntu with Cinnamon place the files in another location?
>
> --
> Bo Berglund
> Developer in Sweden
>
> --
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Just installed fpc/lazarus from sources on Ubuntu 20, cannot find desktop file

2021-11-22 Thread Bo Berglund via lazarus
I have successfully built Lazarus 2.0.12 with fpc 3.2.2 on an Ubuntu 20.04.3
machine running the Cinnamon desktop.

I have noted this problem:

The desktop file is not recognized by Ubuntu so it shows in the main menu.
I have created it here:
$HOME/.local/share/applications/lazarus_2.0.12.desktop

If I copy the desktop file to $HOME/Desktop then it appears on the screen and I
can start it.
But I want it on the menu

The content is this (newsreader wraps long lines so Exec= is wrapped):

[Desktop Entry]
Comment=Lazarus IDE 2.0.12
Terminal=false
Name=Lazarus 2.0.12
Exec=/home/bosse/devel/lazarus/2.0.12/startlazarus
--pcp=/home/bosse/.lazarus_2.0.12 %f
Type=Application
Icon=/home/bosse/devel/lazarus/2.0.12/images/ide_icon48x48.png
Categories=Application;IDE;Development;GTK;GUIDesigner;Programming;
NoDisplay=false
Keywords=editor;Pascal;IDE;FreePascal;fpc;Design;Designer;

Does Ubuntu with Cinnamon place the files in another location?

-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] DCPcrypt: a package looking for a new maintainer

2021-11-22 Thread Michael Van Canneyt via lazarus



On Mon, 22 Nov 2021, Bart via lazarus wrote:


Hi,

The DCPcrypt package (see:
https://wiki.lazarus.freepascal.org/DCPcrypt) does not have a
maintainer anymore.
Graeme unfortunately had to give up (as he pointed out: not by choice,
but by circumstances).

Is there anybody out there who is interested (and feels capable) in
maintaining that package?


I think it is a mature codebase, maybe it should be incorporated in FPC.

I am currently implementing crypto routines in FPC for use in JWT tokens,
so maybe using DPCrypt is a better approach than re-implementing all
routines, if we can change the license.

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] DCPcrypt: a package looking for a new maintainer

2021-11-22 Thread Bart via lazarus
Hi,

The DCPcrypt package (see:
https://wiki.lazarus.freepascal.org/DCPcrypt) does not have a
maintainer anymore.
Graeme unfortunately had to give up (as he pointed out: not by choice,
but by circumstances).

Is there anybody out there who is interested (and feels capable) in
maintaining that package?

-- 
Bart
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Asteroids in Pascal

2021-11-22 Thread Bo Berglund via lazarus
On Mon, 22 Nov 2021 08:57:51 +0300, ??? ??? via lazarus
 wrote:

>Hi.
>My operating system is kubuntu 21.04. How can I execute system commands
>from my graphical lazarus program?
>
Example:

RunCommandIndir(exedir, executable, arguments, returnstr,
[poWaitOnExit,poStderrToOutPut,poNoConsole]);

Where:

exedir = the directory where you want the execution to happen
executable = the program executable file
arguments  = array of string holding the command line arguments
returnstr  = String getting the return message from the executable

Read more by searching for RunCommandIndir and/or RunCommand in the fpc
documentation.

-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus