February 21, 2014
El 21/02/14 04:36, Jesse Phillips ha escrit:
> 
> On Thu, Feb 20, 2014 at 3:09 PM, Jordi Sayol <g.sayol@yahoo.es <mailto:g.sayol@yahoo.es>> wrote:>
> 
>     > * There is garbage in the include directories in phobos in the dmd
>     >   package (in /usr/include/dmd/phobos). There are README files and even
>     >   .d files that could get imported by mistake by user code. Ideally this
>     >   should be sanitized and documentation moved to /usr/share/doc/dmd (or
>     >   the respective phobos package).
> 
>     You're right, I'll clean up, but I don't know if everything out of "std" directory can be removed.
>     "etc" folder can be removed?
> 
> 
> I'm not taking a look at what is in the directory but IIRC std, etc both can't be removed. They do contain .d files, but these are used as headers. druntime uses .di but this isn't true of Phobos, so don't touch the .d.
> 

Even index.d and unittest.d on phobos folder?

-- 
Jordi Sayol
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


February 21, 2014
On Thu, Feb 20, 2014 at 11:16 PM, Jordi Sayol <g.sayol@yahoo.es> wrote:

> > I'm not taking a look at what is in the directory but IIRC std, etc both
> can't be removed. They do contain .d files, but these are used as headers. druntime uses .di but this isn't true of Phobos, so don't touch the .d.
> >
>
> Even index.d and unittest.d on phobos folder?
>

 Ah, those are documentation file and a testing files so no one will be
importing them. It was the blanket statement to remove the .d files which
got me very concerned since they are exactly what people should be
importing.

-- 
Jesse Phillips


February 22, 2014
Jesse Phillips, el 21 de February a las 07:01 me escribiste:
> On Thu, Feb 20, 2014 at 11:16 PM, Jordi Sayol <g.sayol@yahoo.es> wrote:
> 
> > > I'm not taking a look at what is in the directory but IIRC std, etc both
> > can't be removed. They do contain .d files, but these are used as headers. druntime uses .di but this isn't true of Phobos, so don't touch the .d.
> > >
> >
> > Even index.d and unittest.d on phobos folder?
> >
> 
>  Ah, those are documentation file and a testing files so no one will be
> importing them. It was the blanket statement to remove the .d files which
> got me very concerned since they are exactly what people should be

So the summary is only the `std` and `etc` directories and their contents should be shipped, everything else should be removed from the package (or moved to the doc directory if applicable).

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
Hey you, standing in the road
always doing what you're told,
Can you help me?
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


February 22, 2014
El 22/02/14 06:15, Leandro Lucarella ha escrit:
> Jesse Phillips, el 21 de February a las 07:01 me escribiste:
>> On Thu, Feb 20, 2014 at 11:16 PM, Jordi Sayol <g.sayol@yahoo.es> wrote:
>>
>>>> I'm not taking a look at what is in the directory but IIRC std, etc both
>>> can't be removed. They do contain .d files, but these are used as headers. druntime uses .di but this isn't true of Phobos, so don't touch the .d.
>>>>
>>>
>>> Even index.d and unittest.d on phobos folder?
>>>
>>
>>  Ah, those are documentation file and a testing files so no one will be
>> importing them. It was the blanket statement to remove the .d files which
>> got me very concerned since they are exactly what people should be
> 
> So the summary is only the `std` and `etc` directories and their contents should be shipped, everything else should be removed from the package (or moved to the doc directory if applicable).
> 

etc/c/zlib directory should be included as well? It doesn't contain any d module.

-- 
Jordi Sayol
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


February 22, 2014
Jordi Sayol, el 22 de February a las 11:55 me escribiste:
> El 22/02/14 06:15, Leandro Lucarella ha escrit:
> > Jesse Phillips, el 21 de February a las 07:01 me escribiste:
> >> On Thu, Feb 20, 2014 at 11:16 PM, Jordi Sayol <g.sayol@yahoo.es> wrote:
> >>
> >>>> I'm not taking a look at what is in the directory but IIRC std, etc both
> >>> can't be removed. They do contain .d files, but these are used as headers. druntime uses .di but this isn't true of Phobos, so don't touch the .d.
> >>>>
> >>>
> >>> Even index.d and unittest.d on phobos folder?
> >>>
> >>
> >>  Ah, those are documentation file and a testing files so no one will be
> >> importing them. It was the blanket statement to remove the .d files which
> >> got me very concerned since they are exactly what people should be
> > 
> > So the summary is only the `std` and `etc` directories and their contents should be shipped, everything else should be removed from the package (or moved to the doc directory if applicable).
> > 
> 
> etc/c/zlib directory should be included as well? It doesn't contain any d module.

That looks like a copy of the C zlib library, I would say don't ship it, it doesn't make any sense to ship C sources.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
Borrowing money from a friend is like having sex. It just completely
changes the relationship.
	-- George Constanza
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


February 22, 2014
On 22 Feb 2014, at 18:11, Leandro Lucarella wrote:
> Jordi Sayol, el 22 de February a las 11:55 me escribiste:
>> etc/c/zlib directory should be included as well? It doesn't contain any d module.
>
> That looks like a copy of the C zlib library, I would say don't ship it,
> it doesn't make any sense to ship C sources.

It's only there for use while building the Phobos library (and imho shouldn't be in etc/, but in separate top-level directory).

David
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


March 06, 2014
El 21/02/14 03:01, Leandro Lucarella ha escrit:
> I think this doesn't make sense. Providing dependencies is something each software distributor should do. Either you go through the package system (in which case this .deb is not needed) or you take care of providing an all-in-one bundle as provided by the direct download dmd package. I really don't see the point on providing a libphobos2 package outside a proper apt repository.

It has the same sense that providing all-in-one dmd deb package.

Without adding a new repository, allows to install the libphobos2 shared library, necessary on runtime if compiled against it.

It has all sense for me.

-- 
Jordi Sayol
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta


1 2 3
Next ›   Last »