Re: d-apt update

2017-12-12 Thread Jordi Sayol via Digitalmars-d-announce
New d-apt dmd deb packages released (ver. 2.077.1-0.1)

This release fix these problems:

- Move rdmd from "dmd-tools" to "dmd-compiler"
- Add "dmd-bin (<< 2.077.1-0)" at "Conflicts:" and "Replaces:" fields on 
"dmd-compiler" and "dmd-tools" deb packages, to avoid upgrade conflicts.

Jordi


Re: d-apt update

2017-12-12 Thread Jordi Sayol via Digitalmars-d-announce
El 11/12/17 a les 23:02, Manu ha escrit:
> I would strongly suggest the rdmd be included in dmd-bin rather than 
> dmd-tools.

Yes, You're right and will be as you say on next dmd release. But will be in 
dmd-compiler rather than in the deprecated dmd-bin.



Re: d-apt update

2017-12-09 Thread Jordi Sayol via Digitalmars-d-announce
El 09/12/17 a les 14:32, jmh530 via Digitalmars-d-announce ha escrit:
> I consider rdmd to be part of the compiler in a way that I don't consider the 
> other dmd-tools...

You're right. I'll fix on next dmd release.

Jordi


d-apt update

2017-12-08 Thread Jordi Sayol via Digitalmars-d-announce
d-apt  release dmd v2.077.1

In this release, d-apt splits "dmd-bin" deb package into "dmd-compiler" (the 
command line compiler) and "dmd-tools" (includes: dumpobj, obj2asm, rdmd, 
ddemangle and dustmite).

Best regards,
Jordi.


Re: Official dub packages for Debian and Ubuntu

2016-04-15 Thread Jordi Sayol via Digitalmars-d-announce
El 15/04/16 a les 19:52, Andrei Alexandrescu via Digitalmars-d-announce ha 
escrit:
> Awesomne, Jordi. I recently got a notice that the dmd compiler has been 
> updated by Ubuntu's package manager. Clicked, got it, all went smoothly. 
> Should I take it we owe all of that to you? -- Andrei

I think so :-)
Many thanks Andrei, and all d-apt users.


Re: Official dub packages for Debian and Ubuntu

2016-04-15 Thread Jordi Sayol via Digitalmars-d-announce
El 15/04/16 a les 01:09, Matthias Klumpp via Digitalmars-d-announce ha escrit:
> On Thursday, 14 April 2016 at 18:42:49 UTC, Jordi Sayol wrote:
>> El 14/04/16 a les 17:54, Matthias Klumpp via Digitalmars-d-announce ha 
>> escrit:
>>> On Tuesday, 12 April 2016 at 13:28:29 UTC, Jordi Sayol wrote:
>>> [...]
>>> I think with "property" you mean "virtual package". See 
>>> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
>>> Basically, the dmd package needs a "Provides: d-compiler" line, then it 
>>> should be able to satisfy the dependencies of the dub package.
>>
>> Thanks. What happen is multiple packages, all of them not installed, sets 
>> "Provides: d-compiler"? Which one is installed?
> 
> I think in that case the (alphabetically) first real package is installed. 
> This is an uncommon case though, usually when virtual packages are used, a 
> default dependency is provided (so you have "default | virtual").
> 

I'll include "Provides: d-compiler" on dlang dmd deb package and d-apt dmd-bin 
deb too. Many thanks!


Re: Official dub packages for Debian and Ubuntu

2016-04-14 Thread Jordi Sayol via Digitalmars-d-announce
El 14/04/16 a les 17:54, Matthias Klumpp via Digitalmars-d-announce ha escrit:
> On Tuesday, 12 April 2016 at 13:28:29 UTC, Jordi Sayol wrote:
>> El 12/04/16 a les 14:26, Matthias Klumpp via Digitalmars-d-announce ha 
>> escrit:
 I assume that the DMD package from dlang, or better d-apt, sets the d- 
 compiler property. Should dmd be prefered if it is present?
>>>
>>> I think so, since when installing it from non-free 3rd-party sources, the 
>>> user made an explicit choice for DMD.
>>> In terms of packaging, the packaging doesn't really care, any D compiler 
>>> will satisfy the requirements of the dub package.
>>
>>
>> No, dmd deb packages from dlang and d-apt do not set any d-compiler 
>> property. Where should it be set?
> 
> I think with "property" you mean "virtual package". See 
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
> Basically, the dmd package needs a "Provides: d-compiler" line, then it 
> should be able to satisfy the dependencies of the dub package.

Thanks. What happen is multiple packages, all of them not installed, sets 
"Provides: d-compiler"? Which one is installed?


