summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Maciag <troll@gentoo.org>2006-11-12 22:16:53 +0000
committerPrzemyslaw Maciag <troll@gentoo.org>2006-11-12 22:16:53 +0000
commit1100f413bdad52ada157c18561b26f70a5fd6646 (patch)
treefeb523835670b9f4f97ba7fc8d7a9c5f7460c643 /x11-misc/ifpgui
parentWiped out old dev-dotnet/xsp version (diff)
downloadgentoo-2-1100f413bdad52ada157c18561b26f70a5fd6646.tar.gz
gentoo-2-1100f413bdad52ada157c18561b26f70a5fd6646.tar.bz2
gentoo-2-1100f413bdad52ada157c18561b26f70a5fd6646.zip
Initial release (closing #118115)
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'x11-misc/ifpgui')
-rw-r--r--x11-misc/ifpgui/ChangeLog12
-rw-r--r--x11-misc/ifpgui/Manifest36
-rw-r--r--x11-misc/ifpgui/files/digest-ifpgui-0.10.83
-rw-r--r--x11-misc/ifpgui/files/ifpgui-doxyfile_fixes.patch21
-rw-r--r--x11-misc/ifpgui/files/ifpgui-translation_files_directory.patch12
-rw-r--r--x11-misc/ifpgui/files/ifpgui-use_system_libifp.patch36
-rw-r--r--x11-misc/ifpgui/files/ifpgui.desktop12
-rw-r--r--x11-misc/ifpgui/files/ifpgui.pngbin0 -> 17167 bytes
-rw-r--r--x11-misc/ifpgui/ifpgui-0.10.8.ebuild113
-rw-r--r--x11-misc/ifpgui/metadata.xml5
10 files changed, 250 insertions, 0 deletions
diff --git a/x11-misc/ifpgui/ChangeLog b/x11-misc/ifpgui/ChangeLog
new file mode 100644
index 000000000000..72230aa109af
--- /dev/null
+++ b/x11-misc/ifpgui/ChangeLog
@@ -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
index 000000000000..186c8aef66a8
--- /dev/null
+++ b/x11-misc/ifpgui/Manifest
@@ -0,0 +1,36 @@
+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 2621 RMD160 dce8412b9a3fe368c77784da4f52feef283af810 SHA1 f5d6157007424429a1bf3ae816556e693d99330c SHA256 939900f2f15f4b9fdd4afc2adf09c9abaaaf756a108d27c8d1aebb0381f9e993
+MD5 306ce99fbc68c781132c2ea45920e1e6 ifpgui-0.10.8.ebuild 2621
+RMD160 dce8412b9a3fe368c77784da4f52feef283af810 ifpgui-0.10.8.ebuild 2621
+SHA256 939900f2f15f4b9fdd4afc2adf09c9abaaaf756a108d27c8d1aebb0381f9e993 ifpgui-0.10.8.ebuild 2621
+MISC ChangeLog 431 RMD160 b244a4d3325f7eef134bbd854cb4f569a8c93a4a SHA1 3d7b07f51aa32f5d425b9e2968ce5fb1a47c4d77 SHA256 c1c4298cfc9c41764d7a7271298f33965eae089dd529b020b51f4caf5a542b3a
+MD5 b0ab595a112753013dde5b3c053b5537 ChangeLog 431
+RMD160 b244a4d3325f7eef134bbd854cb4f569a8c93a4a ChangeLog 431
+SHA256 c1c4298cfc9c41764d7a7271298f33965eae089dd529b020b51f4caf5a542b3a ChangeLog 431
+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
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
index 000000000000..c8d5e9b26da8
--- /dev/null
+++ b/x11-misc/ifpgui/files/digest-ifpgui-0.10.8
@@ -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
index 000000000000..6f4a8f0a41aa
--- /dev/null
+++ b/x11-misc/ifpgui/files/ifpgui-doxyfile_fixes.patch
@@ -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
index 000000000000..ac219887f0a9
--- /dev/null
+++ b/x11-misc/ifpgui/files/ifpgui-translation_files_directory.patch
@@ -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
index 000000000000..8b14c57fd7e2
--- /dev/null
+++ b/x11-misc/ifpgui/files/ifpgui-use_system_libifp.patch
@@ -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
index 000000000000..0cbc9b669892
--- /dev/null
+++ b/x11-misc/ifpgui/files/ifpgui.desktop
@@ -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
index 000000000000..e5965c19e9be
--- /dev/null
+++ b/x11-misc/ifpgui/files/ifpgui.png
Binary files 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
index 000000000000..8a92b0c8e007
--- /dev/null
+++ b/x11-misc/ifpgui/ifpgui-0.10.8.ebuild
@@ -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
index 000000000000..731225048652
--- /dev/null
+++ b/x11-misc/ifpgui/metadata.xml
@@ -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>