Gentoo Archives: gentoo-amd64

From: Jonathan Callen <jcallen@g.o>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: simulating apt-get on gentoo
Date: Tue, 19 Apr 2016 00:56:37
Message-Id: 57158238.9060304@gentoo.org
In Reply to: Re: [gentoo-amd64] simulating apt-get on gentoo by Mark Knecht
1 On 04/18/2016 08:49 AM, Mark Knecht wrote:
2 > On Mon, Apr 18, 2016 at 5:40 AM, Daiajo Tibdixious
3 > <daiajo@×××××.com> wrote:
4 >
5 >> A package I wish to download has these instructions:
6 >>
7 >> wget -O -
8 >> http://content.runescape.com/a=946/downloads/ubuntu/runescape.gpg.key
9 >>
10 >>
11 | apt-key add -
12 >> mkdir -p /etc/apt/sources.list.d echo "deb
13 >> http://content.runescape.com/a=946/downloads/ubuntu trusty
14 >> non-free" > /etc/apt/sources.list.d/runescape.list apt-get
15 >> update apt-get install -y runescape-launcher
16 >>
17 >> I have downloaded the apt sources and have been reading it.
18 >> However its fairly large & complex which will take me a while to
19 >> figure out. The gpg key was fairly easy, but I don't see how
20 >> apt-get uses it yet. I also don't see how apt gets the list of
21 >> files to download, since there is only a directory given. I can't
22 >> displayhttp://content.runescape.com/a=946/downloads/ubuntu in a
23 >> browser.
24 >>
25 >> Just wondering if anyone has anything helpful to shorten the
26 >> process of figuring it out. I'm planning to create a cut down
27 >> apt-get which just fetches the files, but don't have much time
28 >> most days.
29 >>
30 >>
31 > In my experience if you're running Gentoo you're better off staying
32 > in the Gentoo package framework and finding the app you want in a
33 > portage overlay:
34 >
35 > https://gpo.zugaina.org/games-rpg/unix-runescape-client
36 >
37
38 To approximate what the apt-get client actually does; first download
39 "http://content.runescape.com/a=946/downloads/ubuntu/trusty/Release"
40 (URL given + distversion + "/Release); note the MD5/SHA1/SHA256 checksums.
41
42 Download the 64-bit Packages file from
43 "http://content.runescape.com/a=946/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages",
44 this will give the name/version/dependencies for every package
45 distributed from that repo.
46
47 From that file, find the "Filename:" field, append that directly to
48 the URL they gave, so
49 "http://content.runescape.com/a=946/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.2_amd64.deb".
50
51 This file declares the following dependencies:
52
53 Ubuntu
54 Gentoo Equivalent
55 libsdl2-2.0-0 (>= 2.0.2+dfsg1-3ubuntu1.1)
56 >=media-libs/libsdl2-2.0.2
57 [This doesn't appear to actually be used by the executable]
58 libglew1.10 (>= 1.10.0-3)
59 >=media-libs/glew-1.10.0:0/1.10
60 [This doesn't appear to actually be used by the executable]
61 libc6 (>= 2.19-0ubuntu6.6)
62 >=sys-libs/glibc-2.19
63 libcurl3-gnutls (>= 7.35.0-1ubuntu2.5)
64 >=net-misc/curl-7.35.0
65 libstdc++6 (>= 4.8.4-2ubuntu1~14.04)
66 >=sys-devel/gcc-4.8.4[cxx]
67 libgcc1 (>= 1:4.9.1-0ubuntu1)
68 >=sys-devel/gcc-4.9.1
69 libvorbisenc2 (>= 1.3.2-1.3ubuntu1)
70 >=media-libs/libvorbis-1.3.2
71 [This doesn't appear to actually be used by the executable]
72 libwebkitgtk-1.0-0 (>= 2.4.8-1ubuntu1~ubuntu14.04.1)
73 >=net-libs/webkit-gtk-2.4.8:2 (I think)
74
75 The package also depends on the following shared libraries, not
76 exposed above:
77
78 dev-libs/glib:2
79 libglib-2.0.so.0
80 libgobject-2.0.so.0
81 media-libs/libpng:1.2
82 libpng12.so.0
83 x11-libs/libXxf86vm
84 libXxf86vm.so.1
85 x11-libs/gtk+:2
86 libgdk-x11-2.0.so.0
87 libgtk-x11-2.0.so.0
88 x11-libs/gdk-pixbuf:2
89 libgdk_pixbuf-2.0.so.0
90 x11-libs/libX11
91 libX11.so.6
92 x11-libs/cairo
93 libcairo.so.2
94 x11-libs/libSM
95 libSM.so.6
96 x11-libs/pango
97 libpango-1.0.so.0
98 libpangocairo-1.0.so.0
99
100 To extract the .deb, if you don't have dpkg installed, you can use `ar
101 x ./runescape-launcher_2.2.2_amd64.deb data.tar.xz` to get a tarball
102 named "data.tar.xz" that contains the actual binary package.
103
104 Note that the only thing that was really Gentoo-specific in the above
105 was the mapping of libraries to package names/slots/versions.
106 Everything else is "Generic Linux amd64" :).
107
108 --
109 Jonathan Callen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] Re: simulating apt-get on gentoo Daiajo Tibdixious <daiajo@×××××.com>
Re: [gentoo-amd64] Re: simulating apt-get on gentoo Daiajo Tibdixious <daiajo@×××××.com>