Re: Official dub packages for Debian and Ubuntu

2016-04-12 Thread Jordi Sayol via Digitalmars-d-announce
El 12/04/16 a les 14:26, Matthias Klumpp via Digitalmars-d-announce ha escrit:
>> I assume that the DMD package from dlang, or better d-apt, sets the d- 
>> compiler property. Should dmd be prefered if it is present?
> 
> I think so, since when installing it from non-free 3rd-party sources, the 
> user made an explicit choice for DMD.
> In terms of packaging, the packaging doesn't really care, any D compiler will 
> satisfy the requirements of the dub package.


No, dmd deb packages from dlang and d-apt do not set any d-compiler property. 
Where should it be set?


Re: Official dub packages for Debian and Ubuntu

2016-04-11 Thread Jordi Sayol via Digitalmars-d-announce
El 11/04/16 a les 16:21, Matthias Klumpp via Digitalmars-d-announce ha escrit:
> As part of that work, the dub package an build management system is now 
> available in Debian, and I will ensure it works well.
> Additionally, it was possible to make dub available late in the Ubuntu 16.04 
> (Xenial) development cycle, so dub will also be part of the upcoming LTS 
> release of Ubuntu

This is a very good news!

> Co-maintainers[1] and feedback from the dub developers is very welcome, and I 
> hope this addition is useful for you.
[...]
> [1]: Especially from the d-apt people - helping with official Debian packages 
> is possible even if you're no Debian Developer / Maintainer. 

I'm the only one d-apt maintainer. 

About the d-apt dub deb package, they're built using binaries from 
 and do not compile anything.

How long will it take from a dub release until dub deb package will be 
available on the Debian stable repositories? And for Ubuntu?

Regards,
Jordi.


New deb packages on d-apt

2016-04-06 Thread Jordi Sayol via Digitalmars-d-announce
d-apt has three new deb packages for Dfix, Dfmt and Dscanner.

$ sudo apt-get install dfix dfmt dscanner

d-apt 


Re: Release D 2.070.0

2016-01-29 Thread Jordi Sayol via Digitalmars-d-announce
El 28/01/16 a les 23:36, Minas Mina via Digitalmars-d-announce ha escrit:
> On Wednesday, 27 January 2016 at 21:08:54 UTC, Martin Nowak wrote:
>> Glad to announce D 2.070.0
>>
>> http://dlang.org/download.html
>>
>> This release comes with the new std.experimental.ndslice, heavily expanded 
>> Windows bindings, and native exception handling on 64-bit linux. See the 
>> changelog for more details.
>>
>> http://dlang.org/changelog/2.070.0.html
>>
>> -Martin
> 
> When trying to install on Ubuntu 15.10 x64, I get this:
> http://imgur.com/L4ozgC1
> 
> I didn't proceed with the installation as I don't want any possible broken 
> things.
> 

Same problem on Ubuntu 15.10 x32.


$ lintian -c dmd_2.070.0-0_i386.deb
Can't close(GLOB(0x9a83b5c)) filehandle: '' at 
/usr/share/lintian/helpers/coll/objdump-info-helper line 192
command failed with error code 123 at 
/usr/share/lintian/collection/objdump-info line 79.
warning: collect info objdump-info about package dmd failed
warning: skipping check of binary package dmd


the command exit status is 2


on lintina manpages:


EXIT STATUS
   0   No policy violations or major errors detected.  (There may have been 
warnings, though.)

   1   Policy violations or major errors detected.

   2   Lintian run-time error. An error message is sent to stderr.


So this is not a dmd deb package issue but Ubuntu 15.10 lintian issue. Please 
report it as a bug.

You can safely install dmd deb package on your Ubuntu system.

Regards,
Jordi


Re: Beta D 2.068.0-b2

2015-07-26 Thread Jordi Sayol via Digitalmars-d-announce
El 26/07/15 a les 15:55, Martin Nowak via Digitalmars-d-announce ha escrit:
 BTW, I'd like to phase out the fat 50-60MB combined zip, and add
 tar.xz/gz for linux/freebsd/osx.

Is it not better to use 7z format? It has more compression ratios than gz/bz2, 
and they can be easily handled on Windows.


Re: DMD 2.067.0 Programming Language Specifications

2015-04-09 Thread Jordi Sayol via Digitalmars-d-announce
El 09/04/15 a les 08:26, Iain Buclaw via Digitalmars-d-announce ha escrit:
 On 6 April 2015 at 14:04, Jordi Sayol via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com wrote:
 D Programming Language Specifications for dmd 2.067.0 in several formats, 
 available at:
 http://d-apt.sourceforge.net/


 dlangspec-2.067.0.chm  --  (Microsoft Compiled HTML Help)

 dlangspec-2.067.0.epub  --  (Electronic Publication for e-book readers)

 dlangspec-2.067.0.mobi  --  (Mobipocket e-book for Kindle)

 dlangspec-2.067.0.pdf  --  (Portable Document Format)
 
 
 On at least the PDF documentation the text can be made smaller (it's a bit 
 big).
 
 Looks good though.
 

I'll try to adjust the building script to improve font size.

Thanks for using!


Re: DUB 0.9.23 released

2015-04-06 Thread Jordi Sayol via Digitalmars-d-announce
El 06/04/15 a les 10:21, Sönke Ludwig via Digitalmars-d-announce ha escrit:
 The new version contains some important bug fixes for sub modules and 
 overridden string imports, as well as some other major fixes.

Congratulations for this new release!

Available for Debian/Ubuntu at http://d-apt.sourceforge.net/




DMD 2.067.0 Programming Language Specifications

2015-04-06 Thread Jordi Sayol via Digitalmars-d-announce
D Programming Language Specifications for dmd 2.067.0 in several formats, 
available at:
http://d-apt.sourceforge.net/


dlangspec-2.067.0.chm  --  (Microsoft Compiled HTML Help)

dlangspec-2.067.0.epub  --  (Electronic Publication for e-book readers)

dlangspec-2.067.0.mobi  --  (Mobipocket e-book for Kindle)

dlangspec-2.067.0.pdf  --  (Portable Document Format)


Re: Coedit alpha 11 released

2015-01-22 Thread Jordi Sayol via Digitalmars-d-announce
El 21/01/15 a les 18:35, Basile Burg via Digitalmars-d-announce ha escrit:
 I'm glad to announce this new release of Coedit.

Congratulations for this new release!

Did you fix the use of DCD simultaneously with other D editors?


Re: d-apt source changed!

2014-12-02 Thread Jordi Sayol via Digitalmars-d-announce
El 02/12/14 a les 07:41, Russel Winder via Digitalmars-d-announce ha escrit:
 I do wonder though if d-apt is actually a bad idea as the main resource
 and we should package directly into Debian?

d-apt allows to instant update on dmd releases, not on Debian official 
repositories.

Anyway, packaging dmd directly into Debian is not a problem for me, d-apt will 
adapt to the conjuncture, can live together with an official Debian package, 
and if it should disappear, will do.

Push for it!


Re: d-apt source changed!

2014-12-01 Thread Jordi Sayol via Digitalmars-d-announce
El 01/12/14 a les 23:23, Brad Anderson via Digitalmars-d-announce ha escrit:
 On Sunday, 30 November 2014 at 02:20:04 UTC, Jordi Sayol via 
 Digitalmars-d-announce wrote:
 d-apt http://d-apt.sourceforge.net/ changed the distribution name from 
 dmd to d-apt.

 Download the last d-apt.list to update:
 $ sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list 
 -O /etc/apt/sources.list.d/d-apt.list

 The new distribution allows to install any deb package version available at 
 d-apt.
 i.e. dmd-bin deb package is available for versions 2.064.2, 2.065.0 and 
 2.066.1
 To install an old dmd version:
 $ sudo apt-get install dmd-bin=2.064.2-0 libphobos2-dev=2.064.2-0

 Legacy distribution will be disabled on dmd v2.067.0 release.
 
 That'll probably be handy at some point. Thanks for doing d-apt. I find it 
 very useful.

This already has been handy, at least for Maor Ben-Dayan who needed to 
downgrade dmd to version 2.065.0 to avoid some regression :-)

Thank you all to create this incredible compiler and the related tools. I only 
wrap them on d-apt.


Re: Coedit alpha 8 released

2014-11-30 Thread Jordi Sayol via Digitalmars-d-announce
Hello Basile,

I want to create new Coedit deb packages for d-apt 
http://d-apt.sourceforge.net/.

If you're interested too, please contact me on g.sayol at yahoo dot es

Regards,
Jordi



d-apt source changed!

2014-11-29 Thread Jordi Sayol via Digitalmars-d-announce
d-apt http://d-apt.sourceforge.net/ changed the distribution name from dmd 
to d-apt.

Download the last d-apt.list to update:
$ sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O 
/etc/apt/sources.list.d/d-apt.list

The new distribution allows to install any deb package version available at 
d-apt.
i.e. dmd-bin deb package is available for versions 2.064.2, 2.065.0 and 
2.066.1
To install an old dmd version:
$ sudo apt-get install dmd-bin=2.064.2-0 libphobos2-dev=2.064.2-0

