Sie sind nicht angemeldet.

[Frage] Q7z

1

25.11.2007, 10:33

Q7z

Hallo
Hat jemand ein ebuild für Q7z? (x86_64)
Ich habe nur das hier gefunden

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Q7Z: Installer: Arch
# Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>

pkgname=q7z
pkgver=0.6.3
pkgrel=1
pkgdesc="Q7Z is a P7Zip GUI for Linux, which attempts to simplify data compression and backup."
arch=('i686' 'x86_64')
url="http://k7z.sourceforge.net/7Z/Q7Z/"
license=('GPL')
groups=
provides=
depends=('python>=2.4' 'qt4>=4.3' 'pyqt4>=4.3' 'p7zip' 'tar' 'make')
makedepends=
conflicts=('k7z')
replaces=('k7z')
backup=
install=('Q7Z.install')
source=(http://prdownloads.sourceforge.net/k7z/Q7Z-${pkgver}.tar.bz2)
md5sums=('058646c54e899b21010e692edbea4e06')

build() {
	cd $startdir/src/Q7Z/Build
	make uninstall
	make clean
	make || return 1

	make DESTDIR=${startdir}/pkg/ install
}

2

25.11.2007, 12:46

Kommt das als ebuild hin?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-4.55.ebuild,v 1.5 2007/10/26 02:27:47 jer Exp $

inherit eutils toolchain-funcs multilib

DESCRIPTION=Q7Z is a P7Zip GUI for Linux, which attempts to simplify data compression and backup."
HOMEPAGE="http://k7z.sourceforge.net/7Z/Q7Z/"
SRC_URI="mirror://p7zip.sourceforge.net/${PN}_${PV}_src_all.tar.bz2"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#IUSE="static doc"

DEPEND="dev-lang/python>=2.4
        x11-libs/qt4>=4.3 
        dev-python/PyQt4>=4.3
        app-arch/p7zip
        app-arch/tar"

S=${WORKDIR}/${PN}_${PV}



src_compile() {
	cd $startdir/src/Q7Z/Build
	make uninstall
	make clean
	make || return 1

	make DESTDIR=${startdir}/pkg/ install
}

3

26.11.2007, 07:29

Sieht ganz gut aus.

Du kannst es doch einfach malö testen. Wenn es nichtr geht, wird sich Portage schon beschweren.

Viele Grüße

4

26.11.2007, 09:02

Wär mir jetzt neu, dass man in der compile Sektion ein uninstall und ein clean macht.
"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!"

Jabber: Die ID kann via PN erfragt werden.

5

26.11.2007, 18:17

cat INSTALL.txt

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Dependencies

        All:

                Required:
                        Python (2.4): http://www.python.org/
                        Qt4 (4.3): http://www.trolltech.com/products/qt
                        PyQt4 (4.3): http://www.riverbankcomputing.co.uk/pyqt/

        Linux:

                Required:
                        Tar (1.15): http://www.gnu.org/software/tar/
                        Make (3.80): http://www.gnu.org/software/make/
                        P7Zip (4.30): http://p7zip.sourceforge.net/

                Recommended:
                        CheckInstall (1.6): http://asic-linux.com.mx/~izto/checkinstall/ <- für gentoo nicht verfügbar
                        KeePassX (0.2.2): http://keepassx.sourceforge.net/

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Installation

        All:

                Clean:

                        "cd Build"
                        "make clean"

                Build:

                        "cd Build"
                        "make"

        Linux:

                Install:

                        For the current user only (recommended):
                        Before using Q7Z, you should add '$HOME/bin/' to the PATH variable in your ~/.bash_profile or equivalent, and then restart KDE.
                                "cd Build"
                                "make install-user"

Es hängt aus an der source URL. Aber das ist erst einmal unerheblich.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking Q7Z-0.6.3.tar.bz2?modtime=1195931533&big_mirror=0 ;-) ...     [ ok ]
>>> Unpacking source...
>>> Unpacking Q7Z-0.6.3.tar.bz2?modtime=1195931533&big_mirror=0 to /var/tmp/port
age/app-arch/Q7Z-0.6.3/work
unpack Q7Z-0.6.3.tar.bz2?modtime=1195931533&big_mirror=0: file format not recogn
ized. Ignoring.
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-arch/Q7Z-0.6.3 ...
/usr/local/overlays/local/app-arch/Q7Z/Q7Z-0.6.3.ebuild: line 29: cd: /src/Q7Z/B
uild: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um »uninstall« zu erstellen.  Schluss.
make: *** Keine Regel, um »clean« zu erstellen.  Schluss.
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schlus
s.
>>> Source compiled.
>>> Test phase [not enabled]: app-arch/Q7Z-0.6.3

>>> Install Q7Z-0.6.3 into /var/tmp/portage/app-arch/Q7Z-0.6.3/image/ category a                                                         pp-arch
>>> Completed installing Q7Z-0.6.3 into /var/tmp/portage/app-arch/Q7Z-0.6.3/imag                                                         e/

* checking 0 files for package collisions
>>> Merging app-arch/Q7Z-0.6.3 to /
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
>>> Original instance of package unmerged safely.
>>> app-arch/Q7Z-0.6.3 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Und wenn ich

Quellcode

1
#       make uninstall
, dann

Quellcode

1
2
3
4
5
6
>>> Compiling source in /var/tmp/portage/app-arch/Q7Z-0.6.3 ...
/usr/local/overlays/local/app-arch/Q7Z/Q7Z-0.6.3.ebuild: line 29: cd: /src/Q7Z/Build: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um »clean« zu erstellen.  Schluss.
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
>>> Source compiled.
>>> Test phase [not enabled]: app-arch/Q7Z-0.6.3

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »flammenflitzer« (26.11.2007, 18:21)


6

26.11.2007, 20:34

Das clean brauchst nicht, weils dir Portage ja immer neu entpackt.
Das Uninstall kann doch auch Portage übernehmen.
"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!"

Jabber: Die ID kann via PN erfragt werden.