Re: [ubuntu-studio-devel] Add and remove packages

2016-08-02 Thread Set Hallstrom
söndagen den 31:e juli 2016 kl. 21:03:59 CEST, Ross Gammon 
 skrev:

On 07/29/2016 04:55 PM, Ross Gammon wrote:

On 07/28/2016 02:12 PM, Set Hallstrom wrote:

I saw Ross added the 2 audio packages to the seeds \o/
And i took care of 2 first entries for graphics. The seed part is
actually very easy, once you get a grip on the terminology that is.
(seeds? meta? :D) I will try my best to document my progress and compile
it for the wiki.


The metapackages are a little different compared to normal packages,
because there is a special command to run the germination script locally
based on the seeds in the other repository, and update the
debian/control file.

I queried the the process with Kaj offline a while back, with the
intention to add it to the wiki. I will try and find the mail and
forward it. Or I will do it on the wiki for you to test-drive!



I have done better than forward the mail, I have written it up on the
wiki. \o/

Seeds (was mostly there, I just finished it off a bit):
https://wiki.ubuntu.com/UbuntuStudio/Seeds

Meta Packages (filled in the section already allocated for it):
https://wiki.ubuntu.com/UbuntuStudio/UbuntuStudioPackageMaintenance

I am in the process of following the instructions myself, to check them.
Then the next time we need to update them, someone else can have a go.
Comments/Suggestions welcome.

Cheers,

Ross



Thank you Ross \o/ For the wiki pages and for fixing the seeds! <3

Yours,


--
Set Hallström
Sent from my Ubuntu pocket computer

--
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-29 Thread Ross Gammon
On 07/28/2016 02:12 PM, Set Hallstrom wrote:
> I saw Ross added the 2 audio packages to the seeds \o/
> And i took care of 2 first entries for graphics. The seed part is
> actually very easy, once you get a grip on the terminology that is.
> (seeds? meta? :D) I will try my best to document my progress and compile
> it for the wiki.

The metapackages are a little different compared to normal packages,
because there is a special command to run the germination script locally
based on the seeds in the other repository, and update the
debian/control file.

I queried the the process with Kaj offline a while back, with the
intention to add it to the wiki. I will try and find the mail and
forward it. Or I will do it on the wiki for you to test-drive!

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-28 Thread Set Hallstrom
On 2016-07-27 21:39, Ross Gammon wrote:
> Hi Ralf (and other interested people),
> 
> On 07/25/2016 08:56 PM, Ralf Mardorf wrote:
>> On Mon, 25 Jul 2016 15:05:13 +0200, Kaj Ailomaa wrote:
>>> Then, also create your PPA to which you will upload your own custom
>>> meta.
>>
>> That's what I once wanted to do, but for me it's rocket science and I
>> never found a simple explanation for all steps, IOW there's no demo
>> with a real package, a beginner simply could copy, step by step.
>>
> 
> It is not rocket science. Even I can manage it :-)
> 
> You will never find a simple explanation for how to package, because
> there is more than one way to do it, and the steps to do it vary
> depending on what you are working on, and the tools and processes also
> change/improve over time.
> 
> If you know your way around the shell, how to compile software from
> source, how to apply a patch, how to install packages, how to use a bug
> tracker, and what version control means, you can package software for
> Ubuntu. You just need to learn some of the Debian/Ubuntu specific tools
> and processes. If you miss some of this knowledge, you just need time,
> patience and the ability to read and use a search engine!
> 
> My starting points/references:
> https://mentors.debian.net/intro-maintainers (for packaging in Debian)
> http://packaging.ubuntu.com/html/index.html (for packaging in Ubuntu)
> The Debian Mentors mailing list and IRC channel are excellent for
> getting help, and the Ubuntu MOTU team can help with Ubuntu specific
> queries.
> 
> The best thing is to find a task that needs doing, and get stuck in. If
> you get stuck, someone out there will know what to do, and either help
> you, or just do it for you (then you can inspect what they did afterwards).
> 
> You can also ask here at any step of the way. Especially if it is one of
> our packages, or our seeds.
> 
> Cheers,
> 
> Ross
> 

Thank you guys! I learned a lot from all you guy's input and like Ross
suggests; by getting started things get more tangible. (Also, with the
good help of krytarik, it gets fun :) ) And i have to say it would be
awesome to see you get your hands dirty with us, Ralf. Knowing your
console-fu and you rocketmouse science skills ;)

I saw Ross added the 2 audio packages to the seeds \o/
And i took care of 2 first entries for graphics. The seed part is
actually very easy, once you get a grip on the terminology that is.
(seeds? meta? :D) I will try my best to document my progress and compile
it for the wiki.

Yours,

-- 
Set Hallstrom aka sakrecoer



signature.asc
Description: OpenPGP digital signature
-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-27 Thread Ross Gammon
Hi Ralf (and other interested people),

