Initial release (closing #118115)
authorPrzemyslaw Maciag <troll@gentoo.org>
Sun, 12 Nov 2006 22:16:53 +0000 (22:16 +0000)
committerPrzemyslaw Maciag <troll@gentoo.org>
Sun, 12 Nov 2006 22:16:53 +0000 (22:16 +0000)
Package-Manager: portage-2.1.2_rc1-r6

x11-misc/ifpgui/ChangeLog [new file with mode: 0644]
x11-misc/ifpgui/Manifest [new file with mode: 0644]
x11-misc/ifpgui/files/digest-ifpgui-0.10.8 [new file with mode: 0644]
x11-misc/ifpgui/files/ifpgui-doxyfile_fixes.patch [new file with mode: 0644]
x11-misc/ifpgui/files/ifpgui-translation_files_directory.patch [new file with mode: 0644]
x11-misc/ifpgui/files/ifpgui-use_system_libifp.patch [new file with mode: 0644]
x11-misc/ifpgui/files/ifpgui.desktop [new file with mode: 0644]
x11-misc/ifpgui/files/ifpgui.png [new file with mode: 0644]
x11-misc/ifpgui/ifpgui-0.10.8.ebuild [new file with mode: 0644]
x11-misc/ifpgui/metadata.xml [new file with mode: 0644]

diff --git a/x11-misc/ifpgui/ChangeLog b/x11-misc/ifpgui/ChangeLog
new file mode 100644 (file)
index 0000000..72230aa
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for x11-misc/ifpgui
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/ifpgui/ChangeLog,v 1.1 2006/11/12 22:16:53 troll Exp $
+
+*ifpgui-0.10.8 (12 Nov 2006)
+
+  12 Nov 2006; Przemysław Maciąg <troll@gentoo.org> +files/ifpgui.desktop,
+  +files/ifpgui.png, +files/ifpgui-doxyfile_fixes.patch,
+  +files/ifpgui-translation_files_directory.patch,
+  +files/ifpgui-use_system_libifp.patch, +ifpgui-0.10.8.ebuild:
+  Initial import (closing #118115)
+
diff --git a/x11-misc/ifpgui/Manifest b/x11-misc/ifpgui/Manifest
new file mode 100644 (file)
index 0000000..2391520
--- /dev/null
@@ -0,0 +1,46 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ifpgui-doxyfile_fixes.patch 966 RMD160 e8db96f6df5c3cfdafaf911cdfbe9e5a2ffb5745 SHA1 f90da018bab8677133ac14cbf7804593b8a55267 SHA256 47d541281ca85b206b49dd40775692ab42caee251be54aa7e03a915950207a7c
+MD5 cae3b6fd2b1bf0b40ddb42088c5d4349 files/ifpgui-doxyfile_fixes.patch 966
+RMD160 e8db96f6df5c3cfdafaf911cdfbe9e5a2ffb5745 files/ifpgui-doxyfile_fixes.patch 966
+SHA256 47d541281ca85b206b49dd40775692ab42caee251be54aa7e03a915950207a7c files/ifpgui-doxyfile_fixes.patch 966
+AUX ifpgui-translation_files_directory.patch 556 RMD160 91f651f00e705357128af7867c80ea4a5b47a8b8 SHA1 55cdd0bb93dc103f7c1e35715d9d1b4280022abd SHA256 4d636cc2ab9c4597e3db7359d5549aace8939088c2ab517d67589d282cec700b
+MD5 85fc0dbfe7e66fb7e1c0fb46fa2ae881 files/ifpgui-translation_files_directory.patch 556
+RMD160 91f651f00e705357128af7867c80ea4a5b47a8b8 files/ifpgui-translation_files_directory.patch 556
+SHA256 4d636cc2ab9c4597e3db7359d5549aace8939088c2ab517d67589d282cec700b files/ifpgui-translation_files_directory.patch 556
+AUX ifpgui-use_system_libifp.patch 1145 RMD160 6f64f3c99adf16f8778fdca58d5f85b259e68394 SHA1 e8b4e6c4fdfdea37a7f90ef3a81ab7fa3be90d9c SHA256 808e478237ec9ef5811b0e0f84472e1078fe3fec6bdc8115c6110f307339f1c6
+MD5 66a14ba8de9f9674446f7c1fe1b434a4 files/ifpgui-use_system_libifp.patch 1145
+RMD160 6f64f3c99adf16f8778fdca58d5f85b259e68394 files/ifpgui-use_system_libifp.patch 1145
+SHA256 808e478237ec9ef5811b0e0f84472e1078fe3fec6bdc8115c6110f307339f1c6 files/ifpgui-use_system_libifp.patch 1145
+AUX ifpgui.desktop 379 RMD160 55ef6faaf0b150251ca372971605c65a83affd5d SHA1 9fb22ffa851928dbf0905eb1a6a0b0c15bf0c17c SHA256 35d2447b5370ad267beb01c042e1eb285458ccd50143ddaaabf450d9be211a5b
+MD5 ac74c1c8a5e49f0ef0778b18b92d54a6 files/ifpgui.desktop 379
+RMD160 55ef6faaf0b150251ca372971605c65a83affd5d files/ifpgui.desktop 379
+SHA256 35d2447b5370ad267beb01c042e1eb285458ccd50143ddaaabf450d9be211a5b files/ifpgui.desktop 379
+AUX ifpgui.png 17167 RMD160 0a1d9bfd8711840170ab6b146e6bfd829ee1a3b5 SHA1 90694abb34f653e54bf8739bcba4598034e7da2c SHA256 025b0374de7998c11a8048f46c474a7f960b3b642ded64ecbc50d83ad5641837
+MD5 d0bf5349c1e3fff4e34d5177d1409906 files/ifpgui.png 17167
+RMD160 0a1d9bfd8711840170ab6b146e6bfd829ee1a3b5 files/ifpgui.png 17167
+SHA256 025b0374de7998c11a8048f46c474a7f960b3b642ded64ecbc50d83ad5641837 files/ifpgui.png 17167
+DIST ifpgui-0.10.8.tar.gz 245486 RMD160 c2e99542c943e31bfdb4cf43fe6a38a943e89bfe SHA1 58af08fdb4db46f9ec41d5c0fb208b31bfe11c9d SHA256 6bba5d74d9db7f2769a3f10da5190d72491f02c98c88cff436f6f294c495402d
+EBUILD ifpgui-0.10.8.ebuild 2718 RMD160 7ffff01c03cac36a9938c5163fa4cc1c21412304 SHA1 ceef9b56a1186d52e6b2486aeb2647b3eeaeedce SHA256 43d6f5d3b537e643dac73e9b8a87973dd886a451cde94439d1bf2e3cb03ad911
+MD5 6194954c0a274d6f14255d91c9cf9166 ifpgui-0.10.8.ebuild 2718
+RMD160 7ffff01c03cac36a9938c5163fa4cc1c21412304 ifpgui-0.10.8.ebuild 2718
+SHA256 43d6f5d3b537e643dac73e9b8a87973dd886a451cde94439d1bf2e3cb03ad911 ifpgui-0.10.8.ebuild 2718
+MISC ChangeLog 517 RMD160 421fcb02fe02f11203cb387044c1dfcb8ba2ff8e SHA1 a65b69ff48226a2512e5341e7e74c5421102448d SHA256 f68b42f46fcf0aec8b559b0102cab9688aa594f7914c9b4af3a7ccbcb15c692f
+MD5 f746cd5ed2fb7f5f9d60a502b51f0673 ChangeLog 517
+RMD160 421fcb02fe02f11203cb387044c1dfcb8ba2ff8e ChangeLog 517
+SHA256 f68b42f46fcf0aec8b559b0102cab9688aa594f7914c9b4af3a7ccbcb15c692f ChangeLog 517
+MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826
+MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
+RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166
+SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata.xml 166
+MD5 1735e88b6c46164d648b441e8305ce53 files/digest-ifpgui-0.10.8 241
+RMD160 e4ca61a1ba27723916ed57be15792a08df2a4f9c files/digest-ifpgui-0.10.8 241
+SHA256 7c6e442b3ff639d66a301b89e2fc8a31a76b43fa1cfc983ce95c582b4576e88e files/digest-ifpgui-0.10.8 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFV5o4exDpKttj3ykRAmhkAJ9EcnBd8CmVNQTgSqMvuEjbzoWQRQCfUrg7
+FkBx1U1CJu/RsqjpJPS7BYU=
+=fo4I
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/ifpgui/files/digest-ifpgui-0.10.8 b/x11-misc/ifpgui/files/digest-ifpgui-0.10.8
new file mode 100644 (file)
index 0000000..c8d5e9b
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 98a0ee1e0b41d362ec411737887d767c ifpgui-0.10.8.tar.gz 245486
+RMD160 c2e99542c943e31bfdb4cf43fe6a38a943e89bfe ifpgui-0.10.8.tar.gz 245486
+SHA256 6bba5d74d9db7f2769a3f10da5190d72491f02c98c88cff436f6f294c495402d ifpgui-0.10.8.tar.gz 245486
diff --git a/x11-misc/ifpgui/files/ifpgui-doxyfile_fixes.patch b/x11-misc/ifpgui/files/ifpgui-doxyfile_fixes.patch
new file mode 100644 (file)
index 0000000..6f4a8f0
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Naur ifpgui-0.10.6-orig/Doxyfile ifpgui-0.10.6/Doxyfile
+--- ifpgui-0.10.6-orig/Doxyfile        2005-12-18 04:01:17.000000000 +0000
++++ ifpgui-0.10.6/Doxyfile     2006-01-05 21:42:06.000000000 +0000
+@@ -25,7 +25,7 @@
+ ALWAYS_DETAILED_SEC    = NO
+ INLINE_INHERITED_MEMB  = NO
+ FULL_PATH_NAMES        = NO
+-STRIP_FROM_PATH        = /home/family/Deveolpment/Kdev/ifp_gui/
++#STRIP_FROM_PATH        = /home/family/Deveolpment/Kdev/ifp_gui/
+ STRIP_FROM_INC_PATH    = 
+ SHORT_NAMES            = NO
+ JAVADOC_AUTOBRIEF      = NO
+@@ -80,7 +80,7 @@
+ #---------------------------------------------------------------------------
+ # configuration options related to the input files
+ #---------------------------------------------------------------------------
+-INPUT                  = /home/family/Deveolpment/Kdev/ifpgui
++#INPUT                  = /home/family/Deveolpment/Kdev/ifpgui
+ FILE_PATTERNS          = *.c \
+                          *.cc \
+                          *.cxx \
diff --git a/x11-misc/ifpgui/files/ifpgui-translation_files_directory.patch b/x11-misc/ifpgui/files/ifpgui-translation_files_directory.patch
new file mode 100644 (file)
index 0000000..ac21988
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nuar ifpgui-0.10.6-orig/src/main.cpp ifpgui-0.10.6/src/main.cpp
+--- ifpgui-0.10.6-orig/src/main.cpp    2005-12-12 01:18:55.000000000 +0000
++++ ifpgui-0.10.6/src/main.cpp 2006-01-05 22:34:41.000000000 +0000
+@@ -38,7 +38,7 @@
+    //fprintf(stderr, "locale = %s\n", codecLocale);
+    trans_file = QString( "ifpgui_" ) + codecLocale;
+-   ret = translator.load(trans_file , "./translations");
++   ret = translator.load(trans_file , "/usr/share/ifpgui/i18n");
+                                          //qInstallPathTranslations() );
+    if (!ret)
+       {
diff --git a/x11-misc/ifpgui/files/ifpgui-use_system_libifp.patch b/x11-misc/ifpgui/files/ifpgui-use_system_libifp.patch
new file mode 100644 (file)
index 0000000..8b14c57
--- /dev/null
@@ -0,0 +1,36 @@
+diff -Naur ifpgui-0.10.6-orig/src/src.pro ifpgui-0.10.6/src/src.pro
+--- ifpgui-0.10.6-orig/src/src.pro     2006-01-05 21:49:45.000000000 +0000
++++ ifpgui-0.10.6/src/src.pro  2006-01-05 21:51:43.000000000 +0000
+@@ -3,7 +3,7 @@
+ # Subdir relative project main directory: ./src
+ # Target is an application:  ../bin/ifpgui
+-LIBS += -lusb \
++LIBS += -lusb -lifp \
+         -L/usr/local/lib \
+         -L/usr/X11R6/lib 
+ QMAKE_LIBDIR = /usr/local/lib \
+@@ -47,9 +47,6 @@
+            createdirdlg.h \
+            settings.h \
+            gui_user.h \
+-           ifp.h \
+-           libifp/ifp_os.h \
+-           libifp/prim.h \
+            radiofreqdlg.h \
+            ifprecconv/adpcm.h \
+            ifprecconv/endian.h \
+@@ -67,13 +64,6 @@
+            createdirdlg.cpp \
+            settings.cpp \
+            gui_user.cpp \
+-           libifp/comp.c \
+-           libifp/error_strings.c \
+-           libifp/ifp_os_libusb.c \
+-           libifp/prim.c \
+-           libifp/readwrite.c \
+-           libifp/tuner.c \
+-           libifp/userfile.c \
+            radiofreqdlg.cpp \
+            ifprecconv/adpcm.c \
+            ifprecconv/ifprecconv.c \
diff --git a/x11-misc/ifpgui/files/ifpgui.desktop b/x11-misc/ifpgui/files/ifpgui.desktop
new file mode 100644 (file)
index 0000000..0cbc9b6
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=IfpGui
+GenericName=iRiver's iFP manager
+GenericName[pl]=Menedżer odtwarzaczy iFP iRiver
+Comment=Graphicsl user interface (GUI) for iRiver's iFP flash player
+Comment[pl]=Graficzny interfejs użytkownika (GUI) dla odtwarzaczy flash serii iFP iRiver
+Exec=ifpgui
+Type=Application
+Encoding=UTF-8
+Terminal=false
+Categories=Application;AudioVideo;
+Icon=ifpgui.png
diff --git a/x11-misc/ifpgui/files/ifpgui.png b/x11-misc/ifpgui/files/ifpgui.png
new file mode 100644 (file)
index 0000000..e5965c1
Binary files /dev/null and b/x11-misc/ifpgui/files/ifpgui.png differ
diff --git a/x11-misc/ifpgui/ifpgui-0.10.8.ebuild b/x11-misc/ifpgui/ifpgui-0.10.8.ebuild
new file mode 100644 (file)
index 0000000..8a92b0c
--- /dev/null
@@ -0,0 +1,113 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/ifpgui/ifpgui-0.10.8.ebuild,v 1.1 2006/11/12 22:16:53 troll Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="A Linux GUI for the iRiver iFP flash portable player based on QT"
+HOMEPAGE="http://ifpgui.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc"
+LANGS="da de ru"
+for x in ${LANGS}; do
+       IUSE="${IUSE} linguas_${x}"
+done
+
+RDEPEND=">=media-libs/libifp-1.0.0.2
+       $(qt_min_version 3.3)
+       >=dev-libs/libusb-0.1.7"
+DEPEND="${RDEPEND}
+       doc? ( >=app-doc/doxygen-1.3.7 )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # some Doxyfile improvements
+       if use doc; then
+               epatch ${FILESDIR}/${PN}-doxyfile_fixes.patch
+               sed -i -e '/PROJECT_NUMBER/ s/[0..9].*$/'${PV}'/' \
+                       -e '/OUTPUT/ s/\/home.*$/\.\/doc/' Doxyfile
+               mkdir doc
+       fi
+
+       # we want to use system libifp
+       rm -rf src/libifp src/ifp.h
+       epatch ${FILESDIR}/${PN}-use_system_libifp.patch
+
+       # change path to translation files
+       epatch ${FILESDIR}/${PN}-translation_files_directory.patch
+
+       # fixing locale
+       mv ${S}/src/translations/${PN}_da_DK.ts ${S}/src/translations/${PN}_da.ts
+}
+
+src_compile() {
+       cd ${S}/src
+       ${QTDIR}/bin/qmake src.pro \
+               QMAKE=${QTDIR}/bin/qmake \
+               QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+               QMAKE_RPATH= \
+               "CONFIG += no_fixpath release thread" \
+               || die "qmake src.pro failed"
+
+       cd ${S}
+       ${QTDIR}/bin/qmake ${PN}.pro \
+               QMAKE=${QTDIR}/bin/qmake \
+               QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+               QMAKE_RPATH= \
+               "CONFIG += no_fixpath release thread" \
+               || die "qmake ${PN}.pro failed"
+
+       emake || die "emake failed"
+
+       use doc && doxygen
+
+       # make translation files if there are any chosen
+       cd ${S}/src/translations
+       for i in ${LANGS}; do
+               use linguas_${i} && [ -f ${PN}_${i}.ts ] && ${QTDIR}/bin/lrelease ${PN}_${i}.ts
+       done;
+}
+
+src_install() {
+       dobin bin/${PN}
+
+       insinto /usr/share/${PN}
+       doins nonroot.sh
+
+       dodoc README CHANGELOG
+       if use doc; then
+               cp -ar doc/* ${D}/usr/share/doc/${PF}
+       fi;
+
+       # install translation files
+       cd ${S}/src/translations
+       insinto /usr/share/${PN}/i18n
+       for i in ${LANGS}; do
+               use linguas_${i} && [ -f ${PN}_${i}.qm ] && doins ${PN}_${i}.qm
+       done;
+
+       # desktop file and icon
+       domenu ${FILESDIR}/${PN}.desktop
+       doicon ${FILESDIR}/${PN}.png
+}
+
+pkg_postinst() {
+       echo
+       ewarn "If you want to use ifpgui without root-privileges, you can run"
+       ewarn "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+       ewarn "or manually use the script"
+       ewarn "/usr/share/${PN}/nonroot.sh"
+       ewarn "to add approprate rules to your hotplug scripts"
+       echo
+}
+
+pkg_config() {
+       ${ROOT}/usr/share/${PN}/nonroot.sh || die "config failed"
+}
diff --git a/x11-misc/ifpgui/metadata.xml b/x11-misc/ifpgui/metadata.xml
new file mode 100644 (file)
index 0000000..7312250
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>desktop-misc</herd>
+</pkgmetadata>