Initial pkgsrc entry for gtkpod

This commit is contained in:
smb 2005-10-01 13:29:52 +00:00
parent 3d71ff62e7
commit 1430affafb
8 changed files with 131 additions and 0 deletions

13
audio/gtkpod/DESCR Normal file
View file

@ -0,0 +1,13 @@
gtkpod allows you to
* Read your existing iTunesDB (i.e. import the existing contents of your iPod)
* Add mp3 files (single files, directories or existing playlists) to the iPod
You can choose the charset the ID3 tags are encoded in from within gtkpod
The default is the charset currently used by your locale setting
* When adding songs, gtkpod detects duplicates (option)
* Remove songs from the iPod
* Create and modify playlists
* Modify ID3 tags -- changes are also updated in the original file (option)
* Refresh ID3 tags from file
* Write the updated iTunesDB and added songs to your iPod
* Work offline and synchronize your new playlists / songs with the iPod
at a later time

6
audio/gtkpod/MESSAGE Normal file
View file

@ -0,0 +1,6 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
If you are mounting your iPod via USB, you probably need at least version
1.130 of usb_subr.c.
===========================================================================

32
audio/gtkpod/Makefile Normal file
View file

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
#
DISTNAME= gtkpod-0.94.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkpod/}
MAINTAINER= smb@netbsd.org
HOMEPAGE= http://gtkpod.sourceforge.net/
COMMENT= GUI for iPod using GTK2
BUILD_USES_MSGFMT= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
BUILDLINK_DEPENDS.gtk2+= gtk2+>=2.4.0
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

37
audio/gtkpod/PLIST Normal file
View file

@ -0,0 +1,37 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
bin/gtkpod
share/gtkpod/gtkpod.glade
share/gtkpod/gtkpod.gladep
share/gtkpod/pixmaps/gtkpod-add-dirs.png
share/gtkpod/pixmaps/gtkpod-add-files.png
share/gtkpod/pixmaps/gtkpod-add-playlists.png
share/gtkpod/pixmaps/gtkpod-icon-32.png
share/gtkpod/pixmaps/gtkpod-icon-32x32-2.png
share/gtkpod/pixmaps/gtkpod-icon-32x32.png
share/gtkpod/pixmaps/gtkpod-icon-48.png
share/gtkpod/pixmaps/gtkpod-icon-48x48.png
share/gtkpod/pixmaps/gtkpod-icon-64x64.png
share/gtkpod/pixmaps/gtkpod-logo.png
share/gtkpod/pixmaps/gtkpod-new-playlist.png
share/gtkpod/pixmaps/gtkpod-read.png
share/gtkpod/pixmaps/gtkpod-sync.png
share/gtkpod/pixmaps/gtkpod.glade
share/gtkpod/pixmaps/gtkpod.gladep
share/gtkpod/scripts/mab2vcard
share/gtkpod/scripts/sync-abook.sh
share/gtkpod/scripts/sync-evocalendar.sh
share/gtkpod/scripts/sync-evolution.sh
share/gtkpod/scripts/sync-kaddressbook.sh
share/gtkpod/scripts/sync-korganizer.sh
share/gtkpod/scripts/sync-notes.sh
share/gtkpod/scripts/sync-thunderbird.sh
share/gtkpod/scripts/sync-webcalendar.sh
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gtkpod.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gtkpod.mo
${PKGLOCALEDIR}/locale/he/LC_MESSAGES/gtkpod.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gtkpod.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gtkpod.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gtkpod.mo
@dirrm share/gtkpod/scripts
@dirrm share/gtkpod/pixmaps
@dirrm share/gtkpod

6
audio/gtkpod/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
SHA1 (gtkpod-0.94.0.tar.gz) = 5c6fcb70a90e4ee879e2b2a6fa54b81c57a0378d
SHA1 (patch-aa) = b1ffd2a81d5d012bacf069bfbcfb47323cfa0a2d
SHA1 (patch-ab) = 536611987d882d9c77c21f055bfa0b3299b6b980
SHA1 (patch-ac) = f1378c5c9154308ce521bf16edd68703f6784980

View file

@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
--- src/misc.c.orig 2005-07-15 10:39:37.000000000 -0400
+++ src/misc.c
@@ -347,6 +347,7 @@ GList *glist_duplicate (GList *list)
* does not check prefs to see if the current prefs want gtkpod itself to
* mount the ipod drive, that should be checked before making this call.
*/
+#include <sys/param.h>
#include <sys/mount.h>
#include <errno.h>
#include <stdio.h>

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
--- src/Makefile.am.orig 2005-09-17 18:19:42.000000000 -0400
+++ src/Makefile.am 2005-09-17 18:20:23.000000000 -0400
@@ -3,6 +3,7 @@
AM_CFLAGS = @PACKAGE_CFLAGS@
INCLUDES = @PACKAGE_CFLAGS@ \
+ -DHAVE_statvfs \
-DMOUNT_BIN=\""@MOUNT@\"" \
-DUMOUNT_BIN=\""@UMOUNT@\"" \
-DEJECT_BIN=\""@EJECT@\"" \

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1.1.1 2005/10/01 13:29:52 smb Exp $
--- src/info.c.orig 2005-09-17 18:18:15.000000000 -0400
+++ src/info.c 2005-09-17 18:18:47.000000000 -0400
@@ -687,7 +687,7 @@
{
for (;;)
{
- usleep (SPACE_TIMEOUT*1000);
+ (void) sleep (SPACE_TIMEOUT/1000);
if (!space_uptodate) th_space_update ();
}
}