[Pkg-electronics-devel] New Member (and ft232r_prog)

Karl Edler kte608 at gmail.com
Thu Nov 15 13:41:48 UTC 2012


Hi,

Thanks for this information. I have placed the ft232rprog.git repository.
When I clone it again locally, I cannot make the packages by typing:
debuild or git-buildpackage
because it complains about not finding the original tarball but otherwise
things are okay. How should I specify the original tarball? I did not see
that in the gtkwave repository.

I have browsed the documentation you suggested but it is hard to tell if
the process has been successful. I would like a feedback loop where at some
point a little message will say, "Your package is good!" but will tell me
to try again until that happens.

I have attached a little text file documenting my work. Is there a wiki to
which it can be uploaded?

Thanks again,
Karl Edler

On Thu, Nov 15, 2012 at 9:53 AM, أحمد المحمودي <aelmahmoudy at sabily.org>wrote:

> Hello,
>
>   Sorry for late reply.
>
> On Tue, Nov 13, 2012 at 03:05:53PM +0100, Karl Edler wrote:
> > I have heard that there is a git repository. I am quite proficient with
> git
> > but I do not know the repository URL or how things are organised.
>
>   If I understand correctly, you are now a member in pkg-electronics team.
>   To create a git repository for your package run the following:
>
>   $ ssh git.debian.org
>   $ cd /git/pkg-electronics
>   $ ./setup-repository <repo name> <description>
>
>   Then exit the SSH session, and on your local git repository, add the
>   following URL as the remote:
>   ssh://<your_alioth_username>@
> git.debian.org/git/pkg-electronics/iverilog.git
>
> > My guess is that I should turn my ft232r_prog directory -- with 'debian'
> > subdirectory -- into a git repository
>
>   Well, some prefer that the git repository only contains the 'debian'
>   directory, some prefer that the whole package (ie. debian & upstream
>   code) are in the git repository.
>
>   There is also a tool called 'git-buildpackage' that would make
>   packaging user git a better experience.
>
> > Is there a document I should read about how to get started? If not, I
> could
> > write some things down as someone helps me understand what to do.
>
>   There is a document by pkg-perl team, which might be useful:
>   http://pkg-perl.alioth.debian.org/git.html
>
>   You don't need to read all of it, as we don't use 'mr' nor
>   'dh-make-perl'
>
> --
>  ‎أحمد المحمودي (Ahmed El-Mahmoudy)
>   Digital design engineer
>  GPG KeyID: 0xEDDDA1B7
>  GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/attachments/20121115/753f6f13/attachment.html>
-------------- next part --------------
So you want to make a new package for pkg-electronics? This is an informal description of how to start.

Your first step is to make the .deb files on your local computer. This skill can be learned with googling. Most of what I know came from https://wiki.ubuntu.com/PackagingGuide/Complete

To get all the packaging pre-requisites installed in ubuntu, try running the following little script:

\code
#!/usr/bin/env bash
# Install pre-requisites for making packages
# in ubuntu.
sudo bash <<EOF
apt-get install build-essential
apt-get install dev-scripts
apt-get install ubuntu-dev-tools
apt-get install debhelper
apt-get install dh_make
apt-get install diff
apt-get install patch
apt-get install cdbs
apt-get install quilt
apt-get install gnupg
apt-get install fakeroot
apt-get install lintian
apt-get install pbuilder
\endcode

After you have a directory with the source code and a sub-directory called 'debian' and the packages build, you should make your project directory into a git repository by typing:
git init .
in the project directory.

Now you will need an account at alioth.debian.org and I think this can be
done here: https://alioth.debian.org/account/register.php
You also need to become a member of the pkg-electronics team I think. Ask on the mailing list?

You will then need to go to "Account Maintenance" under "My Page" and setup your ssh key.

Wait an hour or so for alioth to recognize your ssh key.

Now create a git repository for your package by running the following:
$ ssh <your_alioth_username>@git.debian.org
$ cd /git/pkg-electronics
$ ./setup-repository <repo name> <description>

Then exit the SSH session, and on your local git repository, add the
following URL as the remote:
ssh://<your_alioth_username>@git.debian.org/git/pkg-electronics/<repo name>
by typing
$ git remote add alioth ssh://<your_alioth_username>@git.debian.org/git/pkg-electronics/<repo name>

Then upload the information from your local repository to the new one waiting on git.debian.org by typing:
$ git push alioth master
in your local repository.

TaDa! You now know as much as I do!

Try reading   http://pkg-perl.alioth.debian.org/git.html
for more information but you don't need to read all of it, because the pkg-electronics team does not use 'mr' nor 'dh-make-perl'.


More information about the Pkg-electronics-devel mailing list