d-language-packagers team mailing list archive
-
d-language-packagers team
-
Mailing list archive
-
Message #00015
libtango - first package from svn code
Hi,
after a brief talk with Lars on #d.tango we pointed out that the script to
install libtango was little bit bugged.
He submitted patches to the tango svn so i've updated the create-tree.sh
script in our repo to do the following:
download tango svn
create the orig.tar.gz
copy the debian dir in the source tree
call debuild and do the package.
Doing the following i did the first libtango package. To be the first package it
look pretty well except for some things related to the tango installer that
seems still bugged.
here is the code that represent the bug:
cd lib && \
./install-gdc.sh --prefix
/home/goshawk/Documents/Projects/libtango/libtango-0.99.7/debian/libtango
Copying files...
`libgphobos.a' ->
`/home/goshawk/Documents/Projects/libtango/libtango-0.99.7/debian/libtango/lib'
`../object.di' ->
`/home/goshawk/Documents/Projects/libtango/libtango-0.99.7/debian/libtango/include/d/4.1.3/object.d'
`compiler/gdc/gcc/builtins.di' ->
`/home/goshawk/Documents/Projects/libtango/libtango-0.99.7/debian/libtango/include/d/4.1.3/gcc/builtins.di'
Done!
As you see libgphobos.a is copied in the install dir as $(PREFIX)lib and it
seems a mistake for me. (Lars correct me if i'm wrong).
The same happens for the include directory, it's copied in the top level tree
instead of $(PREFIX)/usr
The files included into the package are:
goshawk@earth:~/Documents/Projects/libtango$ dpkg -c
libtango_0.99.7-0ubuntu1_amd64.deb
drwxr-xr-x root/root 0 2008-12-01 02:08 ./
drwxr-xr-x root/root 0 2008-12-01 02:08 ./usr/
drwxr-xr-x root/root 0 2008-12-01 02:08 ./usr/share/
drwxr-xr-x root/root 0 2008-12-01 02:08 ./usr/share/doc/
drwxr-xr-x root/root 0 2008-12-01 02:08 ./usr/share/doc/libtango/
-rw-r--r-- root/root 644 2008-12-01 02:05
./usr/share/doc/libtango/copyright
-rw-r--r-- root/root 166 2008-12-01 02:05
./usr/share/doc/libtango/changelog.Debian.gz
-rw-r--r-- root/root 1274670 2008-12-01 02:07 ./lib <-- this should be wrong
drwxr-xr-x root/root 0 2008-12-01 02:08 ./include/ <-- this too
drwxr-xr-x root/root 0 2008-12-01 02:08 ./include/d/
drwxr-xr-x root/root 0 2008-12-01 02:08 ./include/d/4.1.3/
-rw-r--r-- root/root 3295 2008-12-01 02:05 ./include/d/4.1.3/object.d
drwxr-xr-x root/root 0 2008-12-01 02:08 ./include/d/4.1.3/gcc/
-rw-r--r-- root/root 1796 2008-12-01 02:04
./include/d/4.1.3/gcc/builtins.di
lintian gives some errors
goshawk@earth:~/Documents/Projects/libtango$ lintian
libtango_0.99.7-0ubuntu1_amd64.deb
E: libtango: non-standard-toplevel-dir include/
W: libtango: file-in-unusual-dir include/d/4.1.3/gcc/builtins.di
W: libtango: file-in-unusual-dir include/d/4.1.3/object.d
W: libtango: file-in-unusual-dir lib
W: libtango: copyright-lists-upstream-authors-with-dh_make-boilerplate
W: libtango: copyright-has-url-from-dh_make-boilerplate
W: libtango: copyright-contains-dh_make-todo-boilerplate
W: libtango: copyright-without-copyright-notice
goshawk@earth:~/Documents/Projects/libtango$
I hope to hear Lars soon about this issue.
Good night guys.
--
Vincenzo Ampolo
http://vincenzo-ampolo.net
Attachment:
signature.asc
Description: This is a digitally signed message part.
Follow ups