Legacy distribution will be disabled on dmd v2.067.0 release.


Re: DVM - D Version Manager 0.4.3

2014-09-04 Thread Jordi Sayol via Digitalmars-d-announce
El 03/09/14 a les 08:10, Jacob Carlborg via Digitalmars-d-announce ha escrit:
 I only chose Debian because it's a stable/old system with a high chance of 
 being binary compatible with other distributions.

On Debian 7.6 64-bit I got this error:

$ dvm
dvm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required 
by dvm)

libc6 on Debian 7.6 (stable) is v2.13.


On Debian testing:


$ dvm install 2.065.0
Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
[] 50581/49347 KB

Installing: dmd-2.065.0
An unknown error occurred:
tango.core.Exception.IOException@/home/doob/development/d/tango/tango/core/Exception.d(59):
 /home/jordi/.dvm/bin/dmd-2.065.0 :: No such file or directory
...


After manually created this directory and properly install dmd 2.065.0:


$ dvm use 2.065.0
$ dmd
bash: dmd: command not found


What I'm doing wrong?

Regards,
-- 
Jordi Sayol


Re: DVM - D Version Manager 0.4.3

2014-09-04 Thread Jordi Sayol via Digitalmars-d-announce
Sorry, i forget to mention that on Debian testing, my desktop is Mate 
http://mate-desktop.org/

Regards,
-- 
Jordi Sayol


Re: DVM - D Version Manager 0.4.3

2014-09-04 Thread Jordi Sayol via Digitalmars-d-announce
El 04/09/14 a les 22:17, Nick Sabalausky via Digitalmars-d-announce ha escrit:
 What I'm doing wrong?
 
 dvm install dvm

On Debian testing (mate desktop) without ~/.dvm dir, dmd still not found:

$ dvm install dvm
$ dvm install 2.065.0
Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
[] 50581/49347 KB

Installing: dmd-2.065.0 
$ dvm use 2.065.0
$ dmd
bash: dmd: command not found 


BTW Is there a reason to mandatory copy dvm to ~/.dvm/bin directory?

-- 
Jordi Sayol


Re: DVM - D Version Manager 0.4.3

2014-09-04 Thread Jordi Sayol via Digitalmars-d-announce
El 05/09/14 a les 00:30, Nick Sabalausky via Digitalmars-d-announce ha escrit:
 On 9/4/2014 4:51 PM, Jordi Sayol via Digitalmars-d-announce wrote:
 El 04/09/14 a les 22:17, Nick Sabalausky via Digitalmars-d-announce ha 
 escrit:
 What I'm doing wrong?

 dvm install dvm

 On Debian testing (mate desktop) without ~/.dvm dir, dmd still not found:
 
 $ dvm install dvm
 $ dvm install 2.065.0
 Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
 [] 50581/49347 KB

 Installing: dmd-2.065.0
 $ dvm use 2.065.0
 $ dmd
 bash: dmd: command not found
 

 BTW Is there a reason to mandatory copy dvm to ~/.dvm/bin directory?

 
 Hmm, may wanna check your .bashrc. Unless it's changed since last time I 
 looked, the Posix versions of dvm work by adding code to .bashrc which set up 
 dmd as an alias.
 
 Then again, I'm not sure that should matter if you're manually running dvm 
 use 
 
 Are you maybe not using bash?
 
 

GNU bash, version 4.3.24(1)-release (i586-pc-linux-gnu)

-- 
Jordi Sayol


Re: DUB Bash Completion

2014-07-08 Thread Jordi Sayol via Digitalmars-d-announce
El 07/07/14 12:58, Sönke Ludwig via Digitalmars-d-announce ha escrit:
 Very nice, I'll try this out this later. If you don't mind, we should put 
 this into the DUB main repository and also get in touch with the package 
 maintainers to include it in the standard distribution.

I'm agree. I'll include it on deb packages as sun as it is in dub repository.

Regards,
-- 
Jordi Sayol




Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-10 Thread Jordi Sayol via Digitalmars-d-announce

There are new deb packages for TkD v1.0.3 beta, available at 
http://d-apt.sourceforge.net/

To install:
$ sudo apt-get install libtkd-dev libtkd-doc

To compile the TkD example (static linking):
$ dmd `pkg-config --cflags --libs tkd-static` 
-J/usr/share/libtkd-doc/example/media/ /usr/share/libtkd-doc/example/example.d

To compile the TkD example (shared linking):
$ dmd -release `pkg-config --cflags --libs tkd` 
-J/usr/share/libtkd-doc/example/media/ /usr/share/libtkd-doc/example/example.d

Regards,
-- 
Jordi Sayol