On 07/25/2016 08:56 PM, Ralf Mardorf wrote:
> On Mon, 25 Jul 2016 15:05:13 +0200, Kaj Ailomaa wrote:
>> Then, also create your PPA to which you will upload your own custom
>> meta.
> 
> That's what I once wanted to do, but for me it's rocket science and I
> never found a simple explanation for all steps, IOW there's no demo
> with a real package, a beginner simply could copy, step by step.
> 

It is not rocket science. Even I can manage it :-)

You will never find a simple explanation for how to package, because
there is more than one way to do it, and the steps to do it vary
depending on what you are working on, and the tools and processes also
change/improve over time.

If you know your way around the shell, how to compile software from
source, how to apply a patch, how to install packages, how to use a bug
tracker, and what version control means, you can package software for
Ubuntu. You just need to learn some of the Debian/Ubuntu specific tools
and processes. If you miss some of this knowledge, you just need time,
patience and the ability to read and use a search engine!

My starting points/references:
https://mentors.debian.net/intro-maintainers (for packaging in Debian)
http://packaging.ubuntu.com/html/index.html (for packaging in Ubuntu)
The Debian Mentors mailing list and IRC channel are excellent for
getting help, and the Ubuntu MOTU team can help with Ubuntu specific
queries.

The best thing is to find a task that needs doing, and get stuck in. If
you get stuck, someone out there will know what to do, and either help
you, or just do it for you (then you can inspect what they did afterwards).

You can also ask here at any step of the way. Especially if it is one of
our packages, or our seeds.

Cheers,

Ross

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Ralf Mardorf
On Mon, 25 Jul 2016 15:05:13 +0200, Kaj Ailomaa wrote:
>Then, also create your PPA to which you will upload your own custom
>meta.

That's what I once wanted to do, but for me it's rocket science and I
never found a simple explanation for all steps, IOW there's no demo
with a real package, a beginner simply could copy, step by step.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Kaj Ailomaa
On Mon, Jul 25, 2016, at 02:52 PM, Ralf Mardorf wrote:
> I tried to do this since years, but didn't find any explanation on how
> to do this.
> 


Did you ever ask for advice on how to dit?

The meta is built with the help the tool *germinate*. There's a config
file in the source (update.cfg - which needs to be updated for each new
release, and hasn't been yet, but I will fix that on next upload). In
the config file you will find the url for some seed files.
Some of the seeds are the same for all official Ubuntu flavor desktop
metas, some are specific for the flavor. So, in order for us to make
changes the packages audio, video, graphics, etc, we do that in our
seeds - not in the meta itself.
Once the seeds have been changed, the meta is updated.

If you want to create your own custom meta, you can clone our seeds, and
the add your own bzr branch for it in launchpad. Then, also create your
PPA to which you will upload your own custom meta. In the config for the
meta, change the url so it points to your own seed files. Usually, we
only change the codename, but I'm sure you can work out the logic for
the renaming.

Finally, to create the new meta package (once you have changed the
config), you run the update script:

fakeroot debian/rules clean
./update
dput  

If you need more info, let me know. This is quite a sparse explanation,
but I'm guessing you will make sense of it. If not, just let me know.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Ralf Mardorf
On Mon, 25 Jul 2016 14:46:41 +0200, Kaj Ailomaa wrote:
>On Mon, Jul 25, 2016, at 02:36 PM, Ralf Mardorf wrote:
>> On Mon, 25 Jul 2016 13:57:32 +0200, Set Hallstrom wrote:  
>> >i can't find docs on how to remove or add apps to a package, for
>> >example add drumgizmo to ubuntustudio-audio...  
>> 
>> Just edit the "control" file. With an editor add a package to or
>> remove it from the "Depends" or "Recommends" list. The "control"
>> file is in the "debian" folder.
>> 
>> Assumed the package should contain the binary, then you need to add
>> everything, "Depends", "Recommends", "Description" etc. to the
>> "control" file, also you need to add the "Build-Depends". After that
>> edit the "rules" file.
>> 
>> Editing the "rules" could be as easy as ./configure but also very
>> tricky.
>> 
>> I guess you already know this and you've got problems with the tricky
>> kind of "rules".
>> 
>> The problem is that already Debian, but even more Ubuntu follows an
>> opposite of the KISS principle. In addition to make it idiotic
>> complicated, they also don't provide good documentations. There are
>> good reasons that I'm an Arch Linux user, the KISS principle + good
>> documentations in English + good documentation in my native language
>> and _everybody_ _easily_ could edit Arch Wikis.
>> 
>> You would be surprised how complicated building a snap is, compared
>> to a deb. However, consider to become familiar with both, building
>> debs and snaps.
>> 
>> Regards,
>> Ralf
>>   
>
>
>Please don't advice on our packagin Ralf, unless you actually know how
>it works :).
>
>Each package has its own logic, and when it comes to metas, it is not
>as simple as editing the meta package itself.
>
>If you would like to help out with this in the future, you are free to
>do so. Just let us know in that case.

