summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libipod
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libipod')
-rw-r--r--media-libs/libipod/Manifest1
-rw-r--r--media-libs/libipod/files/libipod-0.1-prototypes.patch101
-rw-r--r--media-libs/libipod/libipod-0.1.ebuild27
-rw-r--r--media-libs/libipod/metadata.xml11
4 files changed, 140 insertions, 0 deletions
diff --git a/media-libs/libipod/Manifest b/media-libs/libipod/Manifest
new file mode 100644
index 000000000000..755f0d12c902
--- /dev/null
+++ b/media-libs/libipod/Manifest
@@ -0,0 +1 @@
+DIST libipod-0.1.tgz 396009 SHA256 5198703532b831bfc986fdb87f5d72263865dc47c1915fa6026f2c1479c5d1e8
diff --git a/media-libs/libipod/files/libipod-0.1-prototypes.patch b/media-libs/libipod/files/libipod-0.1-prototypes.patch
new file mode 100644
index 000000000000..dc6106894128
--- /dev/null
+++ b/media-libs/libipod/files/libipod-0.1-prototypes.patch
@@ -0,0 +1,101 @@
+--- libipod-0.1/src/ipod_atom_list.c
++++ libipod-0.1/src/ipod_atom_list.c
+@@ -23,6 +23,7 @@
+ #include <ipod/ipod_memory.h>
+ #include <ipod/ipod_constants.h>
+ #include "ipod_atom.h"
++#include <string.h>
+
+ static long ipod_atom_list_allocs;
+ static long ipod_atom_list_frees;
+--- libipod-0.1/src/ipod_atom_mhod.c
++++ libipod-0.1/src/ipod_atom_mhod.c
+@@ -30,6 +30,7 @@
+ #include "ipod_atom_mhlt.h"
+ #include "ipod_atom_mhit.h"
+ #include "ipod_private_constants.h"
++#include <string.h>
+
+ static void ipod_atom_init_mhod(uint32_t version,void *data)
+ {
+--- libipod-0.1/src/ipod.c
++++ libipod-0.1/src/ipod.c
+@@ -37,6 +37,7 @@
+ #include "ipod_atom_mhod.h"
+ #include "ipod_atom_mqed.h"
+ #include "ipod_atom_pqed.h"
++#include <string.h>
+ #include <sys/stat.h>
+ #include <sys/statfs.h>
+ #include <dirent.h>
+--- libipod-0.1/src/ipod_file_utils.c
++++ libipod-0.1/src/ipod_file_utils.c
+@@ -21,6 +21,8 @@
+
+ #include <ipod/ipod_file_utils.h>
+ #include <ipod/ipod_error.h>
++#include <ipod/ipod_memory.h>
++#include <string.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--- libipod-0.1/src/ipod_io_memory.c
++++ libipod-0.1/src/ipod_io_memory.c
+@@ -21,6 +21,7 @@
+
+ #include <ipod/ipod_io_memory.h>
+ #include <ipod/ipod_memory.h>
++#include <string.h>
+
+ #define MEMORY_CHUNK_SIZE 8192
+ #define IPOD_IO_MEMORY_MAGIC 0x05675309
+--- libipod-0.1/src/ipod_string.c
++++ libipod-0.1/src/ipod_string.c
+@@ -23,6 +23,7 @@
+ #include <ipod/ipod_memory.h>
+ #include <ipod/ipod_error.h>
+ #include <stdio.h>
++#include <string.h>
+
+ static unsigned long ipod_string_allocs;
+ static unsigned long ipod_string_frees;
+--- libipod-0.1/src/ipod_track_add.c
++++ libipod-0.1/src/ipod_track_add.c
+@@ -26,6 +26,7 @@
+ #include <ipod/ipod_constants.h>
+ #include <ipod/ipod_error.h>
+ #include <stdio.h>
++#include <string.h>
+
+ extern ipod_track_t ipod_track_from_m4a(ipod_t ipod,ipod_io io);
+ extern ipod_track_t ipod_track_from_mp3(ipod_t ipod,ipod_io io);
+--- libipod-0.1/examples/teststrings.c
++++ libipod-0.1/examples/teststrings.c
+@@ -6,6 +6,7 @@
+ #include <ipod/ipod_string.h>
+ #include <ipod/ipod_memory.h>
+ #include <stdio.h>
++#include <string.h>
+
+ void compare(const char *testDesc,const char *s1,const char *s2,size_t numBytes)
+ {
+--- libipod-0.1/src/ipod_track_from_mp3.c
++++ libipod-0.1/src/ipod_track_from_mp3.c
+@@ -25,6 +25,7 @@
+ #include <ipod/ipod_constants.h>
+ #include <ipod/ipod_string.h>
+ #include <ipod/ipod_error.h>
++#include <ipod/ipod_memory.h>
+ #include <stdio.h>
+
+ #define IPOD_MPEG_VERSION_1 3
+--- libipod-0.1/src/ipod_atom_mhyp.c
++++ libipod-0.1/src/ipod_atom_mhyp.c
+@@ -29,6 +29,7 @@
+ #include "ipod_atom_mhsd.h"
+ #include "ipod_atom_mhbd.h"
+ #include "ipod_atom_mhlt.h"
++#include "ipod_atom_mhit.h"
+ #include "ipod_private_constants.h"
+
+ static void ipod_atom_init_mhyp(uint32_t version,void *data)
diff --git a/media-libs/libipod/libipod-0.1.ebuild b/media-libs/libipod/libipod-0.1.ebuild
new file mode 100644
index 000000000000..5d615b86272f
--- /dev/null
+++ b/media-libs/libipod/libipod-0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="lightweight and fast library written in C for managing Apple iPods"
+HOMEPAGE="http://libipod.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libipod/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-prototypes.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/media-libs/libipod/metadata.xml b/media-libs/libipod/metadata.xml
new file mode 100644
index 000000000000..e2ffbc2cee66
--- /dev/null
+++ b/media-libs/libipod/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ <name>Default assignee for orphaned packages</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libipod</remote-id>
+ </upstream>
+</pkgmetadata>