:: Re: [DNG] Debianising my uploaded v…
Top Pagina
Delete this message
Reply to this message
Auteur: Edward Bartolo
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Debianising my uploaded version of netman.
Forwarded to dng.

On 10/12/2015, Edward Bartolo <edbarx@???> wrote:
> I was using -p together with -f. Now, I succeeded to fully run dh_make
> as it created the netman/debian directory. These are the file therein:
>
> edbarx@edbarx-pc:~/netman-0.1.1/debian$ ls -l
> total 112
> -rw-r--r-- 1 edbarx edbarx   178 Dec 10 22:21 changelog
> -rw-r--r-- 1 edbarx edbarx     2 Dec 10 22:21 compat
> -rw-r--r-- 1 edbarx edbarx   634 Dec 10 22:21 control
> -rw-r--r-- 1 edbarx edbarx  1664 Dec 10 22:21 copyright
> -rw-r--r-- 1 edbarx edbarx     7 Dec 10 22:21 docs
> -rw-r--r-- 1 edbarx edbarx  4575 Dec 10 22:21 init.d.ex
> -rw-r--r-- 1 edbarx edbarx  1623 Dec 10 22:21 manpage.1.ex
> -rw-r--r-- 1 edbarx edbarx  4646 Dec 10 22:21 manpage.sgml.ex
> -rw-r--r-- 1 edbarx edbarx 10999 Dec 10 22:21 manpage.xml.ex
> -rw-r--r-- 1 edbarx edbarx   123 Dec 10 22:21 menu.ex
> -rw-r--r-- 1 edbarx edbarx   128 Dec 10 22:21 netman.cron.d.ex
> -rw-r--r-- 1 edbarx edbarx   232 Dec 10 22:21 netman.default.ex
> -rw-r--r-- 1 edbarx edbarx   504 Dec 10 22:21 netman.doc-base.EX
> -rw-r--r-- 1 edbarx edbarx     7 Dec 10 22:21 netman-doc.docs
> -rw-r--r-- 1 edbarx edbarx     7 Dec 10 22:21 netman-doc.install
> -rw-r--r-- 1 edbarx edbarx   956 Dec 10 22:21 postinst.ex
> -rw-r--r-- 1 edbarx edbarx   929 Dec 10 22:21 postrm.ex
> -rw-r--r-- 1 edbarx edbarx   689 Dec 10 22:21 preinst.ex
> -rw-r--r-- 1 edbarx edbarx   876 Dec 10 22:21 prerm.ex
> -rw-r--r-- 1 edbarx edbarx   169 Dec 10 22:21 README.Debian
> -rw-r--r-- 1 edbarx edbarx   254 Dec 10 22:21 README.source
> -rwxr-xr-x 1 edbarx edbarx   844 Dec 10 22:21 rules
> drwxr-xr-x 2 edbarx edbarx  4096 Dec 10 22:21 source
> -rw-r--r-- 1 edbarx edbarx   775 Dec 10 22:21 watch.ex

>
> On 10/12/2015, Rainer Weikusat <rweikusat@???> wrote:
>> Edward Bartolo <edbarx@???> writes:
>>> I renamed the directory to netman-0.1.1 and dh_make now started
>>> prompting questions. It seems this time it works.
>>>
>>> Apparently, I am getting too old to tackly these subtleties.
>>> Geeeeeeez, netman_0.1.1 failed while netman-0.1.1 worked!
>>
>> Instead of renaming the directory, you can also use the -p option to
>> specify package name and version. For the given case, this had been
>>
>> dh_make -p netman_0.1.1
>>
>> BTW: This conversation should return to the list as it may be useful to
>> others and/ or other people might be able to contribute something useful.
>>
>>>
>>> On 10/12/2015, Edward Bartolo <edbarx@???> wrote:
>>>> This is the output from dh_make:
>>>>
>>>> edbarx@edbarx-pc:~$ cd netman_0.1.1
>>>> edbarx@edbarx-pc:~/netman_0.1.1$ dh_make -f netman_0.1.1
>>>> For dh_make to find the package name and version, the current directory
>>>> needs to be in the format of <package>-<version>. Alternatively use
>>>> the
>>>> -p flag using the format <name>_<version> to override it.
>>>> I cannot understand the directory name or you have an invalid directory
>>>> name!
>>>>
>>>> Your current directory is /home/edbarx/netman_0.1.1, perhaps you could
>>>> try going to
>>>> directory where the sources are?
>>>>
>>>> Please note that this change is necessary ONLY during the initial
>>>> Debianization with dh_make. When building the package, dpkg-source
>>>> will gracefully handle almost any upstream tarball.
>>>> ------------------------
>>>>
>>>> Contents of netman_0.1.1
>>>>
>>>> edbarx@edbarx-pc:~/netman_0.1.1$ ls -l
>>>> total 752
>>>> -rw-r--r-- 1 edbarx edbarx  12097 Oct 21 19:38 backend.pas
>>>> drwxr-xr-x 6 edbarx edbarx   4096 Dec  7 22:04 backend_src
>>>> drwxr-xr-x 2 edbarx edbarx   4096 Dec  7 20:34 backup
>>>> -rw-r--r-- 1 edbarx edbarx   3034 Oct  6 19:27 common_functions.pas
>>>> -rw-r--r-- 1 edbarx edbarx   1504 Oct 12 12:42 connect_info.lfm
>>>> -rw-r--r-- 1 edbarx edbarx   4388 Oct 12 12:42 connect_info.pas
>>>> -rw-r--r-- 1 edbarx edbarx   3879 Oct 18 17:49 formeditconnectprops.lfm
>>>> -rw-r--r-- 1 edbarx edbarx   4665 Oct 18 17:49 formeditconnectprops.pas
>>>> -rw-r--r-- 1 edbarx edbarx    684 Nov 20 21:13 helpwndu.lfm
>>>> -rw-r--r-- 1 edbarx edbarx    995 Nov 20 21:13 helpwndu.pas
>>>> drwxr-xr-x 3 edbarx edbarx   4096 Sep 20 07:46 lib
>>>> -rw-r--r-- 1 edbarx edbarx  35147 Aug 24 22:03 LICENSE
>>>> -rw-r--r-- 1 edbarx edbarx 315415 Oct 21 19:47 mainform.lfm
>>>> -rw-r--r-- 1 edbarx edbarx  22558 Oct 21 19:47 mainform.pas
>>>> -rw-r--r-- 1 edbarx edbarx    243 Aug 28 19:01 Makefile
>>>> -rw-r--r-- 1 edbarx edbarx 137040 Sep 28 09:07 netman.ico
>>>> -rw-r--r-- 1 edbarx edbarx   8108 Sep 28 12:02 netman_icons.lrs
>>>> -rw-r--r-- 1 edbarx edbarx   3511 Nov 20 21:13 netman.lpi
>>>> -rw-r--r-- 1 edbarx edbarx    640 Oct 20 14:48 netman.lpr
>>>> -rw-r--r-- 1 edbarx edbarx  10198 Dec  7 19:39 netman.lps
>>>> -rw-r--r-- 1 edbarx edbarx 138128 Dec 10 20:14 netman.res
>>>> -rw-r--r-- 1 edbarx edbarx   1150 Sep 27 20:58
>>>> network-transmit-receive.ico
>>>> -rw-r--r-- 1 edbarx edbarx   1150 Sep 27 20:57
>>>> network-wired-disconnected.ico
>>>> -rw-r--r-- 1 edbarx edbarx   7595 Dec 10 19:48 README

>>>>
>>>>
>>>> On 10/12/2015, Rainer Weikusat <rweikusat@???>
>>>> wrote:
>>>>> Edward Bartolo <edbarx@???> writes:
>>>>>> For an explanation click the link below:
>>>>>>
>>>>>> https://www.google.com/search?q=%22to+no+avail%22&ie=utf-8&oe=utf-8
>>>>>
>>>>> I wasn't asking what "it didn't work" meant but what you meant when
>>>>> you
>>>>> wrote that. As I have some experience with dh_make, I might be people
>>>>> to
>>>>> help with problems encountered when trying to use it.
>>>>>
>>>>>>
>>>>>> On 10/12/2015, Rainer Weikusat <rainerweikusat@???>
>>>>>> wrote:
>>>>>>> Edward Bartolo <edbarx@???> writes:
>>>>>>>> I am trying to debianize netman but my efforts are still without
>>>>>>>> any
>>>>>>>> positive results. I tried dh_make to no avail
>>>>>>>
>>>>>>> What precisely means "to no avail"?
>>>>>>>
>>>>>>> [As I wrote in the past, I maintain about 50 'native' packages most
>>>>>>> of
>>>>>>> which were started via dh_make]
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dng mailing list
>>>>>>> Dng@???
>>>>>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>>>>>>
>>>>>
>>>>
>>
>