[blfs-dev] New package: DMD

2013-03-03 Thread Thomas Trepl
Hi all,

I've prepared a page descibing the installation of DMD (Digital Mars D). That 
is a compiler for a relative young language called D. It aims to combine the 
benefits of C, C++, Java and such in one language while keeping the language 
simple.

I've coded some programs already with D, most to learn D, and I feel quite 
comfortable with the language. Even larger projects are easy to manage. Well 
yes, that may depend on personal taste.

Do you think that this should go into the book (in the Programming section)?

I've attached a patch which would add the page - you may want to have a look 
to it and feedbacks would be appreciated.

--
Thomasdiff -Naur '--exclude=.svn' '--exclude=tmp' BLFS.orig/trunk/BOOK/general/prog/dmd.xml BLFS/trunk/BOOK/general/prog/dmd.xml
--- BLFS.orig/trunk/BOOK/general/prog/dmd.xml	1970-01-01 01:00:00.0 +0100
+++ BLFS/trunk/BOOK/general/prog/dmd.xml	2013-03-03 08:36:31.028965159 +0100
@@ -0,0 +1,252 @@
+?xml version=1.0 encoding=ISO-8859-1?
+!DOCTYPE sect1 PUBLIC -//OASIS//DTD DocBook XML V4.5//EN
+   http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [
+  !ENTITY % general-entities SYSTEM ../../general.ent
+  %general-entities;
+
+  !ENTITY DMD-download-http http://downloads.dlang.org.s3-website-us-east-1.amazonaws.com/releases/2013/dmd.dmd-version;.zip;
+  !ENTITY DMD-download-ftp   
+  !ENTITY DMD-md5sumfd2211206532ab41a8aef764a9225d3c
+  !ENTITY DMD-size  31 MB
+  !ENTITY DMD-buildsize 225 MB 
+  !ENTITY DMD-time  0.8 SBU
+]
+
+sect1 id=DMD xreflabel=DMD-dmd-version;
+  ?dbhtml filename=DMD.html ?
+
+  sect1info
+othername$LastChangedBy$/othername
+date$Date$/date
+  /sect1info
+
+  titleDMD-dmd-version;/title
+
+  indexterm zone=DMD
+primary sortas=a-DMDDMD/primary
+  /indexterm
+
+  sect2 role=package
+titleIntroduction to DMD/title
+
+paraapplicationDMD/application (Digital Mars D) is the reference
+implementation of D. The language D has been designed to combine all
+the good features of C, C++, C#, Java and such but keep the language
+as simple as possible./para
+
+lfs73_checked;
+
+bridgehead renderas=sect3Package Information/bridgehead
+itemizedlist spacing=compact
+  listitem
+paraDownload (HTTP): ulink url=DMD-download-http;//para
+  /listitem
+  listitem
+paraDownload (FTP): ulink url=DMD-download-ftp;//para
+  /listitem
+  listitem
+paraDownload MD5 sum: DMD-md5sum;/para
+  /listitem
+  listitem
+paraDownload size: DMD-size;/para
+  /listitem
+  listitem
+paraEstimated disk space required: DMD-buildsize;/para
+  /listitem
+  listitem
+paraEstimated build time: DMD-time;/para
+  /listitem
+/itemizedlist
+
+bridgehead renderas=sect3Additional Downloads/bridgehead
+itemizedlist spacing=compact
+  listitem
+paraUseful tools: ulink
+url=https://github.com/D-Programming-Language/tools/archive/dmd-version;.zip//para
+  /listitem
+/itemizedlist
+
+para condition=html role=usernotesUser Notes:
+ulink url=blfs-wiki;/dmd//para
+
+  /sect2
+
+  sect2 role=installation
+titleInstallation of DMD/title
+
+paraPrepare the installation of applicationDMD/application by
+running the following commands:/para
+
+screenuserinputcase `uname -m` in
+x86_64) MODEL=64 ;;
+*)  MODEL=32 ;;
+esac amp;amp;
+echo dmd-version;  src/VERSION/userinput/screen
+
+paraInstall applicationDMD/application by running
+the following commands:/para
+
+   paraCompile the D compiler:/para
+screenuserinputcd src/dmd amp;amp;
+make MODEL=${MODEL} -f posix.mak/userinput/screen
+
+   paraCreate the D runtime:/para
+screenuserinputcd ../druntime amp;amp;
+make MODEL=${MODEL} -f posix.mak DMD=../dmd/dmd amp;amp;
+cd ../phobos amp;amp;
+make MODEL=${MODEL} -f posix.mak DMD=../dmd/dmd/userinput/screen
+   
+!--TODO: thats not true: --
+paraThis package does not come with a test suite./para
+
+paraNow, as the systemitem class=usernameroot/systemitem user:/para
+
+screen role=rootuserinputcd .. amp;amp;
+install -v -m755 dmd/dmd /usr/bin/ amp;amp;
+install -v -m644 druntime/lib/libdruntime-linux${MODEL}.a /usr/lib/ amp;amp;
+install -v -m644 phobos/generated/linux/release/${MODEL}/libphobos2.a /usr/lib/ amp;amp;
+install -v -d /usr/include/d/druntime amp;amp;
+cp -v -r phobos/{*.d,etc,std} /usr/include/d/ amp;amp;
+cp -v -r druntime/import /usr/include/d/druntime//userinput/screen
+
+paraInstall the documentation with the following instructions 
+as the systemitem class=usernameroot/systemitem user:/para
+
+screen role=rootuserinputcd .. amp;amp;
+install -v -d /usr/share/doc/d amp;amp;
+cp -v -r html /usr/share/doc/d/ amp;amp;
+install -v -m644 src/druntime/LICENSE /usr/share/doc/d/LICENSE amp;amp;
+
+install -v -d /usr/share/man/man1 amp;amp;
+for man in man/man1/*.1; do
+install -v -m644 $man /usr/share/man/man1/
+done 

Re: [blfs-dev] [blfs-support] About audacious-plugins-3.3.3-libcdio_v0.90_fixes-1.patch

2013-03-03 Thread Randy McMurchy
Thanos Baloukas wrote these words on 03/03/13 02:18 CST:
 On 03/03/2013 02:14 AM, Thanos Baloukas wrote:
 Hi

 IIRC, the last time I installed audacious-plugins-3.3.3, the dependency
 on libcdio-0.83
 was enough for audacious to be able to play music CDs. Now on another
 system with libcdio-0.90, configure reported that the cdaudio-ng plugin
 would not be built because I lacked libcdio_cdda 0.70 or newer. After a
 research I found that I had to install
 libcdio-paranoia-10.2+0.90 which split from libcdio, if I got it right.
 I installed it,
 applied the patch, and make failed on src/cdaudio-ng/cdaudio-ng.c
 because it couldn't find 'cdio/paranoia/cdda.h'. On my system this file
 was installed
 from libcdio-paranoia-10.2+0.90 in /usr/include/cdio and not in
 /usr/include/cdio/paranoia. Looking at the patch I saw that it had:

I believe it was me who introduced the patch. And I may have goofed because
I recall symlinking the paranoia headers before/after creating the patch. I
cannot recall the exact specifics, but I will revisit the instructions and
make it right.

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
11:17:01 up 87 days, 21:16, 1 user, load average: 1.88, 1.60, 1.03
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] New package: DMD

2013-03-03 Thread Randy McMurchy
Thomas Trepl wrote these words on 03/03/13 09:45 CST:
 I've attached a patch which would add the page - you may want to have a look 
 to it and feedbacks would be appreciated.

The following is just my opinion and does not necessary reflect the ideas
of everyone. Just sort of how it's always been done


 +  !ENTITY DMD-download-http 
 http://downloads.dlang.org.s3-website-us-east-1.amazonaws.com/releases/2013/dmd.dmd-version;.zip;
 +  !ENTITY DMD-download-ftp   
 +  !ENTITY DMD-md5sumfd2211206532ab41a8aef764a9225d3c
 +  !ENTITY DMD-size  31 MB
 +  !ENTITY DMD-buildsize 225 MB 
 +  !ENTITY DMD-time  0.8 SBU
 +]
 +
 +sect1 id=DMD xreflabel=DMD-dmd-version;
 +  ?dbhtml filename=DMD.html ?

The entities and section id have almost always been in lower case as best
as I recall.


 +paraPrepare the installation of applicationDMD/application by
 +running the following commands:/para
 +
 +screenuserinputcase `uname -m` in
 +x86_64) MODEL=64 ;;
 +*)  MODEL=32 ;;
 +esac amp;amp;
 +echo dmd-version;  src/VERSION/userinput/screen
 +
 +paraInstall applicationDMD/application by running
 +the following commands:/para
 +
 +   paraCompile the D compiler:/para
 +screenuserinputcd src/dmd amp;amp;
 +make MODEL=${MODEL} -f posix.mak/userinput/screen
 +
 +   paraCreate the D runtime:/para
 +screenuserinputcd ../druntime amp;amp;
 +make MODEL=${MODEL} -f posix.mak DMD=../dmd/dmd amp;amp;
 +cd ../phobos amp;amp;
 +make MODEL=${MODEL} -f posix.mak DMD=../dmd/dmd/userinput/screen

In almost all BLFS packages we try to encapsulate all the build commands
in one block to make cut and paste easier. Unlike the LFS book that has
a description for each command, BLFS tried to make it easy to have one
cut and paste for each block of commands, then a description of the
commands (if necessary) in the Command Explanations section.


 +   
 +!--TODO: thats not true: --
 +paraThis package does not come with a test suite./para

If it's not true, why is it there? :-)


 +
 +paraNow, as the systemitem class=usernameroot/systemitem 
 user:/para
 +
 +screen role=rootuserinputcd .. amp;amp;
 +install -v -m755 dmd/dmd /usr/bin/ amp;amp;
 +install -v -m644 druntime/lib/libdruntime-linux${MODEL}.a /usr/lib/ 
 amp;amp;
 +install -v -m644 phobos/generated/linux/release/${MODEL}/libphobos2.a 
 /usr/lib/ amp;amp;
 +install -v -d /usr/include/d/druntime amp;amp;
 +cp -v -r phobos/{*.d,etc,std} /usr/include/d/ amp;amp;
 +cp -v -r druntime/import /usr/include/d/druntime//userinput/screen
 +
 +paraInstall the documentation with the following instructions 
 +as the systemitem class=usernameroot/systemitem user:/para
 +
 +screen role=rootuserinputcd .. amp;amp;
 +install -v -d /usr/share/doc/d amp;amp;
 +cp -v -r html /usr/share/doc/d/ amp;amp;
 +install -v -m644 src/druntime/LICENSE /usr/share/doc/d/LICENSE amp;amp;
 +
 +install -v -d /usr/share/man/man1 amp;amp;
 +for man in man/man1/*.1; do
 +install -v -m644 $man /usr/share/man/man1/
 +done amp;amp;
 +install -v -d /usr/share/man/man5 amp;amp;
 +for man in man/man1/*.5; do
 +install -v -m644 $man /usr/share/man/man5/
 +done amp;amp;
 +
 +install -v -d /usr/share/doc/d/samples amp;amp;
 +cp -v -R samples/d/* /usr/share/doc/d/samples//userinput/screen
 +
 +paraCreate a configuration file which sets the default flags. This
 +is used by default to set the search pathes for the D compiler:/para
 +
 +screenuserinputcat  /etc/dmd.conf lt;lt;EOF
 +[Environment]
 +DFLAGS=-I/usr/include/d -I/usr/include/d/druntime/import -L-L/usr/lib 
 -L--no-warn-search-mismatch -L--export-dynamic
 +EOF
 +/userinput/screen

Again, cut and paste would be so much easier if this was all in one block
of instructions.

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
11:22:01 up 87 days, 21:21, 1 user, load average: 1.53, 1.53, 1.14
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] [blfs-book] Files in BLFS svn missing on anduin

2013-03-03 Thread Bruce Dubbs

Armin K. wrote:

On 03/03/2013 11:36 AM, bdu...@linuxfromscratch.org wrote:

Missing bluefish-2.2.4.tar.bz2
Missing libreoffice-4.0.0.3.tar.xz
Missing libreoffice-translations-4.0.0.3.tar.xz
Missing pidgin-2.10.7.tar.bz2
Missing thunderbird-17.0.3.source.tar.bz2
Missing transmission-2.77.tar.xz



Why doesn't it list -dictionaries and -help tarballs? Did I do something
wrong by putting them into the same section as core tarball?


It may be easier to fix the libreoffice xml.  Will the attached patch be 
OK with you?


  -- Bruce

Index: libreoffice.xml
===
--- libreoffice.xml (revision 11044)
+++ libreoffice.xml (working copy)
@@ -79,32 +79,36 @@
   /listitem
   listitem
 para
-  Dictionaries Download (HTTP): ulink 
url=libreoffice-dict-download-http;/
+  Estimated disk space required: libreoffice-buildsize;
 /para
   /listitem
   listitem
 para
-  Dictionaries Download (FTP): ulink 
url=libreoffice-dict-download-ftp;/
+  Estimated build time: libreoffice-time;
 /para
   /listitem
+/itemizedlist
+
+bridgehead renderas=sect3Additional Downloads 
(Recommended)/bridgehead
+itemizedlist spacing=compact
   listitem
 para
-  Dictionaries Download MD5 sum: libreoffice-dict-md5sum;
+  Dictionaries Download: ulink 
url=libreoffice-dict-download-http;/
 /para
   /listitem
   listitem
 para
-  Dictionaries Download size: libreoffice-dict-size;
+  Dictionaries Download MD5 sum: libreoffice-dict-md5sum;
 /para
   /listitem
   listitem
 para
-  Help Download (HTTP): ulink url=libreoffice-help-download-http;/
+  Dictionaries Download size: libreoffice-dict-size;
 /para
   /listitem
   listitem
 para
-  Help Download (FTP): ulink url=libreoffice-help-download-ftp;/
+  Help Download: ulink url=libreoffice-help-download-http;/
 /para
   /listitem
   listitem
@@ -117,32 +121,17 @@
   Help Download size: libreoffice-help-size;
 /para
   /listitem
-  listitem
-para
-  Estimated disk space required: libreoffice-buildsize;
-/para
-  /listitem
-  listitem
-para
-  Estimated build time: libreoffice-time;
-/para
-  /listitem
 /itemizedlist
 
 bridgehead renderas=sect3Additional Downloads (Optional)/bridgehead
 itemizedlist spacing=compact
   listitem
 para
-  Translations Download (HTTP): ulink 
url=libreoffice-translations-download-http;/
+  Translations Download: ulink 
url=libreoffice-translations-download-http;/
 /para
   /listitem
   listitem
 para
-  Translations Download (FTP): ulink 
url=libreoffice-translations-download-ftp;/
-/para
-  /listitem
-  listitem
-para
   Translations Download MD5 sum: libreoffice-translations-md5sum;
 /para
   /listitem
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] The changelog hates us

2013-03-03 Thread Rob Landley
On 03/01/2013 11:17:31 AM, Bruce Dubbs wrote:
 Armin K. wrote:
  http://www.linuxfromscratch.org/blfs/changelog-2012.txt
 
  Again 404 ...
 
 OK, It's back.  I'll try to investigate why.  It may have something to
 do with web site updates.  The directory was last changed Jan 25 so  
 it's
 been missing since then.
 
-- Bruce

I just tried that and got access denied.

Rob
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] The changelog hates us

2013-03-03 Thread Bruce Dubbs
Rob Landley wrote:
 On 03/01/2013 11:17:31 AM, Bruce Dubbs wrote:
 Armin K. wrote:
 http://www.linuxfromscratch.org/blfs/changelog-2012.txt

 Again 404 ...

 OK, It's back.  I'll try to investigate why.  It may have something to
 do with web site updates.  The directory was last changed Jan 25 so
 it's
 been missing since then.

 -- Bruce

 I just tried that and got access denied.

The  updates related to the server change are fairly complex and this 
keeps getting changed due to other factors.  I think I've got it fixed 
now so it will stay put.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page