View previous topic :: View next topic |
Author |
Message |
GiorgioTani n00b
Joined: 04 Dec 2006 Posts: 56
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Jul 12, 2014 1:16 am Post subject: |
|
|
If anyone is curious: there's a binary-only, x86-only, license-encumbered ebuild for 5.2.2 in the "trash" overlay, which could probably be revbumped with little effort. Despite what the website's front page says, this does actually have a non-WINE native version, just that nobody seems to be able to get it to build... |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Sat Jul 12, 2014 7:50 am Post subject: |
|
|
GiorgioTani, Thanks for the heads-up. I like PeaZip and have an ebuild for the binary package in my local overlay. It was simple to install the latest version:
Code: | meshedgedx fitzcarraldo # cd /usr/local/portage/app-arch/peazip-bin/
meshedgedx peazip-bin # ls
Manifest peazip-bin-5.2.2.ebuild
meshedgedx peazip-bin # cp peazip-bin-5.2.2.ebuild peazip-bin-5.4.0.ebuild
meshedgedx peazip-bin # ebuild peazip-bin-5.4.0.ebuild manifest
>>> Downloading 'http://kaz.dl.sourceforge.net/peazip/peazip-5.4.0.LINUX.GTK2.tgz'
--2014-07-12 08:33:59-- http://kaz.dl.sourceforge.net/peazip/peazip-5.4.0.LINUX.GTK2.tgz
Resolving kaz.dl.sourceforge.net... 88.204.157.163
Connecting to kaz.dl.sourceforge.net|88.204.157.163|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/peazip/peazip-5.4.0.LINUX.GTK2.tgz?download&failedmirror=kaz.dl.sourceforge.net [following]
--2014-07-12 08:34:00-- http://downloads.sourceforge.net/peazip/peazip-5.4.0.LINUX.GTK2.tgz?download&failedmirror=kaz.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.GTK2.tgz?download=&failedmirror=kaz.dl.sourceforge.net [following]
--2014-07-12 08:34:01-- http://downloads.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.GTK2.tgz?download=&failedmirror=kaz.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://citylan.dl.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.GTK2.tgz [following]
--2014-07-12 08:34:01-- http://citylan.dl.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.GTK2.tgz
Resolving citylan.dl.sourceforge.net... 212.118.44.106, 2a03:1800:1:7::2
Connecting to citylan.dl.sourceforge.net|212.118.44.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10691275 (10M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/peazip-5.4.0.LINUX.GTK2.tgz’
100%[=========================================================================================================================================================================================================>] 10,691,275 2.08MB/s in 6.0s
2014-07-12 08:34:08 (1.69 MB/s) - ‘/usr/portage/distfiles/peazip-5.4.0.LINUX.GTK2.tgz’ saved [10691275/10691275]
>>> Downloading 'http://netcologne.dl.sourceforge.net/peazip/peazip-5.4.0.LINUX.Qt.tgz'
--2014-07-12 08:34:08-- http://netcologne.dl.sourceforge.net/peazip/peazip-5.4.0.LINUX.Qt.tgz
Resolving netcologne.dl.sourceforge.net... 78.35.24.46, 2001:4dd0:1234:6::5f
Connecting to netcologne.dl.sourceforge.net|78.35.24.46|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/peazip/peazip-5.4.0.LINUX.Qt.tgz?download&failedmirror=netcologne.dl.sourceforge.net [following]
--2014-07-12 08:34:09-- http://downloads.sourceforge.net/peazip/peazip-5.4.0.LINUX.Qt.tgz?download&failedmirror=netcologne.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.Qt.tgz?download=&failedmirror=netcologne.dl.sourceforge.net [following]
--2014-07-12 08:34:09-- http://downloads.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.Qt.tgz?download=&failedmirror=netcologne.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://kaz.dl.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.Qt.tgz [following]
--2014-07-12 08:34:10-- http://kaz.dl.sourceforge.net/project/peazip/5.4.0/peazip-5.4.0.LINUX.Qt.tgz
Resolving kaz.dl.sourceforge.net... 88.204.157.163
Connecting to kaz.dl.sourceforge.net|88.204.157.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11698436 (11M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/peazip-5.4.0.LINUX.Qt.tgz’
100%[=========================================================================================================================================================================================================>] 11,698,436 2.07MB/s in 7.1s
2014-07-12 08:34:17 (1.58 MB/s) - ‘/usr/portage/distfiles/peazip-5.4.0.LINUX.Qt.tgz’ saved [11698436/11698436]
>>> Creating Manifest for /usr/local/portage/app-arch/peazip-bin
meshedgedx peazip-bin # emerge peazip-bin
Calculating dependencies... done!
!!! The following installed packages are masked:
- virtual/jdk-1.8.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Tom Wijsman <TomWij@gentoo.org> (31 Mar 2014)
# Prevent users from switching JDK / JRE implementation.
#
# Unmask this if you want to upgrade or switch to Oracle JDK / JRE 1.8.
- virtual/jre-1.8.0::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-arch/peazip-bin-5.4.0::local_overlay
* peazip-5.4.0.LINUX.Qt.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking peazip-5.4.0.LINUX.Qt.tgz to /var/tmp/portage/app-arch/peazip-bin-5.4.0/work
>>> Source unpacked in /var/tmp/portage/app-arch/peazip-bin-5.4.0/work
>>> Preparing source in /var/tmp/portage/app-arch/peazip-bin-5.4.0/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/peazip-bin-5.4.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/peazip-bin-5.4.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-arch/peazip-bin-5.4.0
>>> Install peazip-bin-5.4.0 into /var/tmp/portage/app-arch/peazip-bin-5.4.0/image/ category app-arch
>>> Completed installing peazip-bin-5.4.0 into /var/tmp/portage/app-arch/peazip-bin-5.4.0/image/
>>> Installing (1 of 1) app-arch/peazip-bin-5.4.0
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
meshedgedx peazip-bin # |
Code: | meshedgedx peazip-bin # eix -I peazip
[I] app-arch/peazip-bin [1]
Available versions: (~)5.2.2^ms (~)5.4.0^ms {gnome gtk kde qt4}
Installed versions: 5.4.0^ms(08:37:19 12/07/14)(kde qt4 -gnome -gtk)
Homepage: http://www.peazip.org
Description: Open Source file and archive manager: flexible, portable, secure, and free as in freedom
[1] "local_overlay" /usr/local/portage
meshedgedx peazip-bin # |
Below is the ebuild for the binary package if anyone wants to merge it via a local overlay:
Code: | meshedgedx peazip-bin # cat peazip-bin-5.4.0.ebuild
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit eutils multilib
DESCRIPTION="Open Source file and archive manager: flexible, portable, secure, and free as in freedom"
HOMEPAGE="http://www.peazip.org"
MY_PN="peazip"
MY_P="${MY_PN}-${PV}"
SRC_URI="qt4? ( mirror://sourceforge/${MY_PN}/${MY_P}.LINUX.Qt.tgz )
gtk? ( mirror://sourceforge/${MY_PN}/${MY_P}.LINUX.GTK2.tgz )"
LICENSE="LGPL-3 GPL-2 unRAR LGPL-2.1 GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="kde gnome qt4 gtk"
RESTRICT="mirror strip"
S="${WORKDIR}"
REQUIRED_USE="^^ ( qt4 gtk )"
MY_GTK_RDEPEND="amd64? ( app-emulation/emul-linux-x86-gtklibs )
x86? ( x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/pango )"
MY_QT4_RDEPEND="amd64? ( app-emulation/emul-linux-x86-qtlibs )
x86? ( dev-qt/qtcore
dev-qt/qtgui )"
RDEPEND="qt4? ( ${MY_QT4_RDEPEND} )
gtk? ( ${MY_GTK_RDEPEND} )
amd64? (
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs )
x86? ( dev-libs/atk
media-libs/fontconfig
media-libs/freetype
net-misc/curl )"
DEPEND="${RDEPEND}"
QA_TEXTRELS="opt/PeaZip/res/7z/Codecs/Rar29.so
opt/PeaZip/res/7z/7z.so"
QA_EXECSTACK="opt/PeaZip/res/paq/paq8o
opt/PeaZip/res/pea
opt/PeaZip/res/pealauncher
opt/PeaZip/peazip"
src_install() {
cd "${ED}" || die
if use kde; then
mkdir -p usr/share/kde4 || die
cp -R "${S}"/usr/share/kde4/* usr/share/kde4 || die
fi
if use !gnome; then
rm -R "${S}"/usr/local/share/PeaZip/FreeDesktop_integration/nautilus-scripts \
|| die
fi
rm -R "${S}"/usr/local/share/PeaZip/FreeDesktop_integration/kde3-konqueror || die
rm -R "${S}"/usr/local/share/PeaZip/FreeDesktop_integration/kde4-dolphin || die
rm -R "${S}"/usr/share || die
mkdir -p usr/share/icons/hicolor/256x256/apps usr/share/pixmaps || die
mv "${S}"/usr/local/share/icons/peazip.png usr/share/icons/hicolor/256x256/apps || die
ln usr/share/icons/hicolor/256x256/apps/peazip.png usr/share/pixmaps/ || die
rm -R "${S}"/usr/local/share/icons || die
mkdir -p usr/share/applications || die
mv "${S}"/usr/local/share/applications/peazip.desktop usr/share/applications/ || die
rm -R "${S}"/usr/local/share/applications || die
mkdir -p opt || die
cp -R "${S}"/usr/local/share/* opt || die
find usr/share -type f -exec chmod a-x {} \;
find opt \( -name '*.txt' -o -name '*.cfg' -o -name '*.desktop' \
-o -name '*.ini' -o -name '*.groups' -o -name '*.readme' \
-o -name '*.bmp' -o -name '*.7z' \) \
-exec chmod a-x {} \;
mkdir -p usr/bin || die
ln -sf ../../opt/PeaZip/res/pea usr/bin/pea || die
ln -sf ../../opt/PeaZip/res/pealauncher usr/bin/pealauncher || die
ln -sf ../../opt/PeaZip/peazip usr/bin/peazip || die
if use qt4; then
# /opt/PeaZip/libQt4Pas.so.5
# unfortunately this app's helpers does not work
# if we make a wrapper with LD_LIBRARY_PATH
has_multilib_profile && ABI=x86
mkdir -p usr/"$(get_libdir)" || die
ln -s ../../opt/PeaZip/libQt4Pas.so usr/"$(get_libdir)"/libQt4Pas.so.5 || die
fi
}
pkg_postinst() {
if use gnome; then
einfo ""
elog "If you want Nautilus scripts, simply copy files from"
elog "${EROOT}opt/PeaZip/FreeDesktop_integration/nautilus-scripts"
elog "into ~/.gnome2/nautilus-scripts"
fi
} |
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|