diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/gkrellm-vaiobright | |
download | gentoo-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 'x11-plugins/gkrellm-vaiobright')
5 files changed, 108 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-vaiobright/Manifest b/x11-plugins/gkrellm-vaiobright/Manifest new file mode 100644 index 000000000000..32caff7a998a --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/Manifest @@ -0,0 +1 @@ +DIST vaiobright-2.5.tar.gz 6178 SHA256 de80a3d29d00a5230958e65488846bd959244a2b3be881883b349b9c9e20a0e4 diff --git a/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch new file mode 100644 index 000000000000..f2e4ac4c56e0 --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-fixinfo.patch @@ -0,0 +1,38 @@ +diff -ur vaiobright-2.5/readme vaiobright-2.5-infofix/readme +--- vaiobright-2.5/README 2004-03-20 13:58:13.000000000 -0500 ++++ vaiobright-2.5-infofix/README 2004-03-20 13:59:30.000000000 -0500 +@@ -28,6 +28,7 @@ + bright or max dark depending on the current value. + + Changelog: ++ Sat 20 Mar 2004 Fixed the "Info" tab (Billy Goto) + 2.5 Sun 20 Oct 2002 Removed need for external helper applications + entirely. SonyPI is now required, but no suid + or spicctrl binaries are needed. +diff -ur vaiobright-2.5/vaiobright.c vaiobright-2.5-infofix/vaiobright.c +--- vaiobright-2.5/vaiobright.c 2002-10-20 19:22:26.000000000 -0400 ++++ vaiobright-2.5-infofix/vaiobright.c 2004-03-20 12:55:38.000000000 -0500 +@@ -422,21 +422,9 @@ + (GtkSignalFunc) vaiobright_toggle_toggled, REVERSE_TOGGLE); + + /* Help tab */ +- frame = gtk_frame_new(NULL); +- gtk_container_border_width(GTK_CONTAINER(frame),3); +- scrolled = gtk_scrolled_window_new(NULL,NULL); +- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled), +- GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC); +- +- gtk_container_add(GTK_CONTAINER(frame),scrolled); +- label = gtk_label_new("Info"); +- gtk_notebook_append_page(GTK_NOTEBOOK(tabs),frame,label); +- +- text = gtk_text_view_new(); +- gtk_text_view_set_editable(GTK_TEXT_VIEW(text),FALSE); ++ vbox = gkrellm_gtk_framed_notebook_page(tabs,"Info"); ++ text = gkrellm_gtk_scrolled_text_view(vbox, NULL, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + vaiobright_create_help_text(text); +- gtk_container_add(GTK_CONTAINER(scrolled),text); +- + + /* About tab */ + plugin_about_text = g_strdup_printf( diff --git a/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch new file mode 100644 index 000000000000..4cdaa1dd4c8e --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/files/gkrellm-vaiobright-2.5-textrel.patch @@ -0,0 +1,38 @@ +--- vaiobright-2.5/Makefile.orig 2002-10-20 16:52:19.000000000 -0600 ++++ vaiobright-2.5/Makefile 2007-02-21 08:55:39.000000000 -0600 +@@ -1,10 +1,11 @@ + HOME = . + PREFIX = /usr +-CC = cc ++CC ?= cc + INCLUDE = -I./ -I${PREFIX}/include +-OPTS = -shared `pkg-config gtk+-2.0 --cflags` ++CFLAGS += -shared `pkg-config gtk+-2.0 --cflags` -fPIC ++LDFLAGS += -shared -fPIC + DEFINES = +-LIBS = `pkg-config gtk+-2.0 --cflags` ++LIBS = `pkg-config gtk+-2.0 --libs` + + GKVO = vaiobright.o + GKV = vaiobright.so +@@ -12,7 +13,7 @@ + all: $(GKV) + + $(GKV): $(GKVO) +- $(CC) $(OPTS) -o $(GKV) $(GKVO) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(GKV) $(GKVO) $(LIBS) + + install: + @-echo "Copy the plugin ($(GKV) to ~/.gkrellm2/plugins/$(GKV) and restart gkrellm." +@@ -22,9 +23,9 @@ + @-rm *.o *.so + + .c.so: $(DEPEND) +- $(CC) $(OPTS) $(INCLUDE) $(DEFINES) -fPIC -c $*.c -o $@ ++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -fPIC -c $*.c -o $@ + + .c.o: $(DEPEND) +- $(CC) $(OPTS) $(INCLUDE) $(DEFINES) -c $*.c -o $@ ++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -c $*.c -o $@ + + .SUFFIXES: .c .so .o diff --git a/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild b/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild new file mode 100644 index 000000000000..b49a2510263a --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/gkrellm-vaiobright-2.5-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit gkrellm-plugin + +IUSE="" + +MY_P=${P/gkrellm-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Superslim VAIO LCD Brightness Control Plugin for Gkrellm" +SRC_URI="http://nerv-un.net/~dragorn/code/${MY_P}.tar.gz" +HOMEPAGE="http://nerv-un.net/~dragorn/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="-* x86" + +PLUGIN_SO=vaiobright.so + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-textrel.patch \ + "${FILESDIR}"/${P}-fixinfo.patch +} diff --git a/x11-plugins/gkrellm-vaiobright/metadata.xml b/x11-plugins/gkrellm-vaiobright/metadata.xml new file mode 100644 index 000000000000..a03f5d8b381b --- /dev/null +++ b/x11-plugins/gkrellm-vaiobright/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-dock</herd> +</pkgmetadata> |