Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Releasing U++ » Working on new release system...
Re: Working on new release system... [message #22475 is a reply to message #20365] Sat, 18 July 2009 01:06 Go to previous messageGo to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Hi luzr Smile

I'm working on 'upp.spec' to be able to build rpm.


What I've found:

- I can't use the default Makefile in root directory because it's for locale build only. Does things like copying theide into ~/ . So I use uppsrc/Makefile instead.

- I can't use the default uppsrc/Makefile without modifying a few variables (LIBPATH, CINC, ...) because of different 64 bit library paths and different include directory paths between Linux distributions. I fixed in the spec file using distribution default paths (I use pkg-config). No problemo.

- I can't automatically add svn version into the rpm spec file (svn can't do that as cvs could) and I don't know when a new release will be out. So to build the rpm you need to submit the package version number and current date like this:

# rpmbuild -tb --define 'version 1314' --define "date $(LC_TIME=En date '+%a %b %d %Y')" upp-x11-src-1314.tar.gz

(Note: this is an example. This won't work at present because upp-x11-src-1314.tar.gz doesn't include the new spec file)


I have just two issues remaining before committing:

1. No default icon for U++ ide. Can't find theide-48.png anymore in svn nor in upp-x11-src-1314.tar.gz.

2. Bad png name in theide.desktop since 2008.1. Should be theide and not theide.png. Here is the patch:


$ cat SOURCES/upp-src-2008.1.fix_png_name_in_desktop_file
diff -p -up ./uppsrc/ide/theide.desktop.fix_png_name_in_desktop_file ./uppsrc/ide/theide.desktop
--- ./uppsrc/ide/theide.desktop.fix_png_name_in_desktop_file 2008-07-28 23:02:06.000000000 +0200
+++ ./uppsrc/ide/theide.desktop 2008-08-17 19:26:10.000000000 +0200
@@ -5,7 +5,7 @@ GenericName=TheIDE
Comment=IDE for cross-platform C++ development
MimeType=application/x-upp
Exec=theide
-Icon=theide.png
+Icon=theide
Terminal=false
Type=Application
Categories=Application;Development;C++


Regards
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Regular releases reactivated
Next Topic: Releasing deb package issue
Goto Forum:
  


Current Time: Fri Jun 06 19:36:58 CEST 2025

Total time taken to generate the page: 0.04098 seconds