On 07/10/2012 10:52 AM, Armin K. wrote:
> Hi there. There was some talk about splitting Xorg Packages into
> seperate ones. I went with Xorg Applications first. I did not make
> instructions for every package, since there are too many of them, and
> nearly all of them are required at runtime of Xorg Server, so it's
> dependency list would become big. Anyways, I took the way of generating
> the wget and md5sum lists manualy instead of putting them to server.
> These lists are generated using xml entities of each package.
>
> You can see how that looks here:
> http://linuxfromscratch.org/~krejzi/xorg/x/x7app.html
>
> Also, there is a patch for that at
> http://linuxfromscratch.org/~krejzi/xorg.patch.gz if desired.
>
> I won't commit anything if someone does not like that way.
>
> Drivers splitup is next on my TODO list.
>
> Comments?
LOL..too funny. I just looked at your diff. I didn't want the package
versions in general.ent either. We had almost identical idea of how to
go about it:
dj [ installing ]$ diff -au x7app.xml applications.xml
--- x7app.xml 2012-06-11 21:15:46.000000000 -0500
+++ applications.xml 2012-06-26 00:21:21.000000000 -0500
@@ -4,28 +4,102 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!ENTITY x7apps-download-http
"http://xorg.freedesktop.org/releases/individual/app/">
- <!ENTITY x7apps-download-ftp "ftp://ftp.x.org/pub/individual/app/">
- <!ENTITY x7apps-wget
"&files-anduin;/xorg/app-&xorg7-release;.wget">
- <!ENTITY x7apps-md5sum
"&files-anduin;/xorg/app-&xorg7-release;.md5">
- <!ENTITY x7apps-size "4.8 MB">
- <!ENTITY x7apps-buildsize "39.2 MB">
- <!ENTITY x7apps-time "1.5 SBU">
+ <!ENTITY applications-download-http
"http://xorg.freedesktop.org/releases/individual/app/">
+ <!ENTITY applications-download-ftp "ftp://ftp.x.org/pub/individual/app/">
+ <!ENTITY applications-size "4.8 MB">
+ <!ENTITY applications-buildsize "39.2 MB">
+ <!ENTITY applications-time "1.5 SBU">
+
+ <!-- versions and md5sums -->
+ <!ENTITY bdftopcf-version "1.0.3">
+ <!ENTITY bdftopcf-md5sum "4a7a4a848c43c42f7d499b60666434a4">
+ <!ENTITY iceauth-version "1.0.5">
+ <!ENTITY iceauth-md5sum "08e3f6b523da8b0af179f22f339508b2">
+ <!ENTITY luit-version "1.1.1">
+ <!ENTITY luit-md5sum "c4a3664e08e5a47c120ff9263ee2f20c">
+ <!ENTITY mkfontdir-version "1.0.7">
+ <!ENTITY mkfontdir-md5sum "18c429148c96c2079edda922a2b67632">
...
+ <!ENTITY xwud-version "1.0.4">
+ <!ENTITY xwud-md5sum "3025b152b4f13fdffd0c46d0be587be6">
]>
-<sect1 id="xorg7-app" xreflabel="Xorg Applications">
- <?dbhtml filename="x7app.html"?>
+<sect1 id="x-applications" xreflabel="Xorg Applications">
+ <?dbhtml filename="x-applications.html"?>
...
+ <para>First, create the md5sums file.</para>
+
+<screen><userinput>cat > applications.md5 << "EOF"
+# Xorg-7.7-1 application package md5sums
+&bdftopcf-md5sum; bdftopcf-&bdftopcf-version;.tar.bz2
+&iceauth-md5sum; iceauth-&iceauth-version;.tar.bz2
...
+EOF</userinput></screen>
+
+ <para>Then download the needed files:</para>
+
+<screen><userinput>mkdir applications &&
+cd applications &&
+grep -v '^#' ../applications.md5 | sed 's@^[0-9a-z]\{32\} @@' | wget
-i- -c \
-B http://xorg.freedesktop.org/releases/individual/app/ &&
-md5sum -c ../app-&xorg7-release;.md5</userinput></screen>
+md5sum -c ../applications.md5</userinput></screen>
...
Adding the spacing like you did is much easier to look at, and just
ignore that sed...awk is better in this case.
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page