Bug 14070 - peazip-qt
Summary: peazip-qt
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 20:16 CEST by Georges Eckenschwiller
Modified: 2016-01-11 19:39 CET (History)
2 users (show)

See Also:
Source RPM: peazip
CVE:
Status comment:


Attachments

Description Georges Eckenschwiller 2014-09-08 20:16:17 CEST
Errors excepted in my part, peazip exist at present only in version gtk.

LXQt is at present in the course of introduction in cauldron.
This environment is very interesting because it is not suget in the imperfections gtk2 / gtk3.
The version qt of the archiveur peazip should be proposed to complete effectively this environment
Comment 1 Georges Eckenschwiller 2016-01-08 16:21:59 CET
I remove my request: ark done very well the affair and does not ask too much of requires

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 2 David Walser 2016-01-08 17:32:02 CET
Thanks for the request, sorry nobody looked at it.  This package is unmaintained.
You're correct that gtk+3.0 has been problematic for us and many upstream developers, so things that can be built with Qt should be.

I tried updating it and building it, but I don't understand lazarus and fpc and got an error I don't understand:
lcl.pas(10,3) Fatal: Can't find unit AllLCLIntfUnits used by LCL
TExternalToolList.Run Exception: /usr/lib/lazarus/lcl/interfaces/lcl.pas(10,3) Fatal: Can't find unit AllLCLIntfUnits used by LCL
ERROR: tool reported error

If anyone else wants to try working on this, you may find this helpful:
https://build.opensuse.org/package/view_file/home:ecsos/peazip/peazip.spec?expand=1

Here's my diff from current SVN of what I tried to build:
Index: SOURCES/sha1.lst
===================================================================
--- SOURCES/sha1.lst    (revision 920615)
+++ SOURCES/sha1.lst    (working copy)
@@ -1 +1 @@
-d08f8ef81f11b312edbf5c13160433145578bddc  peazip-5.1.1.src.zip
+365bfd0348edf2ae73f2c00196f1a0094c01411f  peazip-5.9.1.src.zip
Index: SPECS/peazip.spec
===================================================================
--- SPECS/peazip.spec   (revision 920615)
+++ SPECS/peazip.spec   (working copy)
@@ -2,16 +2,19 @@

 Summary:       File and archive manager
 Name:          peazip
-Version:       5.1.1
-Release:       %mkrel 5
+Version:       5.9.1
+Release:       %mkrel 1
 Source0:       http://download.sourceforge.net/%{name}/%{name}-%{version}.src.zip
 # configure to run in users home appdata
 Source1:       altconf.txt
 License:       LGPLv3
 Group:         File tools
-Url:           http://peazip.sourceforge.net/peazip-linux.html
-BuildRequires: lazarus >= 1.0.8
-BuildRequires: pkgconfig(gtk+-2.0)
+Url:           http://www.peazip.org/peazip-linux.html
+BuildRequires: dos2unix
+BuildRequires: lazarus >= 1.2.0
+BuildRequires: qt4pas-devel
+BuildRequires: qt4-devel
+BuildRequires: qtwebkit-devel
 BuildRequires: icoutils
 Requires:      p7zip
 Requires:      upx >= 3.09
@@ -24,9 +27,15 @@
 %prep
 %setup -q -n %{name}-%{version}.src
 chmod +w res/lang
+dos2unix readme*

 %build
-lazbuild -B project_peach.lpi project_pea.lpi project_gwrap.lpi
+lazbuild --lazarusdir=%{_libdir}/lazarus \
+%ifarch x86_64
+       --cpu=x86_64 \
+%endif
+       --widgetset=%{widgetset} \
+       -B project_peach.lpi project_pea.lpi project_gwrap.lpi

 %install
 mkdir -p %{buildroot}%{_bindir}

Resolution: WONTFIX => (none)
Status: RESOLVED => REOPENED

Comment 3 Marja Van Waes 2016-01-09 11:41:58 CET
(In reply to David Walser from comment #2)
> Thanks for the request, sorry nobody looked at it.  This package is
> unmaintained.
> You're correct that gtk+3.0 has been problematic for us and many upstream
> developers, so things that can be built with Qt should be.
> 
> I tried updating it and building it, but I don't understand lazarus and fpc
> and got an error I don't understand:
> lcl.pas(10,3) Fatal: Can't find unit AllLCLIntfUnits used by LCL
> TExternalToolList.Run Exception:
> /usr/lib/lazarus/lcl/interfaces/lcl.pas(10,3) Fatal: Can't find unit
> AllLCLIntfUnits used by LCL
> ERROR: tool reported error
> 
> If anyone else wants to try working on this, you may find this helpful:
> https://build.opensuse.org/package/view_file/home:ecsos/peazip/peazip.
> spec?expand=1
> 
> Here's my diff from current SVN of what I tried to build:
(etc.)

assigning to all packagers collectively

Source RPM: (none) => peazip
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 4 Florian Hubold 2016-01-10 14:56:52 CET
(In reply to David Walser from comment #2)
> I tried updating it and building it, but I don't understand lazarus and fpc
> and got an error I don't understand:
> lcl.pas(10,3) Fatal: Can't find unit AllLCLIntfUnits used by LCL
> TExternalToolList.Run Exception:
> /usr/lib/lazarus/lcl/interfaces/lcl.pas(10,3) Fatal: Can't find unit
> AllLCLIntfUnits used by LCL
> ERROR: tool reported error
> 
> If anyone else wants to try working on this, you may find this helpful:
> https://build.opensuse.org/package/view_file/home:ecsos/peazip/peazip.
> spec?expand=1

I think in your case %{widgetset} was not defined ;)

@David: What would be your proposal? To build peazip-qt instead of default GTK peazip? Or increase the complexity by trying to generate a GTK and a QT build as subpackages out of our current source package?

CC: (none) => doktor5000
Assignee: pkg-bugs => doktor5000
Hardware: i586 => All
Status: REOPENED => ASSIGNED

Comment 5 Florian Hubold 2016-01-10 23:02:30 CET
(In reply to Florian Hubold from comment #4)
> (In reply to David Walser from comment #2)

> @David: What would be your proposal? To build peazip-qt instead of default
> GTK peazip? Or increase the complexity by trying to generate a GTK and a QT
> build as subpackages out of our current source package?

FWIW, my local build works fine and produces both peazip-qt and peazip-gtk2 binaries, both currently contained in the normal peazip package. Shall I submit this to cauldron for testing?

Although there's no more peazip binary itself and I'm not sure this warrants the complexity of using alternatives ... WDYT?
Comment 6 David Walser 2016-01-11 19:39:44 CET
Yeah that was a whoops, I meant to change %{widgetset} (copy-pasted from OpenSuSE spec) to qt and forgot.  Change that and it works fine.  So, the whole point of this (from my standpoint) is to drop the GTK baggage, so no need to make it more complex.  Peazip will use Qt now.

Resolution: (none) => FIXED
Component: New RPM package request => RPM Packages
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.