I tried to do this since years, but didn't find any explanation on how
to do this.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Kaj Ailomaa
On Mon, Jul 25, 2016, at 02:36 PM, Ralf Mardorf wrote:
> On Mon, 25 Jul 2016 13:57:32 +0200, Set Hallstrom wrote:
> >i can't find docs on how to remove or add apps to a package, for
> >example add drumgizmo to ubuntustudio-audio...
> 
> Just edit the "control" file. With an editor add a package to or remove
> it from the "Depends" or "Recommends" list. The "control" file is in
> the "debian" folder.
> 
> Assumed the package should contain the binary, then you need to add
> everything, "Depends", "Recommends", "Description" etc. to the
> "control" file, also you need to add the "Build-Depends". After that
> edit the "rules" file.
> 
> Editing the "rules" could be as easy as ./configure but also very
> tricky.
> 
> I guess you already know this and you've got problems with the tricky
> kind of "rules".
> 
> The problem is that already Debian, but even more Ubuntu follows an
> opposite of the KISS principle. In addition to make it idiotic
> complicated, they also don't provide good documentations. There are
> good reasons that I'm an Arch Linux user, the KISS principle + good
> documentations in English + good documentation in my native language
> and _everybody_ _easily_ could edit Arch Wikis.
> 
> You would be surprised how complicated building a snap is, compared to
> a deb. However, consider to become familiar with both, building debs
> and snaps.
> 
> Regards,
> Ralf
> 


Please don't advice on our packagin Ralf, unless you actually know how
it works :).

Each package has its own logic, and when it comes to metas, it is not as
simple as editing the meta package itself.

If you would like to help out with this in the future, you are free to
do so. Just let us know in that case.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Ralf Mardorf
On Mon, 25 Jul 2016 13:57:32 +0200, Set Hallstrom wrote:
>i can't find docs on how to remove or add apps to a package, for
>example add drumgizmo to ubuntustudio-audio...

Just edit the "control" file. With an editor add a package to or remove
it from the "Depends" or "Recommends" list. The "control" file is in
the "debian" folder.

Assumed the package should contain the binary, then you need to add
everything, "Depends", "Recommends", "Description" etc. to the
"control" file, also you need to add the "Build-Depends". After that
edit the "rules" file.

Editing the "rules" could be as easy as ./configure but also very
tricky.

I guess you already know this and you've got problems with the tricky
kind of "rules".

The problem is that already Debian, but even more Ubuntu follows an
opposite of the KISS principle. In addition to make it idiotic
complicated, they also don't provide good documentations. There are
good reasons that I'm an Arch Linux user, the KISS principle + good
documentations in English + good documentation in my native language
and _everybody_ _easily_ could edit Arch Wikis.

You would be surprised how complicated building a snap is, compared to
a deb. However, consider to become familiar with both, building debs
and snaps.

Regards,
Ralf

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Set Hallstrom
måndagen den 25:e juli 2016 kl. 13:03:00 CEST, Ralf Mardorf 
 skrev:

On Mon, 25 Jul 2016 12:00:50 +0200, Set Hallstrom wrote:

Could we get started on this list of work items sometime soon perhaps?
https://blueprints.launchpad.net/ubuntu/+spec/ubuntustudio-y-development

I'd love to help, but i have no proper experience with that kind of
packaging. But i'd love to learn...


Why doesn't somebody provide step by step examples too the mailing list,
when making the next packages. IOW really everything, how to package,
how and what to upload. What to care about regarding Ubuntu policy.
Since everything like this is kept as a secret, resp. is only provided
by crappy English documentations, nobody is able to help you.



that would be very nice, yes! :) zequence made quite a lot of documentation 
about it, 
https://wiki.ubuntu.com/UbuntuStudio/UbuntuStudioPackageMaintenance but
there is only that much docs one person can write while having a hole bunch 
of other responsabilities in check, and i can't find docs on how to remove 
or add apps to a package, for example add drumgizmo to 
ubuntustudio-audio...


what i can offer in exchange of someone guiding me step by step, is to 
document the process as i exectute it... :)



--
Set Hallström
Sent from my Ubuntu pocket computer

--
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Ralf Mardorf
On Mon, 25 Jul 2016 12:00:50 +0200, Set Hallstrom wrote:
>Could we get started on this list of work items sometime soon perhaps?
>https://blueprints.launchpad.net/ubuntu/+spec/ubuntustudio-y-development
>
>I'd love to help, but i have no proper experience with that kind of
>packaging. But i'd love to learn...

Why doesn't somebody provide step by step examples too the mailing list,
when making the next packages. IOW really everything, how to package,
how and what to upload. What to care about regarding Ubuntu policy.
Since everything like this is kept as a secret, resp. is only provided
by crappy English documentations, nobody is able to help you.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


[ubuntu-studio-devel] Add and remove packages

2016-07-25 Thread Set Hallstrom
Hi all,

Could we get started on this list of work items sometime soon perhaps?
https://blueprints.launchpad.net/ubuntu/+spec/ubuntustudio-y-development

I'd love to help, but i have no proper experience with that kind of
packaging. But i'd love to learn...

-- 
Set Hallstrom aka sakrecoer



signature.asc
Description: OpenPGP digital signature
-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel