You are not logged in.

#1 2021-03-24 06:30:26

AZJIO
Member
Registered: 2021-03-24
Posts: 10

GUI for find

GUI for find

The program forms a command line and searches. Programs used: find, grep, sed, sort

[ Moderator comment (ewaller):  The links below seem odd; follow at your own risk ]

download
link2

Russian download

8bf66bb48876t.jpg

Last edited by ewaller (2021-03-24 13:45:55)

Offline

#2 2021-03-24 13:44:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,694

Re: GUI for find

AZJIO,  Welcome to the forums.  I am a bit concerned that your first post is a post that seems to promote a project of yours with links to addresses that look like they could point to anything.
If you would truly like to share this with the Arch Community, I strongly suggest you create an AUR package for this.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-03-24 22:20:14

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

ewaller,
I need to learn how to add to the AUR. The instructions say that you cannot add binary files. Here I was told that you can add binaries. Discussing the program here

Offline

#4 2021-03-24 22:41:55

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,000

Re: GUI for find

You are permitted to add a PKGBUILD to the AUR that uses binaries. However, the binary must be downloaded from e.g. https://disk.yandex.ru (your current software distribution hosting site) and not `git commit`ed to the AUR.

Last edited by eschwartz (2021-03-24 22:42:34)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2021-03-25 00:14:37

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

Is that correct?

pkgname=findgui
pkgver=1.1
pkgrel=1
pkgdesc="GUI shell for the well-known 'find' utility."
arch=(x86_64)
license=(GPL3)
source_x86_64=("$pkgname-$pkgver.tar.gz::https://azjio.ucoz.ru/file/find_gui.tar.gz")
depends=(gtk3 findutils sed grep sort)

package() {
  tar -xvf "${source}/$pkgname-$pkgver.tar.gz" -C "${pkgdir}"
}

Last edited by AZJIO (2021-03-25 00:16:32)

Offline

#6 2021-03-25 00:25:10

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,000

Re: GUI for find

It claims to be GPL3 -- where is the source code, then?

What is ${source} and did you mean ${srcdir}

You'll need to add integrity checks to correspond to the sources, e.g. sha256sums=(...)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2021-03-25 00:46:07

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

I realized that I can test PKGBUILD without creating it in the AUR

eschwartz wrote:

It claims to be GPL3 -- where is the source code, then?

in the archive

Last edited by AZJIO (2021-03-25 00:49:58)

Offline

#8 2021-03-25 01:27:26

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,000

Re: GUI for find

I only see 3 files in the archive:

usr/bin/find_gui

usr/share/applications/Find_GUI.desktop

usr/share/pixmaps/Find_GUI.png

find_gui is a compiled ELF binary which links to gtk3, gdk, cairo, pango, GLib, etc.

The PNG image and the Find_GUI.desktop menu configuration file are not the source code for find_gui

Where is the source code you said is in the archive?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#9 2021-03-25 01:47:04

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

eschwartz

The link inside PKGBUILD is only necessary for the installation, since the source code is not needed there.

These links contain the source code, but this is a minimal set of files: download link2

Here is a complete set of files, even help and installation packages: Russian download. But everything here is in Russian

Offline

#10 2021-03-25 02:06:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,181

Re: GUI for find

So it was written in PureBasic - but I don't believe there is any open source or freely available PB compiler.  I believe this would make the code not qualified for GPL licensing as to satisfy the requirements of the GPL as (again I believe) you need to provide the source code in a manner in which the recipient could modify/recompile it and/or also provide the tools required to do so.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2021-03-25 19:08:25

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

I managed to do it, now it works.

pkgname=findgui
pkgver=1.1
pkgrel=1
pkgdesc="GUI shell for the well-known 'find' utility."
arch=(x86_64)
license=(GPL3)
source=("$pkgname-$pkgver.tar.gz::https://azjio.ucoz.ru/file/find_gui.tar.gz")
depend=(gtk3 findutils sed grep sort)

package() {
  tar -xvf "${srcdir}/../$pkgname-$pkgver.tar.gz" -C "${pkgdir}"
}

sha256sums=('fc3d0322fa3bbf0f1fe229b3601e7bd820590b440e39cf021eb909ad23de8242')

Offline

#12 2021-03-25 20:36:50

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,140

Re: GUI for find

No, you haven't. You are still stating GPL3 without having addressed the licensing issues already raised.


[img]https://www.speedtest.net/result/11113231962.png[/img]

Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (1 NvME PCI, 5SSD) + 1 x optical.
Linux user #545703

Offline

#13 2021-03-25 23:35:49

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

What kind of license can you offer?
I gave a license to the result of my work.

Last edited by AZJIO (2021-03-25 23:49:17)

Offline

#14 2021-03-26 02:19:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,181

Re: GUI for find

