Gentoo Archives: gentoo-amd64

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

Replies

Subject Author
[gentoo-amd64] Re: simulating apt-get on gentoo Jonathan Callen <jcallen@g.o>