You are not logged in.

#1 2020-08-12 08:23:53

Helg1980
Member
From: Königsberg
Registered: 2020-07-23
Posts: 37

Adding a program to the Community repository

Hi!

Please tell me the procedure for adding my program to the Community repository?

https://github.com/CineEncoder/cine-encoder

The program is already in the AUR repository (cine-encoder)

I completely redesigned the program and added new features. The program works perfectly.

Offline

#2 2020-08-12 08:42:19

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: Adding a program to the Community repository


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-08-12 08:51:56

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: Adding a program to the Community repository

No /usr/bin/cineencoder (or similar)? Just a .desktop? Would be annoying to call on occasion.

Offline

#4 2020-08-12 08:52:10

Helg1980
Member
From: Königsberg
Registered: 2020-07-23
Posts: 37

Re: Adding a program to the Community repository

OK, but how do I report my program to Trusted Users?

Offline

#5 2020-08-12 08:54:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: Adding a program to the Community repository

WorMzy's second link is broken, the question mark is actually part of the link. Please read both links, it's explained in the second.

fixed link

Offline

#6 2020-08-12 08:58:48

Helg1980
Member
From: Königsberg
Registered: 2020-07-23
Posts: 37

Re: Adding a program to the Community repository

What do you mean "Just a .desktop"?

Last edited by Helg1980 (2020-08-12 09:01:53)

Offline

#7 2020-08-12 09:04:32

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: Adding a program to the Community repository

There is no simple way to launch the program from a cli or something like it, like the default dmenu runner on i3. Just a sidenote.

Offline

#8 2020-08-12 09:10:51

Helg1980
Member
From: Königsberg
Registered: 2020-07-23
Posts: 37

Re: Adding a program to the Community repository

This is because I did it on Python, I'll rewrite it in C++ later

Try this:
$ python /usr/lib/python3.8/site-packages/cine-encoder/main.py

Last edited by Helg1980 (2020-08-12 09:20:40)

Offline

#9 2020-08-12 18:18:19

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Adding a program to the Community repository

Use setuptools entry_points for this. Also https://github.com/CineEncoder/cine-enc … desktop#L9

Your desktop file incorrectly lists supported Mimetype= values that can be opened with "python /usr/lib/python3.8/site-packages/cine-encoder/main.py /path/to/file.mp4" or whatever. But the desktop file doesn't actually pass those arguments to the program as per https://specifications.freedesktop.org/ … -variables

Furthermore a quick glance at the code indicates there is no option parsing to use those command-line arguments even if you try.

Either implement this, or remove the Mimetype= key.


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

Offline

#10 2020-08-13 06:49:45

Helg1980
Member
From: Königsberg
Registered: 2020-07-23
Posts: 37

Re: Adding a program to the Community repository

eschwartz wrote:

Use setuptools entry_points for this. Also https://github.com/CineEncoder/cine-enc … desktop#L9

Your desktop file incorrectly lists supported Mimetype= values that can be opened with "python /usr/lib/python3.8/site-packages/cine-encoder/main.py /path/to/file.mp4" or whatever. But the desktop file doesn't actually pass those arguments to the program as per https://specifications.freedesktop.org/ … -variables

Furthermore a quick glance at the code indicates there is no option parsing to use those command-line arguments even if you try.

Either implement this, or remove the Mimetype= key.


I corrected this error today (just deleted Mimetype= key).

Offline

Board footer

Powered by FluxBB