First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 5311
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Maik Schreiber <blizzy-keyword-gentoo_bugs2.a8a736@blizzy.de>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian V. J. Brüssow <cvjb@epost.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5311 depends on: Show dependency tree
Show dependency graph
Bug 5311 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-20 12:41 0000
Hello,

I have created an ebuild for cdlabelgen, it works for me (merge, unmerge).
cdlabelgen's Makefile needs to be patched, as there is no autoconf support in
the original sources. The patch follows the ebuild. Maybe you find it useful.
cdlabelgen is a cd cover, envelope, and tray card creator.

Bye,
Christian V. J. Br

------- Comment #1 From Christian V. J. Brüssow 2002-07-20 12:41:22 0000 -------
Hello,

I have created an ebuild for cdlabelgen, it works for me (merge, unmerge).
cdlabelgen's Makefile needs to be patched, as there is no autoconf support in
the original sources. The patch follows the ebuild. Maybe you find it useful.
cdlabelgen is a cd cover, envelope, and tray card creator.

Bye,
Christian V. J. Brüssow

P.S. I have also made an ebuild of gtkcdlabel, a GUI for cdlabelgen, if
cdlabelgen is of any value, I can submit the ebuild for gtkcdlabel, too.

*** EBUILD BEGIN ***
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A CD cover, tray card and envelope generator."
HOMEPAGE="http://www.aczone.com/tools/cdinsert"
SRC_URI="http://www.aczone.com/pub/tools/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

# Build-time dependencies: none, it is a perl script.
DEPEND=""

# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
RDEPEND=">=perl-5.6.1"

S=${WORKDIR}/${P}
src_unpack() {
	unpack ${A}
	cd ${S}

	# Apply the makefile patch, this is the only configuration
	# so far :-(
	patch -p0 < ${FILESDIR}/${P}-makefile-gentoo.patch
}

#src_compile() {
#
# Nothing to do for us here.
#}

src_install () {
	emake DESTDIR=${D} install || die
	mkdir -p ${D}/usr/share/doc/${P} || die
	dodoc README INSTALL INSTALL.WEB cdlabelgen-2.3.0.spec cdlabelgen.html
cdinsert.pl || die
}
*** END OF EBUILD ***

*** BEGIN OF PATCH ***
--- Makefile	2002-04-03 22:13:42.000000000 +0200
+++ Makefile.new	2002-07-17 19:16:52.000000000 +0200
@@ -8,9 +8,9 @@
 # Change these to locations you need, also
 # remember to edit cdlabelgen and its @where_is_the_template as needed.
 
-BASE_DIR   = /usr/local
+BASE_DIR   = $(DESTDIR)/usr
 BIN_DIR   = $(BASE_DIR)/bin
-LIB_DIR   = $(BASE_DIR)/lib/cdlabelgen
+LIB_DIR   = $(BASE_DIR)/share/cdlabelgen
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl
INSTALL.WEB cdlabelgen.html cdlabelgen$(VERSION).spec
 POSTSCRIPT = template.ps *.eps
 DISTFILES = $(SOURCES) $(POSTSCRIPT)
@@ -37,7 +37,7 @@
 	for file in $(POSTSCRIPT); do \
 
	$(INSTALL_FILE) postscript/$$file $(LIB_DIR)/; \
 	done
-
echo "** Done. Be sure to edit $(BIN_DIR)/cdlabelgen and fix
@where_is_the_template - if needed!"
+#
echo "** Done. Be sure to edit $(BIN_DIR)/cdlabelgen and fix
@where_is_the_template - if needed!"
 
 dist: all
 	rm -rf cdlabelgen$(VERSION)
*** END OF PATCH ***

------- Comment #2 From Maik Schreiber 2002-07-21 12:50:48 0000 -------
Committed as app-cdr/cdlabelgen. Thanks for submitting!

Of course you can submit your ebuild for gtkcdlabel, just file another bug report.

Also, please use the "Create a New Attachment" feature when submitting files
(like ebuilds). Thanks.

------- Comment #3 From Arcady Genkin (RETIRED) 2002-07-23 23:10:03 0000 -------
*** Bug 4887 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug