From kde-debian Fri Jan 23 18:28:56 2004 From: Kevin Krammer Date: Fri, 23 Jan 2004 18:28:56 +0000 To: kde-debian Subject: Re: apt protocol handler Message-Id: <200401231929.06943.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-debian&m=107488259709991 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0596393951==" --===============0596393951== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_yfWEAlqrQ9ksqX1"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-03=_yfWEAlqrQ9ksqX1 Content-Type: multipart/mixed; boundary="Boundary-01=_ofWEAJdKBGT0VA7" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline --Boundary-01=_ofWEAJdKBGT0VA7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: body text Content-Disposition: inline =46ollow up to myself :) On Tuesday 20 January 2004 20:27, Kevin Krammer wrote: > Based on the sugesstion of Christian Gatzemeier, I will have a look at the > file format autopackage uses for this, I think its some kind of XML. > However we could also, if it fits, use something simpler, similar to the > .desktop files autopackage uses a simple text file, so I based by draft on the .desktop fi= les=20 standard. The attached file is a draft of how a apt source description file for a=20 program could look like. It has, more or less, three parts 1) global information: the package(s) the file describes 2) package discriptions: details about the package(s), like dependencies 3) Source Names, comments and descriptions can be i18n as seen in .desktop files Mirrors can either be generic or region recommended. The example shows how to specify KDE package mirrors for Austria (AT). The installer can then use the user's language and country settings to make= a=20 sensible pre-selection. Debian base sources don't have to be specified explicitly. The general idea is, that the program creator can put that file on the=20 project's website, but the package can reside anywhere. If, for example, K3B becomes part of the standard KDE packages, just has to= be=20 slightly modified (remove 3rd party repository description, let Sources poi= nt=20 to KDE) > As always, any feedback appreciated :) Still applies! Cheers, Kevin =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User www.mrunix.de - Unix/Linux programming forum www.qtforum.org - Qt programming forum --Boundary-01=_ofWEAJdKBGT0VA7 Content-Type: text/plain; charset="iso-8859-1"; name="k3b.aptinfo" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="k3b.aptinfo" [APT Info] Packages=k3b; # all packages listed here will be listed for the user # this is usually only one but could list alternative versions # e.g. sdl-art;sdl-esd; # meaning SDL compiled for aRts, SDL compiled for ESD [APT Package k3b] Type=Application Name=K3B Comment=DVD/CD-burning program for KDE Comment[de]=DVD/CD-Brennprogramm f?r KDE Description=K3B is an application for creating and copying CD-R, CD-RW, DVD-R, DVD-RW media. Dependencies=kde;cdrtools; Sources=PlanetMoll; Homepage=http://k3b.sourceforge.net/ [APT Package kde] Type=Library Name=KDE base libraries Name[de]=KDE Basisbibliotheken Sources=KDE; [APT Package cdrtools] Type=Application Name=CD Writing tools Name[de]=Hilfsprogramme f?rs CD-Brennen Sources=backports; [APT Source PlanetMoll] Name=K3B Download Distribution=woody Section=main Transports=http; URL[http]=http://www.planet-moll.de/debian [APT Source KDE] Name=KDE download server Name[de]=KDE Hauptserver Distribution=stable Section=main Transports=ftp; URL[ftp]=ftp://ftp.kde.org/pub/kde/stable/latest/Debian/ #Mirrors= Mirrors[AT]=AT1;AT2 #Austrian mirrors. [APT Source backports] Name=Collection of backports from unstable for stable Name[de]=F?r stable erstellte Pakete aus unstable Distribution=stable Section=all Transports=http; URL[http]=http://www.backports.org/debian [APT Source KDE Mirror AT1] Name=KDE mirror Austria Name[de]=KDE Server ?sterreich Transports=http;ftp; URL[http]=http://download.at.kde.org/pub/kde/stable/latest/Debian/ URL[ftp]=ftp://download.at.kde.org/pub/kde/stable/latest/Debian/ [APT Source KDE Mirror AT2] Name=KDE mirror Technical University Vienna Name[de]=KDE Server TU Wien Transports=ftp; URL[ftp]=ftp://gd.tuwien.ac.at/kde/stable/latest/Debian/ --Boundary-01=_ofWEAJdKBGT0VA7-- --Boundary-03=_yfWEAlqrQ9ksqX1 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBAEWfynKMhG6pzZJIRAqjxAJ0YALgMR8Xd7ULpq0gmj6imQVc3uACdH4M7 Yoa0VDjRVyOhgcdrSNHmgQs= =8/Cv -----END PGP SIGNATURE----- --Boundary-03=_yfWEAlqrQ9ksqX1-- --===============0596393951== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-debian mailing list kde-debian@kde.org https://mail.kde.org/mailman/listinfo/kde-debian --===============0596393951==--