There are countless licenses you could choose from, and pretty much any of them could work except the GPL and it's variants as you are not currently meeting the GPL's requirements for source code distribution (though this would be an easy fix) and you may not be meeting the requirements for availability of the compiler (though this is a bit muddy, and one might need a lawyer to actually understand the lengthy and wordy GPL text relevant to this point).

I don't think there is *any* other license, either open source or proprietary, that would pose similar challenges.  So just pick one that suits your goals and intent.  I personally try not to use strong copy-left licenses like the GPL, so I cannot recommend the next-closest alternative*, but if you are just looking for open source licenses and want something simple, the MIT or one of the BSD licenses are simple and widely used.  You can learn about several options here:

https://opensource.org/licenses

*note: The CC-BY-NC-SA would be the closest license in goals / requirements to the GPL that I am familiar with that does not have the requirements on source and / or compiler availability, but it is not intended for software and is more suitable to documents and artwork.

Last edited by Trilby (2021-03-26 02:21:52)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#15 2021-03-26 03:20:27

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

From the previous post, there is one important criterion that the GPL3 declaration retains the user's confidence in the program, but at the same time limits the ability to check the code by self-compilation.

Before asking, I myself looked for brief information on licenses. I didn't like BSD and MIT because your code could be used commercially. Usually, such a license is convenient for a separate functionality that is used inside other programs, and not for a finished product. That is, a person can simply sell your work without changing it. If this is a separate function, then it is impossible to sell it in this form, it is not needed by anyone. Does BSD meet the requirements for free compilation? The problem persists.

It would be ideal to include a link to the license and briefly indicate the criteria, for example: you can use parts of the source code in your commercial programs. If you want to develop the current program, then in order to enter yourself as the main author, you need to change the code more than 50% and publish for free. Otherwise, you can indicate yourself as a person modifying the author's code.

Offline

#16 2021-03-26 13:21:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,181

Re: GUI for find

Yes, with permissive licenses, someone could take your work and try to sell it.  But 1) they'd have a hard time doing so if it was already freely available, and 2) nothing about the GPL actually prevents this either.

The MIT and BSD licenses do not place any requirements on the author as the GPL does - so you could distribute your project as-is under MIT or BSD, or - again - almost any license other than the GPL.

Alternatively, you may like a proprietary license where you grant users the right to use / copy and redistribute, but not modify or redistribute modifications.

I'd advise against trying to make up your own criteria (e.g., the 50% change) as such criteria are never actually clear cut, and unless you are hiring your own legal team, you'd end up far less protected than if you went with an established license.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#17 2021-03-27 09:20:53

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

pkgname=findgui
pkgver=1.1
pkgrel=1
pkgdesc="GUI shell for the well-known 'find' utility."
arch=(x86_64)
license=(custom)
source=("$pkgname-$pkgver.tar.gz::https://azjio.ucoz.ru/file/find_gui.tar.gz")
depend=(gtk3 findutils sed grep sort)

package() {
  tar -xvf "${srcdir}/../$pkgname-$pkgver.tar.gz" -C "${pkgdir}"
}

sha256sums=('b9c23d180b36687b9686545fe178ad10269b4ad051e586f7db186b32d8de6b63')

/usr/share/licenses/common/findgui/license.txt

it'll do?

Offline

#18 2021-03-27 13:07:34

willemw
Member
Registered: 2013-02-19
Posts: 36

Re: GUI for find

Package name findgui-bin would be more correct.

Offline

#19 2021-03-27 15:42:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,181

Re: GUI for find

The custom license should be in /usr/share/licenses/findgui/ not under /common/ (as it's not a common or shared license).

But yes, that does address the previous concerns for being able to be packaged.  However, that license is extremely vauge - you really shouldn't just try to make up your own, but that is not relevant for whether it can be packaged in the AUR.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#20 2021-03-27 22:15:04

AZJIO
Member
Registered: 2021-03-24
Posts: 10

Re: GUI for find

pkgname=find-gui-bin
pkgver=1.1
pkgrel=1
pkgdesc="GUI shell for the well-known 'find' utility."
arch=(x86_64)
license=(custom)
source=("$pkgname-$pkgver.tar.gz::https://azjio.ucoz.ru/file/find_gui.tar.gz")
depends=(gtk3 findutils sed grep)
url=https://azjio.ucoz.ru/load/programs/linux/find_gui_linux/11-1-0-73

package() {
  tar -xvf "${srcdir}/../$pkgname-$pkgver.tar.gz" -C "${pkgdir}"
}

sha256sums=('3e3ae8754b46a96950757818cc0837b473ce761b364d8242820012f77ba0bcfc')

it'll do?

Updated the executable file. Any language can be added as it uses an external file. Added a link to the help file.
Updated 2

Last edited by AZJIO (2021-04-01 10:32:23)

Offline

Board footer

Powered by FluxBB