From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-sound/quark/Manifest | 2 + media-sound/quark/files/quark-3.24-build.patch | 107 +++++++++++++++++++++++++ media-sound/quark/metadata.xml | 8 ++ media-sound/quark/quark-3.21.ebuild | 37 +++++++++ media-sound/quark/quark-3.24.ebuild | 66 +++++++++++++++ 5 files changed, 220 insertions(+) create mode 100644 media-sound/quark/Manifest create mode 100644 media-sound/quark/files/quark-3.24-build.patch create mode 100644 media-sound/quark/metadata.xml create mode 100644 media-sound/quark/quark-3.21.ebuild create mode 100644 media-sound/quark/quark-3.24.ebuild (limited to 'media-sound/quark') diff --git a/media-sound/quark/Manifest b/media-sound/quark/Manifest new file mode 100644 index 000000000000..7155a9b77582 --- /dev/null +++ b/media-sound/quark/Manifest @@ -0,0 +1,2 @@ +DIST quark-3.21.tar.gz 204423 SHA256 45b0b17c82f4c4ed58fc76548dba6ca3e766391c5e42ea5f207249056514ac6b +DIST quark-3.24.tar.gz 215417 SHA256 afac7b03082fd581412cf701187a21a4d6f6eea75c207b366f4b1dc939fff04c SHA512 a34a3160ab4cfe976cbabd6b2d94cc21ca263c069c53ad6244ed23674e17bf713dc759af998d4ae74720c91ba5e452e3996408d6ae11305bf581eb9a71876a01 WHIRLPOOL bb90b6087cc48ef7333332b77f183f222a9cc85260a972694f145ad28a0ae80e377d0533d8719bed8d087f2532b52859858755f6426c81d11fa5e46d6c7751da diff --git a/media-sound/quark/files/quark-3.24-build.patch b/media-sound/quark/files/quark-3.24-build.patch new file mode 100644 index 000000000000..479af4b11fac --- /dev/null +++ b/media-sound/quark/files/quark-3.24-build.patch @@ -0,0 +1,107 @@ +From: Julian Ospald +Date: Thu May 31 13:46:18 UTC 2012 +Subject: build system + +fix underlinking ( https://bugs.gentoo.org/show_bug.cgi?id=367859 ) +remove DEPRECATED flags ( https://bugs.gentoo.org/show_bug.cgi?id=387823 ) +fix permissions on schema files +make icondir modifiable + +--- configure.ac ++++ configure.ac +@@ -41,6 +41,10 @@ + AC_SUBST(GTHREAD_CFLAGS) + AC_SUBST(GTHREAD_LIBS) + ++PKG_CHECK_MODULES(X11, [x11]) ++AC_SUBST(X11_CFLAGS) ++AC_SUBST(X11_LIBS) ++ + AC_ARG_ENABLE(gconf, + [ --disable-gconf disable use of gconf (for embedded targets)], + [], [enable_gconf="yes"]) +@@ -64,6 +68,13 @@ + fi + AM_CONDITIONAL(USE_GCONF, test "$enable_gconf" = "yes") + ++AC_ARG_WITH([icondir], ++ [AC_HELP_STRING([--with-icondir=DIR], ++ [where icon gets installed to (default: datadir/pixmaps)])], ++ [icondir="$withval"], ++ [icondir="$datadir/pixmaps"]) ++AC_SUBST(icondir) ++ + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_FILES([ + Makefile +--- quark/Makefile.am ++++ quark/Makefile.am +@@ -1,7 +1,6 @@ + localedir=$(datadir)/locale + + AM_CPPFLAGS=$(GLIB_CFLAGS) $(GTHREAD_CFLAGS) $(GNOMEVFS_CFLAGS) $(GCONF_CFLAGS) $(XINE_CFLAGS) \ +- -DG_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED \ + -DLOCALEDIR=\"$(localedir)\" + + bin_PROGRAMS = quark +@@ -30,7 +29,7 @@ + gconftool-2 --makefile-install-rule $< + endif + $(INSTALL) -d $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) +- $(INSTALL) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) ++ $(INSTALL_DATA) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) + + uninstall-local: + $(RM) $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)/quark.schemas +--- strange-quark/Makefile.am ++++ strange-quark/Makefile.am +@@ -6,14 +6,13 @@ + $(GTK_CFLAGS) \ + $(GCONF_CFLAGS) \ + $(GDK_PIXBUF_CFLAGS) \ +- -DG_DISABLE_DEPRECATED \ + -DG_LOG_DOMAIN=\"strange-quark\" \ +- -DPIXMAPDIR=\"$(pixmapdir)\" \ ++ -DPIXMAPDIR=\"$(icondir)\" \ + -DLOCALEDIR=\"$(localedir)\" + + bin_PROGRAMS = strange-quark + +-strange_quark_LDADD = $(GTK_LIBS) $(GCONF_LIBS) ++strange_quark_LDADD = $(GTK_LIBS) $(GCONF_LIBS) $(X11_LIBS) + strange_quark_SOURCES = \ + gettext.h \ + main.c \ +@@ -43,7 +42,7 @@ + gconftool-2 --makefile-install-rule $< + endif + $(INSTALL) -d $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) +- $(INSTALL) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) ++ $(INSTALL_DATA) $< $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR) + + uninstall-local: + $(RM) $(DESTDIR)$(GCONF_SCHEMA_FILE_DIR)/strange-quark.schemas +--- pixmaps/Makefile.am ++++ pixmaps/Makefile.am +@@ -1,8 +1,5 @@ +-pixmapdir = $(datadir)/pixmaps +- +-pixmap_DATA = \ +- quark.png \ +- quark48.png ++icon_DATA = \ ++ quark.png + + EXTRA_DIST = \ + quark.png \ +--- strange-quark/quark.desktop ++++ strange-quark/quark.desktop +@@ -3,7 +3,7 @@ + Name=Quark Music Player + Comment=Play music from the system tray + Exec=strange-quark +-Icon=quark48.png ++Icon=quark.png + Terminal=false + Type=Application + Categories=Application;AudioVideo; diff --git a/media-sound/quark/metadata.xml b/media-sound/quark/metadata.xml new file mode 100644 index 000000000000..55d06d8daede --- /dev/null +++ b/media-sound/quark/metadata.xml @@ -0,0 +1,8 @@ + + + + sound + + Provides tray-icon and enables gconf support + + diff --git a/media-sound/quark/quark-3.21.ebuild b/media-sound/quark/quark-3.21.ebuild new file mode 100644 index 000000000000..b1c6b1006fc6 --- /dev/null +++ b/media-sound/quark/quark-3.21.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +GCONF_DEBUG=yes +inherit flag-o-matic gnome2 + +DESCRIPTION="Quark is the Anti-GUI Music Player with a cool Docklet!" +HOMEPAGE="http://hsgg.github.com/quark/" +SRC_URI="http://hsgg.github.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="media-libs/xine-lib + x11-libs/gtk+:2 + >=gnome-base/gconf-2 + gnome-base/gnome-vfs" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS README" + +src_prepare() { + sed -i \ + -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ + strange-quark/Makefile.{am,in} quark/Makefile.{am,in} || die #387823 +} + +src_configure() { + #367859 + append-libs X11 + gnome2_src_configure +} diff --git a/media-sound/quark/quark-3.24.ebuild b/media-sound/quark/quark-3.24.ebuild new file mode 100644 index 000000000000..e06ead59817a --- /dev/null +++ b/media-sound/quark/quark-3.24.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +# I don't want gnome2 eclass +inherit autotools eutils fdo-mime gnome2-utils + +DESCRIPTION="Quark is the Anti-GUI Music Player with a cool Docklet!" +HOMEPAGE="http://hsgg.github.com/quark/" +SRC_URI="http://hsgg.github.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="gnome" + +RDEPEND="dev-libs/glib:2 + gnome-base/gnome-vfs:2 + media-libs/xine-lib + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + gnome? ( gnome-base/gconf:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS README" + +src_prepare() { + # sandbox violations + gnome2_environment_reset + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" + + # fix underlinking wrt #367859 + # remove DEPRECATED flags wrt #387823 + epatch "${FILESDIR}"/${P}-build.patch + eautoreconf +} + +src_configure() { + # debug switch only provides cflags + econf \ + --disable-debug \ + --with-icondir=/usr/share/icons/hicolor/48x48/apps \ + $(use_enable gnome gconf) +} + +pkg_preinst() { + use gnome && gnome2_gconf_savelist + gnome2_icon_savelist +} + +pkg_postinst() { + if use gnome ; then + gnome2_gconf_install + gnome2_schemas_update + fi + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + use gnome && gnome2_schemas_update + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad