Welcome, Guest. Please login or register.
April 23, 2014, 09:22:04 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  Wish list
| | |-+  Quimup
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Quimup  (Read 1219 times)
mpie
Pardus fellow craft
**
Posts: 133



View Profile
« on: January 16, 2011, 10:46:43 AM »

A QT client for mpd

Homepage http://mpd.wikia.com/wiki/Client:Quimup

Source http://sourceforge.net/projects/musicpd/files/Quimup/

a working psspec.xml

Code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>quimup</Name>
        <Homepage>http://sourceforge.net/projects/musicpd/files/Quimup/</Homepage>
        <Packager>
            <Name>mpiekp</Name>
            <Email>notfor@public.domain</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <Icon>quimup</Icon>
        <IsA>app:gui</IsA>
        <Summary>pure QT mpdclient</Summary>
<Description> Qt client for mpd, whitout the whistles and bells</Description>
        <Archive sha1sum="c70ab91685c26a3e4d8b08d153f2393d594efaa4" type="targz">http://sourceforge.net/projects/musicpd/files/Quimup/1.2.0/quimup_1.2.0_source.tar.gz/download</Archive>
        <BuildDependencies>
            <Dependency>qt-devel</Dependency>
    <Dependency>libmpdclient-devel</Dependency>
        </BuildDependencies>
           </Source>

    <Package>
        <Name>quimup</Name>
        <RuntimeDependencies>
            <Dependency>qt</Dependency>   
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/</Path>
    <Path fileType="docs">/usr/share/docs</Path>
           </Files>
   <AdditionalFiles>
      <AdditionalFile  target="/usr/share/applications/quimup.desktop">quimup.desktop</AdditionalFile>
    </AdditionalFiles>
      </Package>

    <History>
      <Update release="1">
            <Date>2011-01-15</Date>
            <Version>1.2</Version>
            <Comment>Initial package</Comment>
            <Name>mpiekp</Name>
            <Email>noone@example.com</Email>
        </Update>
    </History>
</PISI>
working actions.py
Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "quimup_1.2.0"
def setup():
    shelltools.system( "/usr/bin/qmake  quimup.pro")
def build():
    autotools.make()

def install():
  autotools.rawInstall()
  pisitools.insinto("/usr/bin", "quimup")
   
  for i in ("32","48","64"):
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" % (i,i), "Icons/quimup%s.png" % (i), "quimup.png")
       
  pisitools.dosym("/usr/share/icons/hicolor/64x64/apps/quimup.png", "/usr/share/pixmaps/quimup.png")
  pisitools.dodoc("changelog", "COPYING", "todo", "FAQ.txt")

Just create a desktop file in the files folder exe name is quimup and icon is quimup.png

enjoy Smiley
just needs tranlations
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: January 16, 2011, 17:50:29 PM »

 
If you agree and prefer...... I can test, build and add this to http://pakete.pardususer.de/pardus-2009
Logged
mpie
Pardus fellow craft
**
Posts: 133



View Profile
« Reply #2 on: January 16, 2011, 19:06:33 PM »

That would be good, I know its working on 2011rc2.

It was a nice challenge this on as there are few examples of using qmake in actions.py and the application has no automated install.

In the true spirit of linux it free to do what you wish with Smiley

for component.xml I just downloaded the multimedia.sound one from svn
the desktop file, I left out on purpose as if you cant create a desktop file you shouldn't use experimental packages  Roll Eyes

It is stable here and performs exactly as any other package or install that I have used for it.
« Last Edit: January 16, 2011, 19:16:12 PM by mpie » Logged
mpie
Pardus fellow craft
**
Posts: 133



View Profile
« Reply #3 on: January 16, 2011, 23:38:04 PM »

it may not work there depends on which version of mpd is available it requires version 0.16 or higher for all its features, also best it ran with mpd as user not system daemon
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #4 on: January 17, 2011, 14:29:53 PM »

Trying to builds this package, I get stuck at:
Quote
atolboo@asrock buildfiles $ LC_ALL=C sudo pisi bi pspec.xml
Password:
Outputting packages in the working directory.
Building PiSi source package: quimup
DEBUG: ComponentDB initialized in 0.00327491760254.
DEBUG: RepoDB initialized in 0.00116610527039.
DEBUG: InstallDB initialized in 0.00532579421997.
Safety switch: system.devel is already installed
Unsatisfied Build Dependencies: libmpdclient-devel
DEBUG: PackageDB initialized in 0.0393080711365.
*** 0 error(s), 0 warning(s)
Program terminated.
Build dependency libmpdclient-devel cannot be satisfied

Please use 'pisi help' for general help.
Where can I  this one?
Logged
mpie
Pardus fellow craft
**
Posts: 133



View Profile
« Reply #5 on: January 17, 2011, 15:22:58 PM »

it is in the man svn for 2011
Code:
mike@Corvidae ~ $ sudo pisi sr libmpdclient-devel
libmpdclient-devel - Development files for libmpdclient

try to build on 2009, from svn

http://packages.pardus.org.tr/info/2011/devel/source/libmpdclient.html
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #6 on: January 17, 2011, 21:27:59 PM »

I am now    with
Quote
atolboo@asrock buildfiles $ LC_ALL=C sudo pisi bi pspec.xml
.
** Building package libmpdclient
.
** Building package libmpdclient-devel
.
** Building package libmpdclient-docs
.
*** 0 error(s), 0 warning(s)
Program terminated.       
Mandatory token InstalledSize not available
autoxml.write: File encoding '/var/pisi/libmpdclient-2.3-3/metadata.xml' has errors 
and keep on
Logged
mpie
Pardus fellow craft
**
Posts: 133



View Profile
« Reply #7 on: January 17, 2011, 21:45:50 PM »

maybe manually download revision 2 from svn and try that one from a local directory, revision 3 is for 2011.
The error suggests a metadata error and that its trying to build three packages at once?
I'm a bit stumped what is the output of mpd --version.........(irrelevant)

okay try builing the three packages seperately
save a copy then edit psspec.xml to remove the other to <Package> sections to build libmpdclient
then edit again to just leave libmpdclient-devel

see if that works maybe earlier pisi couldn't build multiple packages from one file
« Last Edit: January 17, 2011, 21:59:52 PM by mpie » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!